Win a copy of Java Persistence with Spring Data and Hibernate this week in the Spring forum!
  • 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
  • Ron McLeod
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

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: 1071
27
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?
 
Bartender
Posts: 7488
171
  • 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.
 
Something about .... going for a swim. With this tiny ad ...
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic