![]() In the showed example we are compiling apps with the latest Android 6.0 API level, meaning we need to select a corresponding Datalogic SDK matching the same level (remember to download and install the matching Datalogic Add-on). In the following window point to Project Structure > Modules app tab Properties and change the Compile Sdk Version accordingly, matching the right Datalogic SDK with the API level in use. To do so, right click on app folder under the Android project module, then select Open Module Settings. WifiManager wifiMgr (WifiManager) getApplicationContext ().getSystemService (Context.WIFISERVICE) boolean res tWifiEnabled (true) //res value is set to false above because setWifiEnabled returns false on Android 10. In order to gain access to the SDK functionalities, applications need to be compiled with the right Datalogic SDK environment. But it is not able to turn wifi on in Android 10 devices. Through the next steps, instead, your basic application will leverage on custom Datalogic SDK functionalities and will be compiled to be compatible with a Datalogic device. With the previous steps, you have simply prepared a basic environment for a generic Android application. A generic Android application, runnable on all Android devices, is now ready for development. With a choice of basic layout and Activity styles.Ĭomplete the guided wizard and let the IDE settle down. The wizard will guide through the creation of a new application. When creating a new project, choose the most correct Minimum SDK API level and press Next. Greater values will produce an incompatible Android app. ![]() For example, a device running Android Jelly Bean, can support applications built with Minimum SDK level selected up to 16. Please notice that you must select the Minimum SDK level in accordance with the installed Android firmware version on your Datalogic device. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |