[android-developers] Bitmap on sdcard decodestream

2008-09-30 Thread Matteo Crippa
Easy i was playing with a little app i'm developing but i've just found a little problem... let's explain me it... I created a sdcard and inside it I placed some jpg files. So my data path is something like: /sdcard/app/img/1.jpg /sdcard/app/img/2.jpg /sdcard/app/img/3.jpg

[android-developers] Re: Bitmap on sdcard decodestream

2008-09-30 Thread Matteo Crippa
:17, Matteo Crippa [EMAIL PROTECTED] wrote: Easy i was playing with a little app i'm developing but i've just found a little problem... let's explain me it... I created a sdcard and inside it I placed some jpg files. So my data path is something like: /sdcard/app/img/1.jpg /sdcard

[android-developers] Re: Bitmap on sdcard decodestream

2008-09-30 Thread Matteo Crippa
Hi Mike, i've just tried adding these few lines inside my code to hard-debug it: Log.d(stream,+is.available()); Log.d(stream,is.toString()); Log.d(bstream,+bis.available()); Log.d(bstream,bis.toString()); if(is==null) Log.d(stream,is null); and debugger says me: 09-30 15:41:52.605:

[android-developers] Re: Bitmap on sdcard decodestream

2008-09-30 Thread Matteo Crippa
of the images and   your code snippet. That will make it much easier to diagnose. thanks, mike On Sep 30, 2008, at 9:25 AM, Matteo Crippa wrote: Hi sahn0 thanks for the tip, but it still fails with a NullPointerException... I tried looking at f.isFile() and it returns true... so file exists

[android-developers] Re: Bitmap on sdcard decodestream

2008-09-30 Thread Matteo Crippa
] wrote: I also use BitmapFactory.decodeStream on images on the sdcard, but I have no problem. Does your images work with the standard Pictures application ? On Sep 30, 4:29 pm, Matteo Crippa [EMAIL PROTECTED] wrote: Ok, bug filed, but I don't think it could be related to images, i've just

[android-developers] Re: Bitmap on sdcard decodestream

2008-09-30 Thread Matteo Crippa
is not. On Tue, Sep 30, 2008 at 2:17 AM, Matteo Crippa [EMAIL PROTECTED] wrote: Easy i was playing with a little app i'm developing but i've just found a little problem... let's explain me it... I created a sdcard and inside it I placed some jpg files. So my data path is something like

[android-developers] Re: How to add button to MediaController?

2008-09-24 Thread Matteo Crippa
MediaController seems to work only with VideoView atm. On 24 Set, 02:14, stef [EMAIL PROTECTED] wrote: Hi, been trying to modify the MediaController widget to add a few custom buttons. I have tried to subclass it and add buttons to the linearlayout before te rewind and after tge fast forward

[android-developers] Re: Emulator Skins for HTC Dream / T-Mobile G1

2008-09-24 Thread Matteo Crippa
nice work! thanks :) On 24 Set, 09:41, Olaf Encke [EMAIL PROTECTED] wrote: Hello Android fans and developers. I just finished building the first HTC Dream/T-Mobile G1 skins for the Android emulator and would like to share them with you. Right now I have done the black version of the phone

[android-developers] Re: Unable to create an URI for a local sound

2008-09-24 Thread Matteo Crippa
this with VideoView (because I'm managing to play a local video instead of a local sound) but it doesn't work :( It seems that both file:/// and android.resource aren't working fine with VideoView and Mplayer both atm. On 23 Set, 10:44, Matteo Crippa [EMAIL PROTECTED] wrote: I'm an Android novice

[android-developers] Re: Unable to create an URI for a local sound

2008-09-23 Thread Matteo Crippa
I'm an Android novice, but what do you think about this solution? MediaPlayer mNotify; mNotify = MediaPlayer.create(this, R.raw.beep); mNotify.start(); It should play your audio file without problems On 23 Set, 04:13, CG [EMAIL PROTECTED] wrote: Hey, I try to play a local sound in a

[android-developers] App versioning appstore

2008-09-23 Thread Matteo Crippa
Hi, I'm looking for information about Android app versioning, in particular with reference with the appstore system. In this very moment I'm planning to develop an app with some static contents (eg. music, background, video and pics), but within a couple of months it will be possible to upgrade

[android-developers] ViewVideo mp4 or 3gp (both local or net) problems

2008-09-22 Thread Matteo Crippa
Hi, I was trying to set up my app to play a video. I tried to load it form local and net both, but no way to get it working: I still receive a Cannot play video error. Basically I used the same src that we are able to find in sample dir. Here you are my media.xml ?xml version=1.0