Programmatically detect Samsung KNOX supported devices - android

I have an app that runs on all android devices.
I have specific functionality that work only for Samsung KNOX supported devices.
I'm looking for a way to programmatically detect if a device is a Samsung Knox supported device
Thank

Related

Is there a way to emulate a specefic vendor OS such as huawei's emui

My app works fine on most devices however there seems to be some issues on some phones because of the manufacturer's software especially their power settings. Unfortunately, I don't have access to these physical devices, Is there a way to emulate them for debugging and testing purposes?

BLE Issue on samsung devices

Android BLE code is not properly working on Samsung devices whereas it works with other android devices .
Some time we are able to get values doing some work around but it is not works as smooth as we required.
I wonder about the Samsung device behavior any one help me to know about what is the main reason behind the same and what is the permanent solution of the same.
You are using the Bluetooth 4.0, you must update the Samsung mobile phone system to more than 4.3 .
Android 4.3 (API Level 18) introduces built-in platform support for Bluetooth Low Energy in the central role and provides APIs that apps can use to discover devices, query for services, and read/write characteristics
See https://developer.android.com/guide/topics/connectivity/bluetooth-le.html for details.

Why ibeacon only support android 4.3+?

Is that possible to implement iBeacon API for android 4.2 and lower with BLE?
update:
According to davidgyoung, theoretically it's possible to enable ibeacon in BLE enabled devices with android 4.3- only if building up a ibeacon API from bottom.
Bluetooth low energy technology was only added in Android 4.3+.
Prior Android devices also did not had Bluetooth chips capable of BLE (standard v4.0).
So no, you cannot make a device without a BLE chip work as a BLE chip (and even if you did, it would make no sense nor use).
Android phones must have both Bluetooth 4.0 hardware and a SDK to detect iBeacons. Generally this means Android 4.3+ and a phone made in late 2012 or later.
Samsung phones include a proprietary Bluetooth 4.0 SDK for their devices with Bluetooth 4.0 chips and Android versions 4.1 and 4.2. Devices like the Galaxy S3 shipped with this.
There is no off-the-shelf iBeacon detection library using this SDK, so if you want to detect iBeacons on these devices, you would have to roll your own.
Also, keep in mind that many if not most of these devices are already getting upgrades to Android 4.3, so this is a shrinking pool of devices for which this is possible and necessary. For non-Samsung devices and Samsung devices manufactured before late 2012, it is not possible at all due to lack of a Bluetooth 4.0 library or Bluetooth 4.0 hardware.

Discover nothing when using Bluetooth Low Energy on Samsung devices

I follow Bluetooth Low Energy guide, and try to test discovery feature on Samsung Galaxy Note 3 and Samsung Galaxy S3.
But they can not find together via my application.
Therefore, I try to download nRF Utility from market place.
But it shows notification :
Device not supported
While in market place, it said that :
Note: Samsung Galaxy S3, Samsung Note 2 and Samsung Note 10.1 are currently supported handsets.
I think it gets the same issues.
I have no idea.
Anyone know this issue?
p/s : It will run good on Google Nexus 4, 5, 7?
From the note you wrote, it doesn't seem like the Note 3 is supported (it probably searches for specific models). You can see supported devices and sources here:
http://www.nordicsemi.com/Products/nRFready-Demo-APPS
There's a different nRF Utility for Nexus devices, as they use a different driver.
The samsung BLE drivers are for Android 4.2.2, while nexus devices run 4.3 and use the Google BLE API.
I haven't tested the Samsung BLE drivers myself, but from my experience, the Google API is not very stable, even on 4.4.
You might have to make some changes to your code if it's based on the Samsung drivers and you want to try the Nexus devices.

is that Android devices lower then Android 4.3 having bluetooth 4.0 not supporting BLE?

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.

Categories

Resources