1
I’m trying to make my app an option (or default) when opening a file.
This is the manifest menu:
<?xml version="1.0" encoding="utf-8"?>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<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">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="*/*"/>
</intent-filter>
</activity>
<activity android:name=".Arquivos"/>
<activity android:name=".NomeSenha" />
<activity android:name=".Bateria" />
<activity android:name=".Tensao"/>
</application>
This question has already been asked and you seem to have asked it yourself, and you already have a good answer. It is easier to ask questions in the comments of la reply.
– user28595
I’m sorry, I’m new to this tool and I didn’t notice that the first question had been published.
– Artur Gaspar