Deserialize object from resoureces (assets)

Quickly share your Android Code Snippets here...

Deserialize object from resoureces (assets)

Postby Solvek » Wed Apr 28, 2010 5:54 pm

I have defined few my classes.
I want to have instances of such classes defined in a resource file or in assets.

Actually such instances are static, I want to have a possibility to instantiate these my classes from resources (some xml deserialization is good)

What is the best approach to do this for Android platform?

(For now I can read such data from a resource file but in future user may link external files with instance defitions inside)
Posts: 6
Joined: Wed Dec 09, 2009 5:09 pm


Return to Code Snippets for Android

Who is online

Users browsing this forum: No registered users and 1 guest