Add "save to file" option for screenshots (+ lots of XML formatting)

This commit is contained in:
fkloft
2014-03-01 22:43:26 +01:00
parent 83ead3a358
commit f43cfeb5aa
20 changed files with 113 additions and 67 deletions

View File

@ -80,8 +80,8 @@
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:mimeType="application/x-javascript" />
<data android:mimeType="text/javascript" />
<data android:mimeType="application/x-javascript"/>
<data android:mimeType="text/javascript"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
@ -92,23 +92,20 @@
<data
android:host="*"
android:scheme="file"
android:pathPattern=".*\\.user.js"/>
android:pathPattern=".*\\.user.js"
android:scheme="file"/>
<data
android:host="*"
android:scheme="content"
android:pathPattern=".*\\.user.js"/>
android:pathPattern=".*\\.user.js"
android:scheme="content"/>
<data
android:host="*"
android:scheme="http"
android:pathPattern=".*\\.user.js"/>
android:pathPattern=".*\\.user.js"
android:scheme="http"/>
<data
android:host="*"
android:scheme="https"
android:pathPattern=".*\\.user.js"/>
android:pathPattern=".*\\.user.js"
android:scheme="https"/>
</intent-filter>
<!-- Points to searchable meta data. -->
@ -149,6 +146,15 @@
<data android:mimeType="text/plain"/>
</intent-filter>
</activity>
<activity
android:name="com.cradle.iitc_mobile.share.SaveToFile"
android:enabled="true"
android:excludeFromRecents="true"
android:exported="false"
android:icon="@drawable/ic_action_save"
android:label="@string/activity_save_to_file"
android:noHistory="false"
android:theme="@android:style/Theme.Holo.Dialog"/>
<!-- START Used for Samsung Multi-Window support -->
<uses-library