Re: [android-developers] Speed up dalvikvm calls

2011-11-17 Thread Daniel Drozdzewski
On 16 November 2011 17:40, New Developer secur...@isscp.com wrote: Thanks Daniel Iam trying to call it every 5ms  But I would settle for as fast as possible. Um... I don't think you have a choice, unless you can settle for impossible. Why do you need 200fps? I have tried so somehow buffer,

Re: [android-developers] Speed up dalvikvm calls

2011-11-17 Thread New Developer
Thank you for your input I'm not needing 200fps, in fact the purpose is to go from 30fps on down to 5fps I'm trying to get a video player that will play at normal speed and then slow down to around 10x slower frames.incrementProgressBy(300-(playSpeed*30)); // 327-(playSpeed*30)); frames

Re: [android-developers] Speed up dalvikvm calls

2011-11-17 Thread Daniel Drozdzewski
On 17 November 2011 12:25, New Developer secur...@isscp.com wrote: Thank you for your input I'm not needing  200fps,  in fact the purpose is to go from 30fps on down to 5fps I'm trying to get a video player that will play at normal speed and then slow down to around 10x slower Have a look at

Re: [android-developers] Speed up dalvikvm calls

2011-11-17 Thread Daniel Drozdzewski
On 17 November 2011 14:05, Daniel Drozdzewski daniel.drozdzew...@gmail.com wrote: On 17 November 2011 12:25, New Developer secur...@isscp.com wrote: Thank you for your input I'm not needing  200fps,  in fact the purpose is to go from 30fps on down to 5fps I'm trying to get a video player that

Re: [android-developers] Speed up dalvikvm calls

2011-11-17 Thread New Developer
Actually Thanks I was wondering how to find that discussion, As If I can get media player working I would need the sine wave idea you introduced me to. Right now mediaplayer is playing (I hear audio) but the screen is black Thanks On 11/17/2011 09:09 AM, Daniel Drozdzewski wrote: On 17

Re: [android-developers] Speed up dalvikvm calls

2011-11-17 Thread New Developer
Again I'm stuck with the err -19 message Here I'm trying the media player My layout has FrameLayout android:layout_width=1020px android:layout_height=699px android:background=#00android:id=@+id/image SurfaceView android:layout_width=fill_parent

Re: [android-developers] Speed up dalvikvm calls

2011-11-17 Thread New Developer
To All I can remove the error message IF , I remove the android:hardwareAccelerated=true from the Manifest file But I need this for other aspects I still have an audio sound track and a blank picture any thoughts ? Thanks again On 11/17/2011 10:28 AM, New Developer wrote: Again I'm

[android-developers] Speed up dalvikvm calls

2011-11-16 Thread New Developer
Hi all, I have a runnable thread which is called every 5 ms mHandler.postDelayed(buffering, 5); Yet from the LogCat it is taking much longer. 11-16 10:32:14.110: D/dalvikvm(1945): GC_FOR_ALLOC freed 1801K, 16% free 23172K/27463K, paused 25ms 11-16 10:32:14.420: D/dalvikvm(1945):

Re: [android-developers] Speed up dalvikvm calls

2011-11-16 Thread Daniel Drozdzewski
On 16 November 2011 15:48, New Developer secur...@isscp.com wrote: Hi all, I have a runnable thread which is called  every  5 ms    mHandler.postDelayed(buffering, 5); Yet from the LogCat it is taking much longer. 11-16 10:32:14.110: D/dalvikvm(1945): GC_FOR_ALLOC freed 1801K, 16% free

Re: [android-developers] Speed up dalvikvm calls

2011-11-16 Thread Kristopher Micinski
Those are garbage collections, you can't just ask the vm to quit garbage collecting. This usually implies that you are doing something that takes a lot of memory (fire up the barcode scanner and turn on logcat). So basically, what type of app are you writing? Short answer: no. Longer answer:

Re: [android-developers] Speed up dalvikvm calls

2011-11-16 Thread New Developer
Thanks to all It is a video player I'm using the MediaMetadataRetriever so that I can load and if necessary stop and edit a bitmap I've tried (obviously unsuccessfully to read the bitmap and make it smaller (for the purpose of memory) the original video is 1280 x 720 I was trying to

Re: [android-developers] Speed up dalvikvm calls

2011-11-16 Thread Daniel Drozdzewski
On 16 November 2011 16:45, New Developer secur...@isscp.com wrote: Thanks to all It is a video player   I'm using the MediaMetadataRetriever  so that I can load and if necessary stop and edit a bitmap I've tried (obviously unsuccessfully to read the bitmap and make it smaller (for the

Re: [android-developers] Speed up dalvikvm calls

2011-11-16 Thread New Developer
Thanks Daniel Iam trying to call it every 5ms But I would settle for as fast as possible. I have tried so somehow buffer, thus trying to do all the I/O first and then just view but this has failed hopelessly I can only load 15 frames into memory and then get an OutOfMemory Do you by any