*> I have created list elements in spinner from strings.xml. * *> I store element in database using spinner1.getSelectedItem().**toString(); * This code doesn't show how you store the info in the database. It shows how you get the data to be stored in the database.
*> How to retrieve that element from database?* That depends on the structure of your database... What exactly is the code you are using for putting the values in the database. On Sat, Mar 5, 2011 at 9:53 AM, Brad Stintson <geek.bin...@gmail.com> wrote: > I have created list elements in spinner from strings.xml. > > I store element in database using spinner1.getSelectedItem().toString(); > > How to retrieve that element from database? > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en