I was told, that a Hello World app in android is a little tricky buisness. And it's true!
After setting up a decent system to test the app on an actual tablet, there was a black window (covering a part of the screen only) and a crash comming soon. No widgets displayed whatsoever. Some google stuff finaled in
a) you need to state, what API versions and screen sizes you need for your app. Not a word about it in any tutorial (or maybe I was not an attent enough reader)
b) the Activity name is a path to the Activity class inside the app package. Sadly, the Netbeasn IDE plugin got it wrong (a dot missing, meaning "the Activity class is in the current package"). Yet another showstopper...
Well, I got there and it's working now! Now, Android development starts to look like real fun, with how Google designed the Android things. The system is real smart, things make sense to common sense and it's just cool.
Now just to get to know the tons of widgets, get a grip on how to lay the out and I'll be good to go!
Oh, and a mindblower to say goodbye: who would have thought that ceil(x/y) would be any different from floor(x/y)+1? Anybody but me, apparently, but it cost me three hours' swearing...
No comments:
Post a Comment