Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7730827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T06:19:30+00:00 2026-06-01T06:19:30+00:00

I wrote an application about NFC in android,but I have a problem. When I

  • 0

I wrote an application about NFC in android,but I have a problem. When I take a NFC tag close to the mobile phone, a dialog box will appear to let me choose which application to read the information from the NFC tag. But I don’t want this dialog box I just want that when a NFC tag is close to the mobile phone, the application I wrote will automatically open. I tried to modify the code to:

<intent-filter android:priority = "100">
    <action android:name="android.nfc.action.TECH_DISCOVERED" />                
</intent-filter>
<meta-data android:name="android.nfc.action.TECH_DISCOVERED"
     android:resource="@xml/filter_nfc"/>   
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T06:19:32+00:00Added an answer on June 1, 2026 at 6:19 am

    The only way for Android to determine which app to open automatically, is if Android can read itself the contents of the tag. This is only possible when the tag follows one of the NFC Forum Type Tag standards and contains an NDEF message. In that case, Android will send an ACTION_NDEF_DISCOVERED intent, containing data that is based on the contents of the tag, such as a URI or a MIME type. Your app can declare an intent filter based on this to receive such an intent. If the MIME type or URI is unique, your app will be the only one that matches and will automatically be opened.

    If the NFC tags you are working with do not contain an NDEF message, you are essentially out of luck. There is no way for Android to determine anything more specific than the technology of the tag and there will often be multiple apps that have subscribed to such intents. So an app chooser will be presented to the user to pick the right app.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got an application that just shipped. Since I wrote it, I've learned about
I wrote an application, its not a social networking script by any means, but
I have a Java desktop application I wrote, and I would like a recommendation
I have an application I wrote which has been running well for 4 years.
I have noticed in an application I wrote, in-spite of me not specifying any
Having a weird problem. I'm testing an ASP.NET application I wrote that queries SQL
I have an application I wrote in PHP (on symfony) that imports large CSV
I'm having a problem with a Delphi Pro 6 application that I wrote on
I wrote a desktop application. It is about 35kb. Engine of the application is
I have a function I wrote that gets the height of the application without

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.