Serve ui out of local html files; pass text/plain and image/* data to the webview using a data url

This commit is contained in:
Donovan Preston 2018-06-22 16:48:21 -04:00
parent c103c7fd7a
commit b5d7e99ba5
5 changed files with 250 additions and 32 deletions

View file

@ -3,6 +3,7 @@
package="com.mozilla.send.sendandroid">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<application
android:allowBackup="true"
@ -17,8 +18,6 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".IntentActivity">
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
@ -30,7 +29,6 @@
<data android:mimeType="text/plain" />
</intent-filter>
</activity>
</application>
</manifest>