Tuto WINDEV Mobile 25
48 Part 2: Android application 2. Add a link into the Web page for download. This link has the following format: <a href=’Path of apk file on the server’>Link</a> 3. On the server, add the following MIME type: application/vnd.android.package-archive. The user will only have to display the page with the browser of the phone. The application will be downloaded when the link is clicked. Then, all you have to do is click the downloaded file (in the download manager) to install the application. Caution : The "Unknown sources" option must be enabled on the phone to allow this setup mode. To enable this option, go to the "Parameters" menu of phone, in the "Applications" sub-menu. Deployment from the PC via ADB (advanced mode) ADB (Android Debug Bridge) is a tool supplied with the Android SDK. It is used, among other things, to install or uninstall from the PC an Android application (APK file) on a mobile device compatible with Android. This setup mode is an advanced mode. We recommend that you see in the online help the specific commands used to install an application. To do so: • go to "https://developer.android.com/studio/index.html ". • in the menu, select "User guides" then "Command line tools" and finally "adb". Caution : The "Unknown sources" option must be enabled on the phone to allow this setup mode. To enable this option, go to the "Parameters" menu of phone, in the "Applications" sub-menu. Copying the application onto Mobile device The easiest way to install an Android application on a mobile device is to copy the apk file onto the device and to run it. The following operations must be performed: 1. Connect the device to the PC by USB. 2. Copy the apk file of application onto the device (external memory for example). Reminder: the "apk" file is created by WINDEV Mobile when generating the Android application. 3. On the device, use a file explorer to go to the directory where the apk file was copied and click the file to start its setup. Remark : Some devices do not propose a file explorer but several ones are available for free. Caution : The "Unknown sources" option must be enabled on the phone to allow this setup mode. To enable this option, go to the "Parameters" menu of phone, in the "Applications" sub-menu.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==