[android-developers] Re: create mutable Bitmap directly from file/stream?

2011-01-18 Thread Hermes Pique
The same problem on StackOverflow: http://stackoverflow.com/questions/4726129/why-so-much-memory On Jan 9, 8:06 pm, Streets Of Boston flyingdutc...@gmail.com wrote: I doubt there is, Matthew. I've been looking for this answer a long time. But if someone knows how to do this, this would be

[android-developers] Re: Certain apps not being shown in Android Market?

2010-05-23 Thread Hermes Pique
I'm having the same problem. Some users are reporting that one of our apps doesn't show up the Android Market with Froyo. Best, H. On May 23, 1:37 pm, niko001 ebs...@googlemail.com wrote: Hi, some of my apps are not being shown in the market after updating to 2.2 (for no obvious reason,

[android-developers] Re: BitmapDrawable with unexpected size in Android 2.0.1 WVA854

2009-12-30 Thread Hermes Pique
values (320 x 213 in your case). On Dec 29, 2:49 am, Hermes Pique hermespi...@gmail.com wrote: I want to display a 480x320 JPEG file stored in the SD card in Android 2.0.1 with WVGA854 skin and 240 lcd density (Motorola Droid). However, when I create a BitmapDrawable through

[android-developers] BitmapDrawable with unexpected size in Android 2.0.1 WVA854

2009-12-28 Thread Hermes Pique
I want to display a 480x320 JPEG file stored in the SD card in Android 2.0.1 with WVGA854 skin and 240 lcd density (Motorola Droid). However, when I create a BitmapDrawable through Drawable.createFromPath (), the resulting BitmapDrawable has the following values: mBitmapWidth = 320 mBitmapHeight

[android-developers] PVMFErrResourceConfiguration error on preparing MediaPlayer

2009-12-18 Thread Hermes Pique
I have a very brief video that I would like to include as a raw resource in my app. The video plays correctly when loaded from the SD card in the ApiDemos MediaPlayerDemo_Video example. However, if I attempt to load it as a raw resource, I get the following error after calling MediaPlayer.prepare:

[android-developers] Re: How does Gallery's Send Intent Work?

2009-10-18 Thread Hermes Pique
According to http://android.git.kernel.org/?p=platform/packages/apps/Camera.git;a=blob;f=src/com/android/camera/MenuHelper.java: 579 Intent intent = new Intent(); 580 intent.setAction(Intent.ACTION_SEND); 581 String mimeType =

[android-developers] Re: Launching share option in menu

2009-10-18 Thread Hermes Pique
According to... http://android.git.kernel.org/?p=platform/packages/apps/Camera.git;a=blob;f=src/com/android/camera/MenuHelper.java Gallery does not use setDataAndType, and Facebook and Twitdroid seem to respond fine to it. Can it be something related to how the Uri is constructed of file

[android-developers] Handler posts and threads after onDestroy

2009-04-30 Thread Hermes Pique
Hi. My activity has a thread that performs a long-running operation and then notifies the UI thread via the activity handler. When the activity is destroyed (no matter why), I want the thread and its notification to die as quickly as possible. Based on the Handling Expensive Operations in the