View Single Post
Old September 30th, 2009, 05:00 PM   #1 (permalink)
GabeRC
New Member
Thread Author (OP)
 
Join Date: Sep 2009
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Pass cursor to new activity

Hello everyone,

I'm working on an app, and one activity has a worker thread that initiates a database query, and if there are results once it has returned I would like to send these results to a new activity that will display them. Unfortunately I don't see a way to pack the Cursor object into the Intent object that I am using to start the new activity. When I was doing Windows Mobile development in the past all I would do is edit the constructor for the window to pass in the data, I've searched around but I can't find a similar solution for Android. What is the best way to pass my database results into the new activity?
GabeRC is offline  
Reply With Quote