Tek Eye Logo

Tek Eye

Android Example Projects

The lists of Android sample projects in this article illustrate various Android programming techniques. Scroll down or click on these topics for free Android example projects on:

The Android projects listed below cover a wide range of subjects. All the following projects were tested in the version of Android Studio available at the time. Studio is a free Integrated Development Environment (IDE) provided by Google for Android app development. (An IDE is a software environment used for writing software, in this case Android apps).

Mike Bugdroid the Android Logo

All these free Android example projects come with the source code in a zip archive for importing into Android Studio. A tutorial web page provides a lesson for each of the 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:

  1. Extract the zip file contents to the required location (preserving directory structure). Studio does not move the project.
  2. Run Android Studio and use the Import project option. Import is on the New option from the File menu, or on Studio's Welcome screen. (To get to the Welcome dialog close any open projects.)
  3. Select the project directory, or the top level build.gradle file in the project directory.
  4. Accept the sync Gradle message (if displayed) and wait for the IDE to finish configuring the project (look at the status bar at the bottom of Studio).
  5. When the Run icon (play button) on the toolbar goes green the example project is ready to use.

When opening projects in updated versions of Studio import errors can occur. See the article Opening Pre-Android Studio 3 Projects for tips on resolving errors caused by updates to Studio.

(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

Article Source Package
Your First Android Java Program HelloWorld.zip planned
Start a Second Android Activity secondscreen.zip planned
Android String Resources Gotchas stringsxml.zip planned
Android AsyncTask Class Helps Avoid ANRs slowprocess.zip planned
Different Ways to Code Android Event Listeners codinglisteners.zip planned
Testing Android's Activity Lifecycle lifecycletesting.zip planned
Saving Activity State in an App when it's Interrupted restorestate.zip planned
Use the ZXing Barcode Scanner in an Android App scanbarcode.zip planned
Animated Images in Android lights.zip lights.apk
Web Search Example In Android websearch.zip planned
Android Dice Roller Source Code android_dice_roller.zip Dice.apk
Email Contact Form Using ACTION_SEND send-email-example.zip planned
Changing the Font for Android TextViews fonts.zip planned
Understanding Screen Resolutions and Density density-test.zip planned
Android API Demos apidemos.zip planned
Android Bitmap Loading bitmap-loading.zip planned

List of Free Android Example List Handling Projects

Article Source Package
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

Article Source Package
Access Android View in Activity view-id.zip planned
Displaying a Bitmap in Android imageview-bitmap.zip planned
Add a Border to an Android Layout layoutborder.zip planned
No Tooltips for Android - Use Hint hintexample.zip planned
Limit EditText Input with Attributes and TextWatcher percentage.zip planned
Android Portrait and Landscape Screen Layout Example portrait-landscape.zip planned
ImageButton Graphics with Inkscape buttonpress.zip planned
Android 9 Patch Image Files for Buttons and Borders ninepatch.zip planned
About Box in Android App Using AlertBuilder aboutbox.zip planned
Swipe View Android Example for Screen Paging text_swiper.zip planned
How to Get View Size in Android view-size.zip planned
Load Values into an Android Spinner loading_spinner.zip planned
Changing Android Spinner Text Size with Styles styling_spinner.zip planned
Android Menu Vs Action Bar with Example Code menu-demo.zip planned
Context Menu Example for Android context-menu.zip planned
SeekBar Demo for Android seekbar-demo.zip planned
UI Update Demo for Android is-prime-app.zip planned
Pop-up Window Demo for Android android-pop-up.zip planned
Android Color Picker Tutorial color-picker.zip planned
HTML5 in Android App for WebView Display show-html.zip planned

See Also

Archived Comments

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:

  1. Install Android Studio – https://tekeye.uk/android/android-studio-windows-install
  2. If not using you own device setup an AVD – https://tekeye.uk/android/set-up-an-android-virtual-device-for-app-testing
  3. Run your first Hello World app – https://tekeye.uk/android/your-first-android-java-program
  4. Try the SDK sample apps – https://tekeye.uk/android/android-sdk-samples
  5. 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 gpbimal@yahoo.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:

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: https://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:  Published:  Updated:  

ShareSubmit to TwitterSubmit to FacebookSubmit to LinkedInSubmit to redditPrint Page

Do you have a question or comment about this article?

(Alternatively, use the email address at the bottom of the web page.)

 This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

markdown CMS Small Logo Icon ↓markdown↓ CMS is fast and simple. Build websites quickly and publish easily. For beginner to expert.


Articles on:

Android Programming and Android Practice Projects, HTML, VPS, Computing, IT, Computer History, ↓markdown↓ CMS, C# Programming, Using Windows for Programming


Free Android Projects and Samples:

Android Examples, Android List Examples, Android UI Examples



Tek Eye Published Projects