Why do this on the device - make it a web service and send the bits of data to the service where you have gobs of RAM and CPU to do the calculations.
Larry On Tue, Nov 13, 2012 at 9:46 AM, Brill Pappin <[email protected]> wrote: > Well your on a phone, so 40 megs might be unpleasant to deal with. > Can you use a DB and process the data into a DB table? > > - Brill Pappin > > > On Tuesday, 6 November 2012 09:13:16 UTC-5, Diddum wrote: >> >> Hi all, >> I'm trying to port an old c/c++ program of mine to the Java/Android world >> and I need a few general suggestions. >> >> My app has a static array (say 2Mbytes) which on >> start has to be preprocessed to build a working array >> of about 40Mbytes. >> >> The app has just two text field (one for input, one for output) >> and a start/stop button(s). >> >> The user enters something in the input field, press Start and >> the app perform an intensive computation on the large array >> and produces an output. >> >> If the computation takes too long, the user can press Stop >> and start again. >> >> Which is the best way to structure this kind of app in Java for Android? >> >> Should I use an Activity for data preprocessing and graphic interface and >> a Service for computation (to which I must pass a reference to the large >> data structure) ? >> >> I just need some general advice. >> (If this is not the right group for this kind of question, >> please suggest me where to ask.) >> Thanks, >> Giovanni >> > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

