This content has been marked as final. Show 4 replies
I didn't try it on ADF Mobile, but it is usually possible to detect the OS from Java like this:
Depends on what you want to do. In the adfmf-feature.xml file you can check a feature constaint, if for example, you want to restrict access toa feature depending on device OS. Maybe this would meet your requirement.
android.os.Build.VERSION.SDK_INT constant is the SDK version.
It's easy actually.
DeviceManager device = DeviceManagerFactory.getDeviceManager(); String os = device.getOs();