- Goto: File > Import...
- In the Import window, select Existing Projects into workspace, click Next.
- For the Select root directory option, click on the Browse button.
- Import ApiDemos in the sample folder.
- Click Finish and the ApiDemos package will appear in the Package Explorer.
Saturday, September 5, 2009
Android API Demos
Did you know that the Android SDK comes with a number of sample code? The SDK reference is very comprehensive, but it only documents the the various class individually. Examples are very useful in a learning process, it helps us to understand how concepts are translated to code, and how various components work together to accomplish a task. Unfortunately the SDK reference pages lack example.
Besides the whole copy of SDK reference, the SDK package also comes with a number of sample projects. It is located in the <sdk>/platforms/android-1.5/samples folder. Follow the steps to load the project in Eclipse IDE:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment