Re: [android-developers] Video rotate function

2009-12-14 Thread Suchand Ghosh
Please use SurfaceHolder.SURFACE_TYPE_NORMAL instead of SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS in your code. Because SURFACE_TYPE_PUSH_BUFFERS creates a push surface, that is a surface that doesn't owns its buffers. With such a surface lockCanvas will fail. Cheers. :) Chand On Tue, Dec 8, 2009 at

Re: [android-developers] toast

2009-11-30 Thread Suchand Ghosh
Dear Greg Donald, There is problem with Toast cancel() function, t.cancel() will not cancel the inflight notification. Better option use t.hide() instead of t.cancel(). Cheers... BR, Suchand On Fri, Nov 27, 2009 at 11:23 PM, Greg Donald gdon...@gmail.com wrote: How

Re: [android-developers] Re: JNI Call Bridge

2009-11-30 Thread Suchand Ghosh
I think you r looking for: Mapping types The following table shows the mapping of types between Java and native code. Native Type Java Language Type Description Type signature unsigned char jboolean unsigned 8 bits Z signed char jbyte signed 8 bits B unsigned short jchar unsigned 16 bits C

Re: [android-developers] Video Player Sample pls

2009-11-30 Thread Suchand Ghosh
Please try as below. Use setDataSource(http:// your url) and prepareAsync(), as it's a streaming playback from server; private void openVideo() { if (mUri == null || mSurfaceHolder == null) { // not ready for playback just yet, will try again later return;

Re: [android-developers] toast

2009-11-30 Thread Suchand Ghosh
what code base you r using? there should be function to hide toast. Hide generally post a msg to mHandler to hide the Toast. On Tue, Dec 1, 2009 at 10:50 AM, Greg Donald gdon...@gmail.com wrote: On Mon, Nov 30, 2009 at 10:57 PM, Suchand Ghosh chand4andr...@gmail.com wrote: Dear Greg Donald

[android-developers] Re: videoview can't play mp4 smoothly

2009-07-24 Thread Suchand Ghosh
about increase buffer size? and how to do? thanks! On 7月23日, 下午7時13分, Suchand Ghosh chand4andr...@gmail.com wrote: That might be due to codec sample rate which is default max (44100 Hz), available channels (2), buffer size (2048 Bytes). Pls increase those values, provided your h/w need

[android-developers] Re: videoview can't play mp4 smoothly

2009-07-23 Thread Suchand Ghosh
That might be due to codec sample rate which is default max (44100 Hz), available channels (2), buffer size (2048 Bytes). Pls increase those values, provided your h/w need to support. Ref to file AudioHarwareALSA.cpp. It may solve your issue. Thank you. BR, Chand On Thu, Jul 23, 2009 at 5:14

[android-developers] is Instant Messaging and Presence Service(IMPS) available in Android...

2009-07-02 Thread Suchand Ghosh
Hi, I like to know whether Instant Messaging and Presence Service (IMPS) support available in Android release. If yes, please can I know in/from which release it's available? Thanks in Advance. BR, Chand --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: is Instant Messaging and Presence Service(IMPS) available in Android...

2009-07-02 Thread Suchand Ghosh
market values and customers expect to come with Android phone. So it will be great if we get it soon. Devs or any body, Please can you comment on this? On Fri, Jul 3, 2009 at 8:25 AM, John Smith deltafoxtrot...@gmail.comwrote: 2009/7/2 Suchand Ghosh chand4andr