[android-porting] Re: Camera preview frame rate very low

2011-03-17 Thread David Grimfors
Yes. Froyo has the same problem with excessive garbage collection as Eclair, in default mode. Unlike Eclair, it is however easy to fix since the functions for manual buffers are available in Froyo. So, in short: Use addCallbackBuffer to queue up 2 buffers Set previewCallbackWithBuffer Start

[android-porting] Re: Regarding Camera Service

2010-07-27 Thread David Grimfors
in create API is got blocked please help me. thank you, Raghu On Jul 13, 11:38 pm, David Grimfors dgrimf...@gmail.com wrote: CameraService accepts only one client at a time. One of your processes will have to go through the other. Regards David On 13 Juli, 10:50, Raghu raghavendrars

[android-porting] Re: Regarding Camera Service

2010-07-13 Thread David Grimfors
CameraService accepts only one client at a time. One of your processes will have to go through the other. Regards David On 13 Juli, 10:50, Raghu raghavendrars...@gmail.com wrote: Hi, I am trying to access Camera Service from two different process (1 is java application process and other is

[android-porting] Re: How to change status bar position in android

2010-03-02 Thread David Grimfors
Sounds like they have used a relative layout for positioning. You would probably have to find out where the layout is declared and change it. On 1 mar, 16:25, devanshu devanshu.agra...@gmail.com wrote: Hi all, I want to change status bar position from top to bottom. Every time I tried by

[android-porting] Re: Intregrating 3rd Party libraries with Android Build System

2010-02-24 Thread David Grimfors
I think the suggested way to do this is by means of a vendor addon. There is an example addon in mydroid/vendor/sample that you can use as a starting point. Regards David On 24 Feb, 08:22, Prince pranjal.andr...@gmail.com wrote: Hi, I have my stack codebase in native language. I want to

[android-porting] Re: How to get raw video frames?

2010-02-18 Thread David Grimfors
No, it is not possible using official stable APIs. Issue 2794 is related to your question: http://code.google.com/p/android/issues/detail?id=2794 Best regards David On 17 Feb, 10:25, Vishal vishal.andr...@gmail.com wrote: Hello, I am trying to get the raw video frames from the camera. Is

[android-porting] How to draw an RGB image stored in a ByteBuffer

2010-02-15 Thread David Grimfors
Hi! I have a direct java.nio.ByteBuffer containing an RGB image in screen resolution (800x480). What is the fastest way to draw this image on screen? Preferably without copying the data to the java heap since my guess is it will be copied back to the native side when displaying it anyway. The