Microsoft Intune App SDK on Android API 18 - android

The documentation for the sdk states "The SDK supports Android API 19 (Android 4.4+) through Android API 28 (Android 9.0)."
The app I will be working on has minSdkVersion 18. Do I need to increase my minSDKVersion or will the Intune SDK simply not work on Android API 18 and lower?

You can try to use the library with
<uses-sdk tools:overrideLibrary="microsoft intune package name" />
This will override the min sdk of that library. But it may break the library and can lead to erros and bugs.
The best way would be to increase your minSdk to 19 which is probably no problem since you would only loose 0.5% audience: https://developer.android.com/about/dashboards

Related

How do i upgrade my android target API in Meteor

I am building an android app with Meteor/Cordova. My meteor is currently version 1.5, Cordova 4.3.0. My default build uses API 25 but when I try to submit my APK to the play store, I get this message:
Your app currently targets API level 25 and must target at least API level 26 to ensure it is built on the latest APIs optimized for security and performance. Change your app's target API level to at least 26
.
How do I upgrade to API level 26?
inside mobile-config.js add
App.setPreference('android-targetSdkVersion', '26');
Go to gradle, and search for targetSdkVersion = 25 . Change it to use android targetSdkVersion = 26

Issues executing code on higher API levels Android

My minSDK version is 16 and my targetSDK version is 27. The compileSDK version is 28.
Since the targetSDK version is 27 it should run on Oreo(8.0.0) without issues but some of the features don't work as intended. However they do work fine on Nougat.
Why is this so?
The targetSDK is stating what you built in the app to be able to handle. So, there might be a new feature in API 28 and you're saying your code was build against API 27 so if you're running on API 28 and there is support on 28 for how you used the api before, then it will try to maintain your API 27 coded behavior. There still exists the possibility your API 27 code will result in different or wrong behavior if run on API 28 though.
Please review the documentation as well:
https://developer.android.com/guide/topics/manifest/uses-sdk-element
"To maintain your application along with each Android release, you should increase the value of this attribute to match the latest API level, then thoroughly test your application on the corresponding platform version."

Samsung Health Android SDK target SDK version

I'm developing an app which uses targetSdkVersion 27. We would like to integrate the Samsung Health Android SDK which has a targetSdkVersion support of 25.
Can this be done without problems?
Also the Play Store has a limit of min targetSDkVersion of 26 since this month. What does this mean regarding this? Will we able to upload the app into the Play Store?
Thanks
When building your project, Android Studio would merge the manifests of your libraries and your app. In the case of your libraries having a lower targetSDKVersion than your app, the app's version has higher priority and will override the library's.
https://developer.android.com/studio/build/manifest-merge

SDK version for Android version 4.0

I want to know what is the "android:minSdkVersion" and the "android:targetSdkVersion=" to use my android app on mobile-phone with Android version 4.0 .
Target Should always be the latest that you have installed on your PC . ie: 22.
Minimum would be 14.
The API 14 is the one related to Android 4.0. So you could put targetSdk to 14. The minSdkVersion is the minimal android API that will be allowed to install your app so for more users, the lower the better !
Still, if you set targetSdk to higher API, like 22, your Android 4.0 device will be able to installyour app.

Android SDK minSdkVersion and targetSdkVersion

I set my android app with below SDK settings. If some using android device with high version > 17. Will my App be run without problem on that device? Thanks.
android:minSdkVersion="11"
android:targetSdkVersion="16"
Yes, it will work(on api level greater than 17) without any major issue, there may be user experience related problems on latest versions(say 5.0 or 5.1).
But it is recommended to use latest SDK level as target sdk.

Categories

Resources