Skip to content

Instantly share code, notes, and snippets.

View Ethererum Rinkeby
0x6cD2dd709AB1E971D0E4d2bb4ed1e98f476144Bb
@cauboy
cauboy / AndroidManifest.xml
Last active Aug 29, 2015
The goal is to receive a share intent (e.g. a website url by Chrome) and open a specific activity (save.js) based on that intent (not the default one).
View AndroidManifest.xml
<!-- That's the created AndroidManifest.xml when running titanium build --platform android -->
<?xml version="1.0" encoding="UTF-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.refind.app" android:versionCode="1" android:versionName="1.0">
<application android:icon="@drawable/appicon" android:label="MyOwn" android:name="MyOwnApplication" android:debuggable="false" android:theme="@style/Theme.AppCompat">
<activity android:name=".MyOwnActivity" android:label="@string/app_name" android:theme="@style/Theme.Titanium" android:configChanges="keyboardHidden|orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>