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 6372989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T01:18:30+00:00 2026-05-25T01:18:30+00:00

I hope that someone can help me with this. As you know when an

  • 0

I hope that someone can help me with this.

As you know when an NFC tag is detected automatically we have a window dialog that contains the list the application that we can use. To avoid this there is a way with pending event to intercept the tag and avoid the window dialog with the list.

My problem:
I have a TabActivity with two activities.
One of the two activities read a tag (we can call this activity as follow: “READ_ACTIVITY“).
When a tag is detected I don’t want change my screen, I want to stay in the same interface where I am before the interception of the tag.
As I said it’s possible to do it with the following code:

      mAdapter.enableForegroundDispatch(hereiam, intent, null, null);

where intent is a pendingIntent.

Now this foreground dispatch is done by READ_ACTIVITY.
My problem is that when a tag is detect, the application open a new READ ACTIVITY, while I would like to stay in the tabactivity. Someone knows how to stay in the tabactivity when a tag is detected?

Thanks in advance

  • 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-05-25T01:18:31+00:00Added an answer on May 25, 2026 at 1:18 am

    You need to set the TechList that you wanna intercept and also the intentFiltersArray, please follow the documentation about this, as well as the NFC and API demos samples, the already implement what you want.

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

Sidebar

Related Questions

I really hope someone can help on this because I'm learning cocoa and have
I have a quick and hopefully simple question that I hope someone can help
I hope someone can help with this issue. I have a popup iframe using
I really hope someone can help with this problem. I have an ajax pagination
This really, really urks me, so I hope that someone can give me a
I hope someone can help with solution to this problem? Currently my ASP.Net MVC
I have a question and I hope someone can help me out. What I
this my first question on here. I hope someone can help. It is to
I have another beginner's question that hopefully someone can help with. I'm trying to
Hope someone can help me with this, it has me totally stumped My application

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.