Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Android Big data

 
anotida Maditsha
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am researching on data intensive mobile apps. The trick question i am having is how android manages large information? Let's say a query returns large information from a remote database. How android manages the data to the client considering limited storage on the phone.

All suggestions are welcome.

thank you
 
Les Morgan
Rancher
Posts: 710
17
C++ Java MySQL Database Netbeans IDE Oracle Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With limited storage, you have to make a couple choices:

if the data is to be durable, keep it all, then you just basically have to keep it all and too bad for pigging the space.

if you just need a viewport, then have a cache that you can scroll in, but don't make the cache very large because you have to hold the connection open for it.
 
anotida Maditsha
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you. And does android offers sets of API to handle data. For example the way the data is displayed on the screen? Or compressed?
 
Tim Moores
Bartender
Posts: 3134
50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While modern devices can store GB of data, it's probably not a good idea to to download, process or display that much data on the device. Better to do that on a server, and then download and display only those parts the user wants to see.

Note sure what you mean by "API to handle data" - that obviously depends on the kind if data in question. http://developer.android.com/guide/topics/data/index.html provides an overview of storage options on the device. The java.util.zip package is available for compression.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic