Data Browser - Viewing Site  Sector 23 Code Bank Logged in as:  Guest  




           


Android app won't connect to internet on new moto z
On newer android devices, apps written for old devices will no longer be able to connect to the internet. The user is not given any prompt to even allow it.

Solution:
Make sure you defined the intranet permission in the manifest (this was required earlier)
But ALSO change android:targetSdkVersion to 23 or higher. If it is a lower number, the newer devices will not recognize your permission attribute.

<uses-sdk
android:minSdkVersion="7"
android:targetSdkVersion="23" />
<uses-permission android:name="android.permission.INTERNET" >
</uses-permission>

Created By: amos 12/29/2016 4:12:12 PM