Im searched many days and hours to find a solution to read the state
of bluetooth in Cupcake... can anyone show me a example code?
On 7 Mai, 10:31, so_is wrote:
> Thank you very much. :)
>
> Here some advice for all the others reading that topic:
>
> private static final String BLUETOOTH_STATE
Thank you very much. :)
Here some advice for all the others reading that topic:
private static final String BLUETOOTH_STATE =
"android.bluetooth.intent.BLUETOOTH_STATE";
private static final String BLUETOOTH_PREVIOUS_STATE =
"android.bluetooth.intent.BLUETOOTH_PREVIOUS_STATE";
Regards
On May 6
There is a simple bug in your code. Try looking in the source for
other examples of the use of BLUETOOTH_STATE_CHANGED and you should
quickly see what you have done wrong.
Sorry not going to spoon feed you for private API's.
Nick
On Tue, May 5, 2009 at 10:45 PM, so_is wrote:
>
> Is there new i
Is there new information about that problem?
On Apr 25, 9:41 am, scanning_it wrote:
> Well after testing the whole thing I recognized that the state is not
> delivered via an Intent extra. (although mentioned in the SDK)
>
> Here is what I tried:
>
> Log.e(TAG,"Received Bt change. Change
Well after testing the whole thing I recognized that the state is not
delivered via an Intent extra. (although mentioned in the SDK)
Here is what I tried:
Log.e(TAG,"Received Bt change. Change action: "+intent.getAction
());
int state = intent.getIntExtra("BLUETOOTH_STATE", 404);
Thank you very much. I am aware that it is not part of the public
API. :)
On Apr 24, 10:41 pm, Nick Pelly wrote:
> On Fri, Apr 24, 2009 at 7:09 AM, code_android_festival_way <
>
>
>
> festival.s...@googlemail.com> wrote:
>
> > At the moment I am trying to update my application to Android 1.5.
>
On Fri, Apr 24, 2009 at 7:09 AM, code_android_festival_way <
festival.s...@googlemail.com> wrote:
>
> At the moment I am trying to update my application to Android 1.5.
>
> In Android 1.1 I was able to detect the BT state with catching the
> following broadcasts:
>
>
>
> android:name="android.b
7 matches
Mail list logo