My app gets data from Bluetooth module and I get losses only on Android 8.0. On 7.0 and 8.1.2, things are fine.
Someone told me it could be the compatibility issue between Broadcom
BT chip and Android 8.0.
I have done some testing on Galaxy S8 (Android 8.0) and LG G6 (Android 8.0) and confirmed that the data loss were apparent on those devices.
On LG V40 (Android 8.1.2) and some tablet (Android 7.0), the data loss did not happen.
I am trying to confirm whether the problem happens on all Android 8.0 devices or only on Android 8.0 devices with Broadcom chip.
If you happen to know anything, feel free to comment or answer!
Thank you
Related
I'm trying to connect my Android phone to Arduino board with USB Host Sheild in order to let Android to launch my app in accessory mode. Basically, it works perfectly well on older devices as Moto G (2015) - Android 6.0, Nexus 5 - Android 6.0.1 and ancient noname tablet with Android 4.4.2. But I noticed that on Android 7 and above the app doesn't get launched or no prompt accessory dialog is shown, I tried a few Huawei devices, Xiaomi all of them have Android 7 or above.
So, my question, is accessories API still available in Android 7+? Thanks in advance.
UPD. Seems I got pretty firm evidence that Accessory Mode is still available in Android. Basically, I tested my solution against Google Pixel 3XL with Android 10. Works well.
Thus my conclusion is, how well that mode supported is up to a manufacturer.
Is there any ideas how enable this mode, maybe by installing custom ROMs or using some unofficial tweaks. Thanks.
Of course it does - but these stock ROM might lack an application to deal with it. The problem rather seems to be that usbremotecontrol.com went down - and the one snapshot available on archive.org looks strange. Just see which application is used on these Android 6.0 devices.
I developed an Android app to scan and connect to a BLE device. I tested it in Micromax Tab and some other devices, it was working fine.
But recently I tested in ASUS tab (C 7.0), most of the time it fails to scan the BLE devices (Sometimes its working fine).
Currently I faced this issue only in ASUS tab, rest of the Mobiles and Tabs are working fine.
Can anyone suggest what might be the issue?
I'm not even getting any warnings and errors.
I have discovered that the devices having Intel processor is having problems in BLE communication.
The devices having Mediatek, Qualcomm processor is better for BLE communication.
I would like to know is it possible to implement the BLE in the device using OS of android 4.3/API 18. Because in my requirement i have to implement BLE in mobile devices having OS version 4.0 - 4.2, Any one having idea about this help.
Thanks regards.
This is possible on specific devices, with very heavy fragmentation.
See:
https://github.com/cjhuo/Android-Samsung-Ble-APIs-Bluez for Samsung devices with Android 4.1 e.g. some Galaxy S3 with original OS version.
http://developer.samsung.com/ble for Samsung devices with Android 4.2 (e.g. Galaxy S4 with original OS version)
https://www.htcdev.com/devcenter/opensense-sdk/bluetooth-smart/htc-ble-installation/ for HTC devices with Android 4.x
There may be more for other vendors...
I would advise sticking with Android 4.3 as much as possible, using the specific SDKs below 4.3 is a mess.
Actually my laptop with Bluetooth 4.0 is successfully searching and pairing with hardware cc2540 but android phones with bluetooth 4.0 and jelly beans are not able to search cc2540.
I have tried Samsung Galaxy s4 and Samsung Galaxy star and other devices. I will be really thankful if any body can tell me how to connect android Bluetooth 4.0 devices with cc2540.
Great i got my answer :) it Only works on 4.3, the earlier API versions do not have Bluetooth Smart API.
I'm thinking about investing in one of the newer android phones, but I am also really involved with developing on the ADK. Does anyone know if Ice Cream Sandwhich works with it? Thanks in advance
According to official site Android ADK, it should be compatible. And here is the List of Supported Android ADK Devices with v2.3.4+ and v3.1+.
Currently, I'm still doing ADK with Samsung galaxy tab 10.1 (with Android 3.2 updated) and still have some problem, check here
Regards,
pak
In general Ice Cream Sandwich works just fine with the ADK. The Galaxy Nexus has no problems with it whatsoever.
Keep in mind though that it's not only a OS version constraint. The device manufacturer has to integrate a supporting USB chip and the corresponding driver. Sadly there is no official list of supported devices but if you have a device which supports the ADK in an old Android version than it should generally work after an ICS update.
For new devices I would recommend buying a Galaxy Nexus as it is a Google supported Developer phone which has the best API support.
The Android 3.1 platform (also backported to Android 2.3.4) introduces Android Open Accessory support, which allows external USB hardware (an Android USB accessory) to interact with an Android-powered device in a special "accessory" mode.
I'm guessing this means anything that is currently running ICS stock will support ADK. I have the Galaxy Nexus and HTC incredible 2 (android 2.3) and it works great.
The only problem I've found is that some phones (e.g. Galaxy S2) don't include the backport for the com.android.future.usb library.
So if you're writing an application to be backwards compatible for gingerbread, it may not work on ICS. You have to rewrite the code using android.hardware.usb, which shouldn't be necessary.
It depends on device because I am not able to run adk mode on micromax tablet which has 4.0.3 and I am able to run adk mode on samsung galaxy S duos which also has 4.0.3 android OS.