Re: [android-developers] Re: sending c2dm: java.security.cert.CertificateException: No subject alternative DNS name matching android.apis.google.com found.

2010-09-21 Thread Sean Liao
matching android.apis.google.com found. Can you update me if you've found a solution? Thanks, Wei On Aug 12, 1:39 pm, Sean Liao wirelessw...@gmail.com wrote: I appreciate if you kindly take a quick look of my issue of sending a C2DM to android emulator. Now, I am getting the following error

[android-developers] bluetooth discoverability limitations?

2010-09-02 Thread Sean Liao
Hi, My application needs to have bluetooth discoverable on for a long period of time until user explicitly turn it off. The max duration is only $300 seconds. To work around the issue, using the current API, I can only send the intent periodically. Also, to implement turning bluetooth

[android-developers] sending c2dm: java.security.cert.CertificateException: No subject alternative DNS name matching android.apis.google.com found.

2010-08-12 Thread Sean Liao
I appreciate if you kindly take a quick look of my issue of sending a C2DM to android emulator. Now, I am getting the following error: java.security.cert.CertificateException: No subject alternative DNS name matching android.apis.google.com found. I think it might be related to: Header with a

Re: [android-developers] Testing C2DM service on Android 2.2 emulator

2010-08-11 Thread Sean Liao
I am having the same problem ... any solution or any pointer? On Tue, Jul 6, 2010 at 9:59 AM, guligo igors.gulbins...@gmail.com wrote: Hi guys, I am playing around with C2DM service. What I am concerned about is that I cannot test my device-side application from Android 2.2 emulator. The

[android-developers] ndk to access native bluetooth lib?

2010-05-01 Thread Sean Liao
looking for any pointer or advise using NDK to access to native bluetooth lib. is it doable? anyone have good or bad experience to share? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] programatically disable local BT discoverability

2010-04-06 Thread Sean Liao
Is there a way to turn local bt discoverability off programatically? I know I can set a timer when turn it discoverable, just wondering if I can turn it off anytime programmatically based on dynamic business logics? Any pointer are highly appreciated. -- You received this message because you

[android-developers] disable bluetooth adapter

2010-02-22 Thread Sean Liao
Is there a way to programatically disable Bluetooth adapter? any pointer is highly appreciated. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

Re: [android-developers] Re: btsocket connected but read zero bytes

2010-02-05 Thread Sean Liao
}); BluetoothSocket connection = (BluetoothSocket) m.invoke(btdev, RFCOMM_CHANEL); connection.connect(); And now the connection has been stable and not broken and you can read and receive data by input and output streams. On 16 янв, 02:48, Sean Liao wirelessw...@gmail.com wrote: Anyone look

[android-developers] Re: btsocket connected but read zero bytes

2010-01-15 Thread Sean Liao
so the remote device would not request role switch? is that how it suppose to work? comments? On Mon, Nov 30, 2009 at 11:36 AM, Sean Liao wirelessw...@gmail.com wrote: We hooked up a BT protocol analyzer to monitor why connection getting dropped right after connection. We are certain

[android-developers] auto paring feature

2010-01-15 Thread Sean Liao
Hi, About the auto paring feature, we have the discussion on earlier threads ... Just wondering if there is any update or planning whether android will support auto paring for cases using remote device as sensor devices, etc. Just looked into 2.0.1 release notes, it seems not supported yet.

[android-developers] Re: btsocket connected but read zero bytes

2009-11-30 Thread Sean Liao
role switch taken place. I could be wrong but by disable role switch on remote device, the connection is fairly robust. May I request role switch feature for next release? Best regards, Sean On Tue, Nov 24, 2009 at 12:45 PM, Sean Liao wirelessw...@gmail.com wrote: Hi, I wrote a simple test

Re: [android-developers] Re: bluetooth uuid

2009-11-25 Thread Sean Liao
will automatically connect to the correct RFCOMM channel by looking up the UUID in the service discovery database on the remote device. Nick On Tue, Nov 24, 2009 at 4:39 PM, Sean Liao wirelessw...@gmail.com wrote: try this one: 1101--1000-8000-00805F9B34FB WIDCOM

[android-developers] btsocket connected but read zero bytes

