[android-developers] Re: Application permissions

2010-08-19 Thread Stephen Lin
Hi Dianne, I am building an application to configure Ethernet on a custom Android platform. How do I get my application signed to have access to android.permission.WRITE_SECURE_SETTINGS? Thanks, Stephen On Aug 5, 7:36 pm, Dianne Hackborn wrote: ... > Third party apps can't get signature or sig

[android-developers] Re: How to detect if a Bluetooth A2DP headset is connected

2009-10-30 Thread Stephen Lin
Is there anybody know the answer? I just saw the API setBluetoothA2dpOn(boolean on) in AudioManager is deprecated. I need provide a choice in my application for the user to select audio route to Bluetooth headset or speaker. I can use the API setBluetoothA2dpOn() to route audio to bluetooth hea

[android-developers] How to detect if a Bluetooth A2DP headset is connected

2009-10-23 Thread Stephen Lin
I didn't find an API to detect if a Bluetooth A2DP is connected. Can somebody point me out how to check? It looks like if I route audio to Bluetooth A2DP without check, the sound will be routed anyway, and the speaker is turned off. Thanks, Stephen --~--~-~--~~~---~-

[android-developers] GLSufaceView rotation performance

2009-08-07 Thread Stephen Lin
Hi, I have a problem with GLSufaceView rotation performance. After the screen is rotated, it sometimes takes a few seconds for the OpenGL view to be updated in new layout. I have Activity, which has a FrameLayout. The GLSurfaceView is one child of the FrameLayout. I found the problem is that