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

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

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 - Serialization in Android?

Serialization in Android?

Put your problem here if it does not fit any of the other categories.

Serialization in Android?

Postby Nemat » Wed Sep 03, 2008 12:24 pm

Hi......

Could you plz provide a tutorial about Serialization of object in Android with an example....??

Thnx in advance
Nemat
Experienced Developer
Experienced Developer
 
Posts: 62
Joined: Thu Aug 21, 2008 3:16 pm
Location: Jaipur

Top

Postby plusminus » Wed Sep 10, 2008 6:24 pm

Hi,

why do you need Serialization?

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby cgreen » Mon Sep 15, 2008 9:25 am

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. OutputStream ostream = ARBITRARY TARGET
  2. ObjectOutputStream oos = new ObjectOutputStream(ostream);
  3. oos.writeObject(YOUR_OBJECT);
  4. oos.flush();
  5. oos.close();
Parsed in 0.012 seconds, using GeSHi 1.0.8.4


Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. InputStream istream = ARBITRARY SOURCE
  2. ObjectInputStream ins = new ObjectInputStream(istream);
  3. YOUR_OBJECT = ins.readObject();
  4. ins.close();
Parsed in 0.010 seconds, using GeSHi 1.0.8.4


thats an example, but...
why do you need Serialization?
localhost is the android emulator
User avatar
cgreen
Experienced Developer
Experienced Developer
 
Posts: 56
Joined: Wed Jul 16, 2008 10:16 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 8 guests