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 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

