[android-developers] Loading Bitmaps in native heap

2011-06-08 Thread Erik R
I'm working on a simple image manipulation app that requires opening bitmaps at full resolution, which of course results in OutOfMemory issues. I know that the short answer is to simply use less memory via BitmapFactory's inSampleSize Option to downsample the bitmap, but for this app I really would

[android-developers] Re: Query regarding Intent.get & Extras.

2010-08-12 Thread Erik R
Snippets pulled from Android source: #1 - All the putExtra methods instantiate a new Bundle when the Intent receives its first extra, to contain all extras going into it. public Intent putExtra(String name, Bundle value) { if (mExtras == null) { mExtras = new Bundle(); } mExtr

[android-developers] Re: Android apps deployed from Eclipse don't take up full screen

2010-08-12 Thread Erik R
A screenshot will also help greatly if you can post one. It sounds like you might be creating a Dialog instead of an Activity. If you are creating an Activity, you may have somehow specified a non- fullscreen theme for it in the manifest XML. On Aug 10, 8:10 pm, "m...@daughtersoftiresias.org" wr

[android-developers] Re: Best way to populate ListView on runtime.

2010-08-12 Thread Erik R
On the line: lv = (ListView) findViewById(R.id.list); You are trying to get a handle on a ListView that does not exist in the XML that you are showing. On Aug 12, 1:34 pm, Warrior wrote: > can anyone tell me whats wrong or suggest the best way to populate a > ListView on runtime from one screen

[android-developers] Re: Pausing Live Wallpapers

2010-04-14 Thread Erik R
Thanks Romain, FYI the app in question relies heavily upon the gestures API that you developed. Nice work! I'd be willing to help out with documentation if help is needed in that area - it is a bit lacking at the moment, especially with regard to multiple-stroke gesture recognition. The workaround