2009-11-24 Thread Sean Liao
Hi, I wrote a simple test driver to test the bluetooth apis. Anyone can verify whether I am using the API correctly? Everything seems good but no data read :-( === // before calling the following, inquiry scan

[android-developers] Re: btsocket connected but read zero bytes

2009-11-24 Thread Sean Liao
the Android/My test driver initiated an disconnect immediately after connect. Really appreciate if you can point out what is wrong with my test driver. Sean On Tue, Nov 24, 2009 at 12:45 PM, Sean Liao wirelessw...@gmail.com wrote: Hi, I wrote a simple test driver to test the bluetooth apis. Anyone

Re: [android-developers] Re: btsocket connected but read zero bytes

2009-11-24 Thread Sean Liao
not intend to send 512 bytes (i cant tell without your server code), you should use pass numOfAvailable into instream.read(), and it should return straight away. Nick On Tue, Nov 24, 2009 at 1:22 PM, Sean Liao wirelessw...@gmail.com wrote: got another error from writing. wondering

Re: [android-developers] bluetooth uuid

2009-11-24 Thread Sean Liao
try this one: 1101--1000-8000-00805F9B34FB WIDCOM SDK and a C# SDK actually define the above constant value for SPP/RFCOMM It seems work for me although I am having problem use the inputStream and outSteam out of the connection. Hope it works for you. On Tue, Nov 24, 2009 at 4:20

Re: [android-developers] Re: btsocket connected but read zero bytes

2009-11-24 Thread Sean Liao
how do I get the HCI log and/or LMP log? On Tue, Nov 24, 2009 at 4:50 PM, Nick Pelly npe...@google.com wrote: I'll need to see some HCI or LMP logs to see why the connection gets dropped. Nick On Tue, Nov 24, 2009 at 4:32 PM, Sean Liao wirelessw...@gmail.com wrote: The test driver

Re: [android-developers] bluetooth service discovery

2009-11-17 Thread Sean Liao
and BluetoothServerSocket. We haven't ruled out exposing some SDP at a later point, although its not a high priority right now. Maybe you could outline what your use case is and what kind of SDP API's you might like, to help our future planning. Nick On Mon, Nov 16, 2009 at 12:36 PM, Sean Liao

Re: [android-developers] bluetooth service discovery

2009-11-17 Thread Sean Liao
protocol you use. Nick On Tue, Nov 17, 2009 at 9:32 AM, Sean Liao wirelessw...@gmail.com wrote: Although I personal feel service discovery is quiet fundamental in generic bluetooth solution, it is actually not very high priority for my current products. Since we custom make the remote

[android-developers] public BluetoothSocket createRfcommSocketToServiceRecord (UUID uuid)

2009-11-16 Thread Sean Liao
Hi, I am trying to port an existing mobile application to android 2.0 platform. In this application, we need to connect to remote device specify two parameters: 1.) radio address of the remote devices, and 2.) a port/channel number. (for microsoft c++ sdk, only radio address) I found

[android-developers] bluetooth service discovery

2009-11-16 Thread Sean Liao
I don't see any trivial API to do service discovery in android.bluetooth package. Is it support in current 2.0 release? If yes, I appreciate any pointer. If not, is it something already ruled out on Android platform, or coming soon? Thanks in advance. Sean -- You received this message because

Re: [android-developers] bluetooth connection - paring required?

2009-11-12 Thread Sean Liao
requirement. Is there a official channel to request new features for next release? Thanks again. Sean On Wed, Nov 11, 2009 at 5:29 PM, Nick Pelly npe...@google.com wrote: On Wed, Nov 11, 2009 at 4:55 PM, Sean Liao wirelessw...@gmail.com wrote: Thanks for the quick response. Having watching

Re: [android-developers] bluetooth connection - paring required?

2009-11-11 Thread Sean Liao
PM, Sean Liao wirelessw...@gmail.com wrote: Hi, Before 2.0 released, there were some questions/discussions related to the Bluetooth security, i.e whether paring is required to establish connection. Anyone know the answer or try it out already: Is paring requirement enforced in the new

[android-developers] intercept SMS inbound message

2009-11-11 Thread Sean Liao
Hi, I got a sample code how to intercept SMS inbound message.  It is really simple, and I really admire android make it so easy: // declare the intercepter receiver android:name=.SmsReceiver intent-filter action android:name=

Re: [android-developers] bluetooth connection - paring required?

2009-11-11 Thread Sean Liao
, 2009 at 3:34 PM, Nick Pelly npe...@google.com wrote: On Wed, Nov 11, 2009 at 3:13 PM, Sean Liao wirelessw...@gmail.com wrote: Do you mean that if the remote device doesn't require a pin, the android api will not be able to establish a connection to such remote devices? BluetoothSocket

[android-developers] bluetooth connection - paring required?

2009-11-09 Thread Sean Liao
Hi, Before 2.0 released, there were some questions/discussions related to the Bluetooth security, i.e whether paring is required to establish connection. Anyone know the answer or try it out already: Is paring requirement enforced in the new bluetooth api in SDK 2? Any public info available