Android Internet permission failing even though it's in the manifest -
i'm sort of new android development , running issue when installing app play store. when try connect api site app fails. here's manifest:
<?xml version="1.0" encoding="utf-8"?> <manifest android:versioncode="12" android:versionname="1.2" android:installlocation="auto" package="com.jadestripe.retextbook" xmlns:android="http://schemas.android.com/apk/res/android"> <uses-permission android:name="android.permission.internet" /> <application android:theme="@style/apptheme" android:label="@string/app_name" android:icon="@drawable/ic_launcher" android:allowbackup="true" android:logo="@drawable/ic_launcher"> <activity android:label="@string/window_title" android:name="com.jadestripe.retextbook.mainactivity"> <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity> <activity android:label="@string/title_activity_search_results" android:name="com.jadestripe.retextbook.searchresultsactivity" android:parentactivityname="com.jadestripe.retextbook.mainactivity"> <meta-data android:name="android.support.parent_activity" android:value="com.jadestripe.retextbook.mainactivity" /> </activity> <activity android:label="@string/title_activity_comparison" android:name="com.jadestripe.retextbook.comparisonactivity" android:parentactivityname="com.jadestripe.retextbook.searchresultsactivity"> <meta-data android:name="android.support.parent_activity" android:value="com.jadestripe.retextbook.searchresultsactivity" /> </activity> </application> </manifest>
i'm using lorg.apache.http.impl.client.defaulthttpclient grab json string http://api.retextbook.com/search?keyword=test, example.
edit: should mention it's not asking me use internet connection when install play store...
Comments
Post a Comment