performance - Are there alternatives of Serialization in Android? -


i've came android java.
used there, successes, serialization mechanizm keep data in file (mainly avoid of using additional software mysql db). mark-up of input-output operations of serialization acceptable on pc (in particular case took 2 - 3 seconds).
in android, serialization of same bunch of data takes more time (especially under eclipse emulator terribly slow - yes know there genymotion).
there alternatives of ser/deser between file , aplication?
i've heard parcelable (but afaik should use rather transport data between applications).
maybe there else? code amount needed implement , difficulty has no matter. need speed.

the alternative serialization custom serialization :) can use json (with gson library), xml xmlserializer, etc. can use form orm (manual or ormlite, etc.) store data in database, has been suggested. should use depends on kind of data , how large trying serialize. btw, parcelable used ipc, it's not meant persistence.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -