I'm well down the road of creating my first android application. I can run it on my phone (Android 6.1) fine from android studio via the ADB, however am completely unable to access it when not connected to the computer.
If I install the apk manually, the app installs fine but the "Open" button is greyed out at the end of the installation. The app also doesn't appear in my app draw, however does appear in my installed applications under settings.
Has anyone got any suggestions?
Here is my android manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.domain.mediasyncer">
<uses-permission android:name="android.permission.INTERNET" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:enabled="true"
android:theme="@style/AppTheme.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="oauthresponse"
android:scheme="mediasyncer" />
</intent-filter>
</activity>
<activity
android:name=".ShowActivity"
android:label="@string/title_activity_show"
android:theme="@style/AppTheme.NoActionBar" />
<activity
android:name=".SeasonActivity"
android:label="@string/title_activity_season"
android:theme="@style/AppTheme.NoActionBar" />
</application>
</manifest>
Edit: I am able to install apks from unknown sources.
It seems that removing the following allows me to open the app. Any suggestions how I can include that in my intent and still open my app?
<data android:host="oauthresponse" android:scheme="mediasyncer" />