i've developed first android application , have published on google play, when try install it, installs doesn’t appear on phone.
here manifestandroid.xml , believe configuration reason why.
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="testconverteo.ismail.converteo" android:versioncode="5" android:versionname="1.1b" > <uses-permission android:name = "android.permission.internet" /> <uses-permission android:name = "android.permission.access_network_state" /> <uses-sdk android:minsdkversion="8" android:targetsdkversion="15" /> <!-- used google play store campaign measurement--> <application android:name="myapp" android:allowbackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:theme="@style/apptheme" > <service android:name="com.google.android.gms.analytics.campaigntrackingservice" /> <receiver android:name="com.google.android.gms.analytics.campaigntrackingreceiver" android:exported="true"> <intent-filter> <action android:name="com.android.vending.install_referrer" /> </intent-filter> </receiver> <activity android:name=".mainactivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> <!-- browsable category required in order intent filter accessible web browser --> <category android:name="android.intent.category.browsable" /> <!-- accepts uris begin "http://www.appconverteo.com/application” --> <data android:scheme="http" android:host="www.appconverteo.com" android:pathprefix="/application" /> </intent-filter> </activity> <activity android:name=".logindisplayactivity" android:label="@string/title_activity_login_display" /> </application> </manifest> what should solve problem ?
thanks
you need separate .mainactivity intent filter 2 different intent filters.
one filter appear on launcher , separate filter browsable.
<!-- makes available launcher --> <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> <!-- makes openable browser --> <intent-filter> <action android:name="android.intent.action.view"/> <category android:name="android.intent.category.browsable" /> <!-- accepts uris begin "http://www.appconverteo.com/application” --> <data android:scheme="http" android:host="www.appconverteo.com" android:pathprefix="/application" /> </intent-filter> ps.: should test before pushing google play.
Comments
Post a Comment