I really cannot think of any other way to do it, short of copying the
contents of the cursor into some other object.

Requerying the database is not an option because these are not simple
SQLiteCursor instances.

Please feel free to suggest alternatives!

On May 9, 12:13 pm, Second Dancer <[email protected]> wrote:
> Check your logic, sharing a cursor between 2 activities is really necessary?
>
> 2010/5/9 westmeadboy <[email protected]>
>
>
>
>
>
> > Thanks but isn't that more for across processes rather than across
> > activities within a process?
>
> > On May 9, 7:17 am, Senthil ACS <[email protected]> wrote:
> > > I remember there is an interface named CrossProcessCursor that
> > > implements Cursor.
> > > Specify this interface in your aidl interface method.
>
> > > On May 8, 7:21 pm, westmeadboy <[email protected]> wrote:
>
> > > > In one activity I build a cursor which is used to populate a ListView.
>
> > > > I want a secondary activity to be able to step through the cursor
> > > > entries. What's the best way to do this (bearing in mind cursor
> > > > lifecycle).
>
> > > > I don't care if the the system kills and restarts the secondary
> > > > activity since in that case the stepping through entries functionality
> > > > could be temporarily automatically disabled.
>
> > > > --
> > > > 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]<android-developers%2Bunsubs
> > > >  [email protected]>
> > > > For more options, visit this group athttp://
> > groups.google.com/group/android-developers?hl=en
>
> > > --
> > > 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]<android-developers%2Bunsubs
> > >  [email protected]>
> > > For more options, visit this group athttp://
> > groups.google.com/group/android-developers?hl=en
>
> > --
> > 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]<android-developers%2Bunsubs 
> > [email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Regards
>
> --
> 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 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
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

Reply via email to