Android Example Projects
The lists of Android sample projects in the tables below illustrate various Android programming techniques. All the projects have been tested in Android Studio. Studio is a freely available Integrated Development Environment (IDE), a package used for writing software, in this case Android Apps.
All these Android example project tutorials come with the source code in a zip archive. These free Android samples are divided into general features, list handling (ListView) projects, and User Interface (UI) projects. The example source code is ready to run in Android Studio. Extract the sample App project and use Android Studio import. How? Here's a quick guide:
- Extract the zip file contents to the required location (preserving directory structure). Studio does not move the project.
- Run Studio and use the Import project option on the Welcome screen. (To get to the Welcome screen close any open projects.)
- Select the top level build.gradle file in the project directory.
- Accept the sync Gradle message and wait for the IDE to finish configuring the project.
- When the Run icon (play button) on the toolbar goes green the example project is ready to use.
(Import instructions also appear in each zip archive in the file instructions.txt.)
Free Projects to Illustrate Android Programming Techniques
This list of Android example projects will expand as other Android tutorials and code examples are added to the site. A full list of all the Tek Eye Android articles can be found in the Index. A few of the Android examples were contributed to the O'Reilly Android Cookbook. The following tables contain:
- A link to the tutorial article for each Android example project.
- A link to a zip file containing the source code for the example project that can be extracted and then imported into Studio.
- In the pipeline: A link to a compiled version of the example as a signed installable Android packages (.apk file). Ready for executing immediately on an Android device or emulator.
List of Free Android Example Projects
List of Free Android Example List Handling Projects
|Add a Simple List to an App||simplelist.zip||planned|
|Change ListView Text Color in Android||redlist.zip||planned|
|Two Line Lists in Android||two_line_listactivity.zip||planned|
|Multi Line ListView Entries in Android||multi-line.zip||planned|
|Read the Selection From a Multi Line ListView||read-multi-line.zip||planned|
List of Free Android Example UI Projects
- There are lots of free Android samples that come with the Android SDK, see the list in the article Android SDK Samples.
- View the Tek Eye full Index for other Android articles and other interesting technical articles.
Leo Stalin on January 9, 2013 at 10:56 am said: I am an Android programming beginner.
Tek Eye on January 9, 2013 at 4:45 pm in reply to Leo Stalin said:
- Install Android Studio – http://tekeye.uk/android/android-studio-windows-install
- If not using you own device setup an AVD – http://tekeye.uk/android/set-up-an-android-virtual-device-for-app-testing
- Run your first Hello World app – http://tekeye.uk/android/your-first-android-java-program
- Try the SDK sample apps – http://tekeye.uk/android/android-sdk-samples
- Run through the other tutorials - see the full list in the Index or follow some of the tutorials in order, see Android App Development Course
Arun kumar G on February 9, 2013 at 2:41 pm said: Hello Sir. This is very useful for me as I’m trying to get into the Android field. I need your help a lot sir. Definitely I’ll utilize you a lot. Thank you Sir.
Bimal on February 23, 2014 at 6:00 am said: Hi! I’m very new in android. I’m a VB developer. Now I need a simple project as follows. How can I get this project. I need source code with full comment. After reading the comment I can compile it my self. I use Android Studio. Thank you.
The project should have 5 editboxes, 1 combo and 1 command button. User will enter numbers in EditBox1. The length may be 16-18 numbers. Then user will select a item from combo. Combo should have 5 items. Then user will click on the button. In click event of the button, I want first 5 number need to go in EditBox2. Second 4 number need to go in EditBox3. Rest of the number need to go in EditBox4. In the last textbox number length may be 7,8 or 9. After breakdown of the string I want to find sum of all EditBoxes: Editbox1 + Editbox2 + EditBox3.
Then I want to subtract a number from the sum value. (Editbox1 + Editbox2 + EditBox3) – a number like 5560 or 6612 or 4258 etc. The subtraction number may be variable, because it depends on list item selected by user. Then I want the result in a Editbox5.
I need this project in email. My email is email@example.com. If it is payable I will pay for this.
Tek Eye on February 24, 2014 at 8:35 am in reply to Bimal said: If you are familiar with VB take a look at these alternative Android programming IDEs:
- B4A – https://www.b4x.com/b4a.html (Previously called Basic4Aandroid)
- NS Basic – https://www.nsbasic.com/
- Monkey X – http://www.monkey-x.com/
For a longer list of IDEs see List of IDEs for Android App Development.
Vladislav Bauer on August 10, 2014 at 11:56 am said: A lot of useful open source libraries, tools and projects could be found here: http://android-arsenal.com
Tek Eye on August 11, 2014 at 10:42 am in reply to Vladislav Bauer said: Thanks for the link, a good place for Android developers to browse for components and other useful items.
Arya on October 4, 2014 at 5:45 am said: Good one.
Sushmita Singh on October 1, 2015 at 10:00 am said: Hey I want an shopping site related mini project.
Asad on October 8, 2016 at 3:39 pm said: How to open zip files in android studio?
Tek Eye on October 10, 2016 at 7:26 am in reply to Asad said: Extract the files first. A good utility for zip files is 7-Zip. Instructions for Studio are at the top of this page.
Geethadevi on January 29, 2017 at 7:39 am said: Useful to illustrate the Android programming techniques.
Author:Daniel S. Fowler Published: Updated: