ndiwaker / openmobster

Automatically exported from code.google.com/p/openmobster
0 stars 0 forks source link

Check if there is some limitation to the size of the MobileBean in Android #151

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Details found here: 
https://groups.google.com/forum/?fromgroups=#!topic/openmobster-users/IVTTeUPkUy
g

Original issue reported on code.google.com by openmobs...@gmail.com on 30 Sep 2012 at 8:06

GoogleCodeExporter commented 9 years ago
This issue is affected by the following explanation: 
http://developer.android.com/reference/android/os/TransactionTooLargeException.h
tml

In a nutshell, inter-process payloads need to be somewhere less than 1MB in 
size.

Although 99% of the Mobile Beans are safe in this limit, some content-oriented 
beans like the ones that capture camera images etc are affected by this size 
limit. There is no workaround as this is an Android OS related limitation.

This issue will go away in the 2.4-M1 release as this one will re-architect the 
Android SDK to not have a system wide CloudManager based system. In this 
version, the CloudManager functionality will be rolled into each App such that 
each App is fully functional without requiring a standalone CloudManager App to 
be installed.

To track the progress on this see this code branch: 
http://openmobster.googlecode.com/svn/branches/2.4-M1

Original comment by openmobs...@gmail.com on 1 Oct 2012 at 8:21

GoogleCodeExporter commented 9 years ago
Having run the CloudService inside the App uncovers another size limitation. 
When accessing large data (> 2MB) it seems that the database CursorWindow is 
not large enough to support that size in Android. So storing is fine, but 
accessing is not possible,

This will require a re-implementation of the Database CRUD Providers such that 
data larger than 2 MB are stored as a file on the file storage and a URI to 
this is stored in the database. For more details see:

http://stackoverflow.com/questions/11477847/android-database-memory-issue-msize-
1048576

Original comment by openmobs...@gmail.com on 10 Nov 2012 at 6:29

GoogleCodeExporter commented 9 years ago

Original comment by openmobs...@gmail.com on 3 Mar 2013 at 7:36

GoogleCodeExporter commented 9 years ago

Original comment by openmobs...@gmail.com on 3 Jun 2013 at 7:14