Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Question on Android Development

  • 02-05-2011 5:44am
    #1
    Registered Users, Registered Users 2 Posts: 135 ✭✭


    Hi

    I've started programming for Android. But I've run into a problem I am making an app that has a list of items that when each item is selected it links to another list of items. I'm totally new to Java and cant find a tutorial or figure out how to read the data into a the list from a text file or database. I have all the code working just need to know how to link the list to the databases. Any help would be really appreciated.

    Thanks


Comments

  • Registered Users, Registered Users 2 Posts: 428 ✭✭Joneser


    I have done something similar to this in the past. What I did was create an activity that extends listactivity. Then you can read in the data from your text file line by line, adding each entry to a vector. Then it's just a matter of using that vector to populate a listview.


Advertisement