Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

How to save data from spinner to SQLite?

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator




The setText doesn't seem to work (. I am kinda new-ish to java
 
Master Rancher
Posts: 571
9
Android Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Welcome to Ranch  
I would suggest you check the value of recipe.getMeal(), maybe it is empty?
 
Saloon Keeper
Posts: 6888
163
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Welcome to the Ranch.

What does "doesn't seem to work" mean? What are you expecting to happen, and what happens instead? What are all the values of the relevant variables? What does the spinner have to do with SQLite?

TellTheDetails
 
Tim Moores
Saloon Keeper
Posts: 6888
163
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Continued at https://coderanch.com/t/740927/mobile/save-data-spinner-SQLite
 
straws are for suckers. tiny ads are for attractive people.
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
    Bookmark Topic Watch Topic
  • New Topic