title: How do I open a .vcf from an intent filer?
body: <p>Hello I'm trying to make an app where I can open .vcf files. Primarily from texting apps and I've gotten it to work where I can open my app using the following code in and androidmanifest.xml</p>
  
  <pre><code> &lt;activity android:name=".Home"
         android:parentActivityName=".MapsActivity"&gt;
  
         &lt;meta-data android:name="android.support.PARENT_ACTIVITY"
          android:value="MapsActivity" /&gt;
             &lt;intent-filter android:label="Open iLocation"&gt;
                &lt;action android:name="android.intent.action.VIEW" /&gt;
                 &lt;action android:name="android.intent.action.EDIT" /&gt;
                 &lt;category android:name="android.intent.category.DEFAULT" /&gt;
                  &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
                    &lt;data android:scheme="content" /&gt;
                    &lt;data android:mimeType="text/x-vcard" /&gt;
             &lt;/intent-filter&gt;
         &lt;intent-filter android:label="Open iLocation"&gt;
             &lt;action android:name="android.intent.action.VIEW" /&gt;
             &lt;action android:name="android.intent.action.EDIT" /&gt;
             &lt;category android:name="android.intent.category.DEFAULT" /&gt;
             &lt;data android:scheme="file" /&gt;
             &lt;data android:mimeType="text/x-vcard" /&gt;
             &lt;data android:pathPattern=".*\.vcf" /&gt;
             &lt;data android:pathPattern=".*\..*\.vcf" /&gt;
             &lt;data android:pathPattern=".*\..*\..*\.vcf" /&gt;
             &lt;data android:pathPattern=".*\..*\..*\..*\.vcf" /&gt;
             &lt;data android:pathPattern=".*\..*\..*\..*\..*\.vcf" /&gt;
             &lt;data android:host="*" /&gt;
         &lt;/intent-filter&gt;
     &lt;/activity&gt;
  </code></pre>
  
  <p>That opens my .Home file but I'm not sure how I get the data from the file. Any help would greatly be appreciated.</p>