[android-developers] Re: BluetoothAdapter - ACTION_DISCOVERY_FINISHED

2009-10-29 Thread CLC

skink is right.

Here's a simple example of creating a list of discovered devices:
http://code.google.com/p/apps-for-android/source/browse/trunk/BTClickLinkCompete/src/com/google/android/btclc/ServerListActivity.java

Hope this helps! :)

-Charles

On Oct 28, 1:02 pm, skink psk...@gmail.com wrote:
 On Oct 28, 5:10 pm, Ne0 liamjamesalf...@googlemail.com wrote:



  Ok i may be missing something here, but i can't see any documentation
  on what (if any) data is returned with Intent
  ACTION_DISCOVERY_FINISHED.

  I would hope that there is a list of discovered devices, but i cant
  find any documentation on it plus i don't have an android phone to
  test this on.

  Any idea's on how we get the actually get a List of discovered
  devices back? or is it possible from the SDK?

  Thanks,

  Liam.

  Also anyone know where i can get an Android 2 image for the ADP1,
  still waiting for the source code!!

 Liam,

 you have to register for ACTION_FOUND

 http://developer.android.com/reference/android/bluetooth/BluetoothDev...

--~--~-~--~~~---~--~~
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 this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: BluetoothAdapter - ACTION_DISCOVERY_FINISHED

2009-10-29 Thread Ne0

Ah yes, so i was missing something, thanks.

Liam

On Oct 29, 1:15 am, CLC clchen+...@google.com wrote:
 skink is right.

 Here's a simple example of creating a list of discovered 
 devices:http://code.google.com/p/apps-for-android/source/browse/trunk/BTClick...

 Hope this helps! :)

 -Charles

 On Oct 28, 1:02 pm, skink psk...@gmail.com wrote:

  On Oct 28, 5:10 pm, Ne0 liamjamesalf...@googlemail.com wrote:

   Ok i may be missing something here, but i can't see any documentation
   on what (if any) data is returned with Intent
   ACTION_DISCOVERY_FINISHED.

   I would hope that there is a list of discovered devices, but i cant
   find any documentation on it plus i don't have an android phone to
   test this on.

   Any idea's on how we get the actually get a List of discovered
   devices back? or is it possible from the SDK?

   Thanks,

   Liam.

   Also anyone know where i can get an Android 2 image for the ADP1,
   still waiting for the source code!!

  Liam,

  you have to register for ACTION_FOUND

 http://developer.android.com/reference/android/bluetooth/BluetoothDev...


--~--~-~--~~~---~--~~
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 this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: BluetoothAdapter - ACTION_DISCOVERY_FINISHED

2009-10-28 Thread skink



On Oct 28, 5:10 pm, Ne0 liamjamesalf...@googlemail.com wrote:
 Ok i may be missing something here, but i can't see any documentation
 on what (if any) data is returned with Intent
 ACTION_DISCOVERY_FINISHED.

 I would hope that there is a list of discovered devices, but i cant
 find any documentation on it plus i don't have an android phone to
 test this on.

 Any idea's on how we get the actually get a List of discovered
 devices back? or is it possible from the SDK?

 Thanks,

 Liam.

 Also anyone know where i can get an Android 2 image for the ADP1,
 still waiting for the source code!!

Liam,

you have to register for ACTION_FOUND

http://developer.android.com/reference/android/bluetooth/BluetoothDevice.html#ACTION_FOUND
--~--~-~--~~~---~--~~
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 this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---