Advertisement
Guest User

intent filter

a guest
May 9th, 2012
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.21 KB | None | 0 0
  1.             <intent-filter>
  2.                 <action android:name="android.intent.action.VIEW" />
  3.  
  4.                 <category android:name="android.intent.category.DEFAULT" />
  5.                 <category android:name="android.intent.category.BROWSABLE" />
  6.  
  7.                 <data
  8.                    android:host="*"
  9.                    android:mimeType="*/*"
  10.                    android:pathPattern=".*\\.sgf"
  11.                    android:scheme="file" />
  12.             </intent-filter>
  13.             <intent-filter>
  14.                 <action android:name="android.intent.action.VIEW" />
  15.  
  16.                 <category android:name="android.intent.category.DEFAULT" />
  17.                 <category android:name="android.intent.category.BROWSABLE" />
  18.  
  19.                 <data
  20.                    android:host="*"
  21.                    android:pathPattern=".*\\.sgf"
  22.                    android:scheme="http" />
  23.             </intent-filter>
  24.             <intent-filter>
  25.                 <action android:name="android.intent.action.VIEW" />
  26.  
  27.                 <category android:name="android.intent.category.DEFAULT" />
  28.                 <category android:name="android.intent.category.BROWSABLE" />
  29.  
  30.                 <data
  31.                    android:host="*"
  32.                    android:pathPattern=".*\\.sgf"
  33.                    android:scheme="https" />
  34.             </intent-filter>
  35.             <intent-filter>
  36.                 <action android:name="android.intent.action.VIEW" />
  37.  
  38.                 <category android:name="android.intent.category.DEFAULT" />
  39.                 <category android:name="android.intent.category.BROWSABLE" />
  40.  
  41.                 <data
  42.                    android:host="*"
  43.                    android:mimeType="*/*"
  44.                    android:pathPattern=".*\\.sgf"
  45.                    android:scheme="content" />
  46.             </intent-filter>
  47.             <intent-filter>
  48.                 <action android:name="android.intent.action.VIEW" />
  49.  
  50.                 <category android:name="android.intent.category.DEFAULT" />
  51.                 <category android:name="android.intent.category.BROWSABLE" />
  52.  
  53.                 <data android:mimeType="application/x-go-sgf" />
  54.             </intent-filter>
  55.         </activity>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement