[android-developers] Re: Android 2.0 Bluetooth Code Samples

2009-10-28 Thread CLC

Hi jb,

  Here is some sample code that uses Bluetooth:
http://code.google.com/p/apps-for-android/source/browse/trunk/BTClickLinkCompete

  This is the demo that was shown in the Eclair 2.0 video. You run the
app on two (or more) Android 2.0 devices, and you can then flick the
Android robot between the screens of the devices as if it were all
just one big screen.

-Charles

On Oct 27, 5:25 pm, jb  wrote:
> Does anyone have any working code with the added Bluetooth support?
> Also, were you able to get Bluetooth working in the AVD? Thanks.

--~--~-~--~~~---~--~~
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 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  wrote:
> On Oct 28, 5:10 pm, Ne0  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
-~--~~~~--~~--~--~---