I developed an APP that works correctly on devices that have versions of ANDROID 6.0 or lower.
When installing them on devices with ANDROID 7.0, the the WIFI network total access permission is disabled, an indispensable function for the APP operation.
The APPs were developed in B4A 5.70, updated with B4A 7.80.
I updated the Paths:
AddManifestText(
SetApplicationAttribute(android:label, "$LABEL$")
SetApplicationAttribute(android:theme, "@android:style/Theme.Holo")
Based on other forum queries, I incorporated some permissions:
AddPermission(android.permission.INTERNET)
AddPermission(android.permission.ACCESS_NETWORK_STATE)
AddPermission(android.permission.ACCESS_WIFI_STATE)
I did not get ANDROID 7.0 to assign the permissions, as it did in previous versions of the operating system.
With ANDROID 7.0, only the Storage permission is enabled, although I also need full access to the network and the WRITE_EXTERNAL_STORAGE.
Maybe someone had the same problem and solved it, please, can you tell me how you did it or give me a clue where to look?. Thank you very much !
When installing them on devices with ANDROID 7.0, the the WIFI network total access permission is disabled, an indispensable function for the APP operation.
The APPs were developed in B4A 5.70, updated with B4A 7.80.
I updated the Paths:
- C:\Program Files\Java\jdk1.8.0_162\bin\javac.exe
- C:\ANDROID\platforms\android-27\android.jar
AddManifestText(
<uses-sdk android:minSdkVersion="5" android:targetSdkVersion="14"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:label, "$LABEL$")
SetApplicationAttribute(android:theme, "@android:style/Theme.Holo")
Based on other forum queries, I incorporated some permissions:
AddPermission(android.permission.INTERNET)
AddPermission(android.permission.ACCESS_NETWORK_STATE)
AddPermission(android.permission.ACCESS_WIFI_STATE)
I did not get ANDROID 7.0 to assign the permissions, as it did in previous versions of the operating system.
With ANDROID 7.0, only the Storage permission is enabled, although I also need full access to the network and the WRITE_EXTERNAL_STORAGE.
Maybe someone had the same problem and solved it, please, can you tell me how you did it or give me a clue where to look?. Thank you very much !