My min is API 8, but for some lower end devices this will not work. On Tuesday, 30 October 2012 15:17:26 UTC, bob wrote: > > "If your app is done in API 11 or higher, in the < application /> in the > Android Manifest.xml, you can use *largeHeap=”true”* which will allow the > application to use more heap if it is available." > > > > On Tuesday, October 30, 2012 9:45:41 AM UTC-5, new_android_dev wrote: >> >> I've enabled hardware acceleration and tried to create a separate bitmap >> for each column. However I still get out of memory error's on some data. >> >> I'm not quite sure how to only draw a certain area given an entire >> ArrayList of data. >> >> On Tuesday, 30 October 2012 14:37:21 UTC, bob wrote: >>> >>> Enable hardware acceleration? >>> >>> >>> Use a separate bitmap for each digit? >>> >>> >>> When scrolling 10 pixels up, only redraw the 10 pixel high area that is >>> new. >>> >>> >>> >>> On Tuesday, October 30, 2012 8:37:01 AM UTC-5, new_android_dev wrote: >>>> >>>> Anyone got any suggestions? >>>> >>>> Thanks. >>>> >>>> On Thursday, 25 October 2012 21:09:56 UTC+1, new_android_dev wrote: >>>>> >>>>> I've been struggling on how to make a very large canvas display in an >>>>> app I'm making. >>>>> >>>>> Here a picture of what I'm trying to draw: >>>>> dl.dropbox.com/u/12945652/temp.PNG >>>>> >>>>> At the moment I've implemented it like this: >>>>> https://dl.dropbox.com/u/12945652/RowView.java >>>>> >>>>> But sticking everything and repeating calling ondraw is making >>>>> scrolling very slow. >>>>> >>>>> So I then tried to split the canvas into smaller bitmaps, like this: >>>>> https://dl.dropbox.com/u/12945652/temp2java.txt >>>>> >>>>> But now I'm getting out of memory errors when creating more than 10 >>>>> bitmaps and then putting them in an ArrayList. >>>>> >>>>> Could anyone help please, I'm totally out of ideas on how to implement >>>>> this. >>>>> >>>>> The second options works very well for smaller data and there is no >>>>> lag at all. >>>>> >>>>> [Note the x-axis variable can be as big as 30,000] >>>>> >>>>
-- 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

