I am really new in the Android world. I would like to try to write a simple "Hello Android" program that runs on an Android simulator. I have tried to Google here and there for the last couple of days to find a simple article that will guide me step by step.
Are there that kind of sim开发者_运维百科ple articles on the net? URL?
- I am running Ubuntu 10.04
- I have downloaded the android SDK Tools 10 and many more packages.
- I have browsed the [android-beginners] list
- I have read the FAQ list
What next? Thank you for any clues / URLs.
PS (added):
Basically, I am confused because every time I follow a new page, it will start with something like "you need to do XYZZY first". Again, when I went to XYZZY page, it will have a yet another prerequisite. Anyway, I have no idea what "eclipse" is, but I am going to install it yet. OK, I will be back soon. Thanks for all replies.
I'm wondering why this didn't help you, but since it seems to have failed for you, let me guide you to:
- the official google android hello world
- moar good articles / examples / tutorial
Once you have installed the SDK, the Hello, World tutorial should be just what you are looking for ;-)
It'll guide you, with the following steps :
- Creating a Virtual Device for your tests
- Creation a new Android Project, with Eclipse
- Creating a first UI ; and using an XML Layout
- And it'll end with a few words on debugging.
If you move out of experimentation into actual development, then I'd recommend getting a real device as soon as possible - emulator performance is really bad.
Depending on your requirements, Android-x86 may be useful (although it seems more targeted at deploying Android to desktops than development for phones)
You can buy developer versions of phones through Android Market, once you've registered a seller account. These are network unlocked (can be good for testing if a messaging problem is network weirdness of a bug), and allow you to install custom images (mostly useful if you want to get into platform development).
精彩评论