On Tue, Oct 5, 2010 at 7:15 AM, mighter <[email protected]> wrote: > Hi, I'm trying to make an application that works with SQLite database. > My problem is how to transmit data from one Activity to another. For > example, when user selects field from listview(binded to table in DB), > I neen to start Activity, that shows particular data from another > table. I'm new to Android developing, but I think I am to use > Services, am I right?
Pass the key to the data via an Intent extra (on the Intent used with startActivity()), then load the data in the second activity. Whether you have database be managed by a service, a custom Application object, a ContentProvider, or you are just careful about having multiple activities using the database, is up to you. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.0.1 Available! -- 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

