Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Deserialize object from resoureces (assets)

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)
Solvek
Freshman
Freshman
 
Posts: 6
Joined: Wed Dec 09, 2009 5:09 pm

Top

Return to Code Snippets for Android

Who is online

Users browsing this forum: No registered users and 2 guests