'm not sure if this's the best approach... if u r using intents to transfer control between the activities then i'd advice u to try using the putExtra method of the Intent class... u can read the extras in ur target activity by using getIntent.getExtras() method... jus give it a try... i hope this helps u...
On Mon, Jun 22, 2009 at 6:52 PM, Christian S. <[email protected]> wrote: > > I have tried to understand for the past 2 days what is the best > approach to making the value from a variable sitting in activity A (in > my case, the int position used in OnListItemClick / > OnItemSelectedListener) available in another activity B (which of > course sits in another class). There may be the option to write the > result of the OnListItemClick int position into a small SQLite DB - > but that seems to be total overkill. > > Anybody could pls share the best approach with me? > > Thanks, Christian > > > -- Regards, Sujay P. J. O'Rourke<http://www.brainyquote.com/quotes/authors/p/p_j_orourke.html> - "If government were a product, selling it would be illegal." --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

