-
Notifications
You must be signed in to change notification settings - Fork 12
Getting Started: Android
You find everything you need to download and setup the Android SDK at the Android Developer Site. Select Develop
and then Tools
to find the Downloads.
You can choose to either use a Eclipse, integrate into an existing IDE or just use the command line tools. Pick whatever you prefer, but if you are unsure, go for Eclipse (the UI makes certain things easier).
Follow the instructions, and if you have any problems ask your friends, check the resources at the end of this page or contact Morgan or Emil.
Do not forget to create a virtual device (AVD). We find that simpler models (such as the Nexus S) perform better, so if you think the emulator is unacceptably slow, pick a simpler model. Also make sure to enable snapshots or just leave it running all the time when you are working. The emulator is slow to use, and slow to start, at least on my (Morgan) Macs.
You are now ready to create your first app! You can either follow along the lecture video, clone the morganericsson/AndroidExamples
repository, or follow the excellent guides under Training
at the Android Developer Site. Mix and match as you prefer. If you run into any problems, check with friends, check the resources at the end of this page, or contact Morgan or Emil.
When you are done messing around with the guides and supplied examples, it is a good idea to look at some of the features that we did not discuss during the lecture. You will need to understand how to work with database (SQLite) and connect to resources over a network connection (web sites, databases, etc.) for the project. You should also look at fragments
and intents
and how these can help you build more interesting apps.
Here are some resources that we (Morgan and Erik) find useful. Feel free to add anything you think should be on this list.
- Android Developer Site has everything you will ever need to complete the project (in terms of Android API at least)
- Vogella Tutorials provides examples and quite detailed tutorials.
- Stack Overflow is a great source when stuff breaks or fails. There are also many useful sites on the Stack Exchange Network that can help with user experience, Android, etc.
There are many video tutorials and web courses on Android development. I (Morgan) have no experience with any of these, but based on a quick look, Android Bootcamp 2012 looks good.