Re: [android-developers] Re: help needed with project: preview image on a opengl texture

2009-12-14 Thread 李務誠
On Sat, Dec 12, 2009 at 6:28 AM, tdom...@googlemail.com < tdom...@googlemail.com> wrote: > couldn't fully test if it works. > but why do I have to call this method, what does it acutally do? > > I though it was needed if you want to directly let the camera draw on > an surface, like here: > > http

[android-developers] Re: help needed with project: preview image on a opengl texture

2009-12-11 Thread tdom...@googlemail.com
couldn't fully test if it works. but why do I have to call this method, what does it acutally do? I though it was needed if you want to directly let the camera draw on an surface, like here: http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/graphics/CameraPreview.htm

[android-developers] Re: help needed with project: preview image on a opengl texture

2009-12-11 Thread tdom...@googlemail.com
>You need to call setPreviewDisplay in surfaceChanged. ok thanks I will try that later. >And the app shouldn't call setPreviewSize with arbitrary numbers because not >every device support 240x160. Use getPreviewSize in 1.6 or use >getSupportedPreviewSizes in 2.0. yeah I was going to do so as soon

Re: [android-developers] Re: help needed with project: preview image on a opengl texture

2009-12-10 Thread Stephen @ gmail.com
sorry for the distraction. I'm definitely not familiar with this issue. On Thu, Dec 10, 2009 at 2:10 PM, tdom...@googlemail.com < tdom...@googlemail.com> wrote: > The build number is: DRC83 > I'm using an T-mobile G1. > > >Also, I'm wondering, is it sufficient to exit the application to restore

[android-developers] Re: help needed with project: preview image on a opengl texture

2009-12-10 Thread tdom...@googlemail.com
The build number is: DRC83 I'm using an T-mobile G1. >Also, I'm wondering, is it sufficient to exit the application to restore the >device's normal behavior? Exiting the application works fine. If I restart the application sometimes it will work sometimes not... On 10 Dez., 22:54, "Stephen @ gmai

Re: [android-developers] Re: help needed with project: preview image on a opengl texture

2009-12-10 Thread Stephen @ gmail.com
On the physical device, in settings->about phone-> build_number., there's a long description there that more precisely identifies the revision of software being used. In the first software revision for Droid, for example, it will say ESD20 in the midst of that long string. Also, I'm wondering

[android-developers] Re: help needed with project: preview image on a opengl texture

2009-12-10 Thread tdom...@googlemail.com
I'm using Android 1.6. where do I get the revision from? On 10 Dez., 22:00, "Stephen @ gmail.com" wrote: > Could you please answer the following? > > What's your platform? (Eclair/Droid/Donuts/Magic ... etc) > Also, what revision of the software (e.g. ESD20)? > > Thanks! > > On Thu, Dec 10, 2009