Re: [android-developers] Re: What to use prefrences or Databases

2010-04-12 Thread nubh bhargava
Hey where to write the prefrences in the create block removing the, public class MyOnItemSelectedListener implements OnItemSelectedListener because i mostly seen that while writing preferences to use and the problem is I have four spinners over this place I need to write the same code for four,

[android-developers] Re: What to use prefrences or Databases

2010-04-08 Thread NoImJosh
From what I gather you're trying to grab a value from the spinner and move it to another Activity (I assume within the same program?). If this is not something you need to do and retain a history of, I would suggest either just adding the data as an extra to the Intent for the Activity (Option 1)