Turn Bluetooth On and Off in Andriod 1.5 (SDK level 3)?

Posted by pcm2a on Stack Overflow See other posts from Stack Overflow or by pcm2a
Published on 2010-03-18T16:03:04Z Indexed on 2010/03/18 21:51 UTC
Read the original article Hit count: 264

Filed under:

There are tons of pay and free bluetooth toggles on the market that work with Android 1.5 (SDK level 3). The problem is there is no visible API for this!

Does anyone have any working code snippits on how to enable and disable bluetooth that works on Android 1.5? I assume you must have to use some kind of reflection for it. There are some examples over on anddev.org, but they only work with Android 1.1 or lower.

This is for Android 1.5 (SDK level 3) and not Android 2.0 or greater. In Android 2.0 or later Google added easy to use APIs.

© Stack Overflow or respective owner

Related posts about android