Is this possible? I am trying to open a SQLite database cursor in one activity, and pass it to another activity.
+1
A:
I personally don't know of any simple ways to do this. It might be easier just to make the query again in the destination activity.
Tyler
2010-10-16 17:46:05
I ended up doing this. Would've been prettier to be able to pass the cursor though.
dfetter88
2010-10-18 02:27:13
A:
You should write your own Cursor which will implement Parcelable interface. In this case you can put your cursor to parcel and send it to another Activity through putExtra(). In target Activity you can explode (in fact just find it through handler) Cursor through one of Parcel methods (related to Binder).
barmaley
2010-10-18 07:25:30