Thursday, August 12, 2010

[android-developers] Getting Object from ContentProvider

Hello,
I have a custom class, which represents my data-structure. This custom
class is in a normal Java-library, which is included in both projects.
I have one Project with a ContentProvider which provides this data to
Activities of other Projects.
And an other Project with an Activity, where I want to handle this data
in objects of this custom class.

How can I get this data to the Activity? The Cursor [1] only supports
primitive Types.

[1] http://developer.android.com/reference/android/database/Cursor.html

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate