How to make an Android application that has an index and contents under that index?

Suhel April 14, 2012
Pinterest Stumbleupon Whatsapp

I want to make a little Android application (for personal use) that has a concept something like this.

It should just have a long index and when I tap on any topic, it should show me information about that thing.

I already know the basics Eclipse, ADT and stuff. Just need proper guideline. Blur Ideas would do, not really looking for step by step thing.

Ads by Google

  1. budgie
    April 25, 2012 at 4:11 am

    Sorry for my english.

    I think you must:
    1. Put all your information in database
    2. Create ListActivity
    3. Get information from database for ListAdapter
    4. Override OnListItemClick for show information about clicked topic
    4.1 You can start new activity or show popup dialog

    • Suhel
      April 26, 2012 at 6:43 pm

      wow thats great, I'll try it... :D

  2. Michael Drawe
    April 20, 2012 at 1:41 pm

    Just so I understand, are you wanting the index screen to stay visible when the user clicks an indexed item, or go to another screen that shows that indexed item and it's explanation?

    • Suhel
      April 20, 2012 at 1:53 pm

      Go to another page where it shows the information about the item and then a back button to return to the activity