title: How to receive file using NFC (Android Beam) in Android
body: <p>I was able to send a file using NFC, based on <a href="http://developer.android.com/training/beam-files/send-files.html" rel="nofollow">tutorials on the Android developer site</a>. However I'm unable to handle the receiver part.</p>
  
  <p>I follow <a href="http://developer.android.com/training/beam-files/receive-files.html" rel="nofollow">http://developer.android.com/training/beam-files/receive-files.html</a> for the receiving side and I get the notification that the Beam file transfer was successful on the receiver. When the user clicks this notification, I expect the that my app should be launched.</p>
  
  <p>My receiving activity has the following intent filters:</p>
  
  <pre><code>&lt;intent-filter&gt;
   &lt;action android:name="android.intent.action.VIEW"/&gt;
   &lt;category android:name="android.intent.category.DEFAULT"/&gt;
   &lt;data android:mimeType="image/*" /&gt;
   &lt;data android:mimeType="video/*" /&gt;
   &lt;data android:scheme="file" /&gt;
  &lt;/intent-filter&gt;
  </code></pre>
  
  <p>But my receiving activity never gets called even the file transfer was finished. How can I receive the file in my app?</p>