• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Android Big data

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 1093
29
Netbeans IDE Oracle MySQL Database Tomcat Server C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
If you believe you can tell me what to think, I believe I can tell you where to go. Go read this tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic