android 6.0.1 bluetooth list of devices - android

I tried a bluetooth code to show bluetooth devices and making connection in android and it worked in android 4.4.2 very well. when running the same app in android 6.0.1 (Samsung Note 5) it doesnt show list of devices and only asks for bluetooth only one time. How can I fix this problem?

Related

Android Debugging not working in Micromax

I am using a Micromax P280 android tablet to test my app using cordova. The app is working fine with genymotion emulator and on my Sony Xperia L. Doesn't know what going wrong with the tablet. As per this http://fileit.in/p/276 link i tried creating 51-android.rules, gave the configuration and restarted the server but still the same output as below.
List of devices attached
???????????? no permissions
This is the content in 51-android.rules
SUBSYSTEMS==”usb”, ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="0002", MODE=”0666″, OWNER="sneha"

Using Android ble sdk in android emulator to connect to BLE dongle

I want to test the bluetooth low-energy application in Android virtual device.
I have the following working
I have bluetooth enabled Android emulator running in Virtualbox.(android-x86). Its scanning all the bluetooth devices in the settings option correctly.
I have a BLE bluetooth dongle(4.0).
Have a sample code of ble from Android 4.3.
Now i want to develop a simple application to get the UUID of the bluetooth LowEnergy device.
Now my questions are
I run the sample code in the emulator but its showing BLE is not supported but actually the settings menu is showing all the devices.
How to resolve this?

Android phone doesn't recognize Arduino board

I have a Samsung Galaxy Gio and want to connect it to an Arduino Leonardo. I use the Stackable Bluetooth Shield 2.1 from ITead Studio.
It works with a Windows PC (I can send and receive strings with PuTTY), but my phone doesn't even recognize it - the Bluetooth device list is empty.
The strange thing is that a Galaxy S recognizes the Arduino immediately. And my phone can see all other Bluetooth devices - except the Arduino.
Why can't my Gio recognize the board, when all other devices work?
Well, I finally found the problem!
Apparently the Galaxy Gio with Android v2.3.6 has some problems with "special" Bluetooth devices - like Arduino boards.
I installed CyanogenMod (I think it's Version 7.1 or 7.2) on the phone and after that it had no problems recognizing the board. That's because CyanogenMod contains many fixes for Bluetooth and other problems.
Now I'm using ITEAD BT Debugging Assistant to send and receive strings from/to my board.

How to have multiple outgoing connections over bluetooth in Android

With my current application, several devices can connect to one device. But the contrast doesn't work. I assume that device A initiated connection to device B. Now if A tries to keep the connection to B and initiate another connection to device C, then the connection of A-B is broken. So is there a way to avoid connection of A-B being lost while connecting to A-C?
Thanks in advance
This may be a problem with the version/implementation of Android you are using: I have found that it is impossible with certain Android versions (2.2 or lower) on certain devices (Samsung and the Nexus One) it is impossible to run multiple bluetooth device connections at the same time. The exact same apk that works perfectly on 2.3.3 will fail on a Nexus One running 2.2 or a Samsung Vibrant running 2.2. I'd look at the version of Android you are using and see if running on a newer revision fixes this problem for you.

What Android Tablet Currently Supports Accessory Mode for ADK Development

Unfortunately, the Samsung Galaxy Tab 10.1 I received at Google IO does not support accessory mode (http://stackoverflow.com/questions/6355031/how-can-i-get-the-adk-demokit-example-working-on-a-google-i-o-galaxy-tab-10-1). Which Android tablet currently does? I spoke with one of the Google engineer's at the conference who was running the DemoKit app on a tablet, but I didn't catch which one he was using, and whether that device was rooted or not. Is there a tablet out there running Honeycomb 3.1 that installs/runs the DemoKit app right out of the box without having to be rooted?
The adk stuff runs great on the Xoom, now on Android 3.2. I've been using both ADK accessory mode and USB host mode, and I haven't rooted it. The demoKit works great, although the Arduino-side can be a little tricky (usb host shield libraries) without an official ADK board.
Samsung Galaxy 10.1 Tab with updated Android 3.2 works fine with Google ADK board. I could see all sensors working fine. My issue is to get the tab work with Arduino Mega ADK.
I got the simple demo's working on the asus eee TF101, android version 3.2.1
I do have a bit of weir behavior that the android app wants to force quit a few times and the connection to the adk is not made immediately (can't choose to have the accessory connect to the app from a list the tablet pops up), but after a few times back and forth between the app and the home screen (through several 'force quit' dialog boxes), I do get the option to connect the accessory (ADK board) to be connected to the example app and then it all works as wanted.
I do have the same behavior on a Nexus One phone, so I'm guessing there may be something not quite right in my SDK setup.

Categories

Resources