Packages for All Projects
The following links are to all projects discussed in this tutorial.
You may use and adapt these as you would like.
To open one of these
projects in Eclipse:
-
Right-click on the desired project link below
and save the corresponding .tar.gz file in your Android workspace.
-
gunzip and untar the file, which will give the directory containing the project (you can then delete the .tar file).
-
In Eclipse File > Import and then in the resulting window
General > Existing Projects into Workspace and click Next.
-
In the resulting window click Browse, navigate to the directory containing the project, select that directory, and click Finish.
The project should then appear in the left panel of Eclipse. In these archives the bin and gen directories may be missing (since they will be generated automatically by Eclipse anyway). Thus, once the new project is installed, if there are any red xs indicating errors you may need to force one or more clean builds to get everything compiled properly.
Primary Projects
- WebView Demo
- Click Tester
- LifeCycle Methods
- Animal Sounds
- Mapping Demo
- Map Overlay Demo
- Draggable Symbols I
- Draggable Symbols II
- Progress Bar Example
- Animator Demo I
- Animator Demo II
- Solar System
- Speak To Me
- Simple Dialer Application
- Accessing the File System
- Read Your Contacts
- Playing Video (for this one you must also
place a video resource file on the SD card of the phone or device; see the
project description).
- WebDataStreams I
- WebDataStreams II
- AppWidgets
Supplemental and Exercises
- WebViewDemo2
- AnimalSounds2
- SolarSystem 2
- SpeakToMe2
- WriteSDCardList