Android 2.0 Bluetooth Code Samples

by jb » Wed, 28 Oct 2009 16:43:48 GMT

Sponsored Links
 Does anyone have any working code with the added Bluetooth support?
Also, were you able to get Bluetooth working in the AVD? Thanks.


Android 2.0 Bluetooth Code Samples

by CLC » Thu, 29 Oct 2009 14:46:41 GMT

 Hi jb,

  Here is some sample code that uses Bluetooth: 

  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.



Sponsored Links

Android 2.0 Bluetooth Code Samples

by tjozsa » Fri, 30 Oct 2009 05:26:02 GMT


Thanks for the code sample.

I have a problem, though. I've rad that the Emulator does not allow

How to test this? I have a G1 from an operator.



Android 2.0 Bluetooth Code Samples

by Xavier Ducrohet » Fri, 30 Oct 2009 07:29:03 GMT

 There is not bluetooth support in the emulator. You will need a device
running android 2.0


Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!


Android 2.0 Bluetooth Code Samples

by ding eric » Sun, 01 Nov 2009 11:46:54 GMT

 It's awesome

thanks CLC

On Thu, Oct 29, 2009 at 9:11 AM, CLC


Other Threads

1. Official Resource for Dynamic JVM Languages on Dalvik?

Is there an official resource out there, somewhere ... maybe a ticket
on the wishlist of an Android bugtracker ... with the status of
updating Dalvik to be able to run dynamic JVM languages, such as

Even if no one is currently working on this (and no one is currently
scheduled to work on this, nor is it even being considered), it would
be great to have a link to something that shows the state of this.

I'm a professional Ruby coder, and I get questions *all the time*
about whether or not Android applications can be coded in Ruby.
Everyone knows that Android runs some kind of Java and everyone knows
that Ruby runs on Java, so the question makes quite a bit of sense ...
until you explain how Dalvik works  :)

If anyone knows anything about this, I would really appreciate some
kindof educated feedback.  There are a number of other threads that
mention the possibility of getting dynamic languages running on
Dalvik ... if someone posts something useful here, I'll post updates
to some of the other threads wish people that are interested:

2. Can anybody describe a little bit more details about android build structure?

There is a doccument  to describe the build system.

<android source dir>/development/pdk/docs/build_system.html

Wang Fei.

2008/11/11 Alex <[EMAIL PROTECTED]>

unsubscribe: [EMAIL PROTECTED]

3. LocationListener onLocationChanged

4. android canvas

5. Can anybody describe a little bit more details about android build structure?

6. Can the software stack be compiled to run on a PowerPC?

7. Android openGL and Google Sketchup