[android-developers] Re: need suggestion for large data structure + number crunch
Have you tried this:
android:largeHeap = "true"
On Tuesday, November 6, 2012 8:13:16 AM UTC-6, Diddum wrote:
Hi all,--I'm trying to port an old c/c++ program of mine to the Java/Android worldand I need a few general suggestions.My app has a static array (say 2Mbytes) which onstart has to be preprocessed to build a working arrayof 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 andthe app perform an intensive computation on the large arrayand produces an output.If the computation takes too long, the user can press Stopand 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 anda Service for computation (to which I must pass a reference to the largedata 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home