How to get the unique nfc id of a phone, without reading nfc on android? [duplicate]












0
















This question already has an answer here:




  • How to check my NFC TAG ID (UID)?

    1 answer




I know How to get Nfc Unique ID, When NFC Reader,



private Tag tag;

//Read success.
protected void onNewIntent(Intent intent) {
super.onNewIntent(intent);

tag = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG);

byte id = tag.getId();


}



but I want Even if I do not read the NFC card.



How to get NFC id, without reading nfc on android?



thanks.










share|improve this question













marked as duplicate by Michael Roland android
Users with the  android badge can single-handedly close android questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Dec 3 '18 at 16:08


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.



















  • What ID do you expect to get? The UID of the phone when it acts as a contactless card?

    – Michael Roland
    Nov 29 '18 at 16:00











  • If yes, then this is a duplicate of stackoverflow.com/q/25195762/2425802

    – Michael Roland
    Nov 29 '18 at 16:03











  • Also see stackoverflow.com/q/27239473/2425802 and stackoverflow.com/q/19764476/2425802

    – Michael Roland
    Nov 29 '18 at 16:04
















0
















This question already has an answer here:




  • How to check my NFC TAG ID (UID)?

    1 answer




I know How to get Nfc Unique ID, When NFC Reader,



private Tag tag;

//Read success.
protected void onNewIntent(Intent intent) {
super.onNewIntent(intent);

tag = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG);

byte id = tag.getId();


}



but I want Even if I do not read the NFC card.



How to get NFC id, without reading nfc on android?



thanks.










share|improve this question













marked as duplicate by Michael Roland android
Users with the  android badge can single-handedly close android questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Dec 3 '18 at 16:08


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.



















  • What ID do you expect to get? The UID of the phone when it acts as a contactless card?

    – Michael Roland
    Nov 29 '18 at 16:00











  • If yes, then this is a duplicate of stackoverflow.com/q/25195762/2425802

    – Michael Roland
    Nov 29 '18 at 16:03











  • Also see stackoverflow.com/q/27239473/2425802 and stackoverflow.com/q/19764476/2425802

    – Michael Roland
    Nov 29 '18 at 16:04














0












0








0









This question already has an answer here:




  • How to check my NFC TAG ID (UID)?

    1 answer




I know How to get Nfc Unique ID, When NFC Reader,



private Tag tag;

//Read success.
protected void onNewIntent(Intent intent) {
super.onNewIntent(intent);

tag = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG);

byte id = tag.getId();


}



but I want Even if I do not read the NFC card.



How to get NFC id, without reading nfc on android?



thanks.










share|improve this question















This question already has an answer here:




  • How to check my NFC TAG ID (UID)?

    1 answer




I know How to get Nfc Unique ID, When NFC Reader,



private Tag tag;

//Read success.
protected void onNewIntent(Intent intent) {
super.onNewIntent(intent);

tag = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG);

byte id = tag.getId();


}



but I want Even if I do not read the NFC card.



How to get NFC id, without reading nfc on android?



thanks.





This question already has an answer here:




  • How to check my NFC TAG ID (UID)?

    1 answer








android nfc






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 26 '18 at 0:19









hyunwookchohyunwookcho

57110




57110




marked as duplicate by Michael Roland android
Users with the  android badge can single-handedly close android questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Dec 3 '18 at 16:08


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by Michael Roland android
Users with the  android badge can single-handedly close android questions as duplicates and reopen them as needed.

StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;

$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');

$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Dec 3 '18 at 16:08


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.















  • What ID do you expect to get? The UID of the phone when it acts as a contactless card?

    – Michael Roland
    Nov 29 '18 at 16:00











  • If yes, then this is a duplicate of stackoverflow.com/q/25195762/2425802

    – Michael Roland
    Nov 29 '18 at 16:03











  • Also see stackoverflow.com/q/27239473/2425802 and stackoverflow.com/q/19764476/2425802

    – Michael Roland
    Nov 29 '18 at 16:04



















  • What ID do you expect to get? The UID of the phone when it acts as a contactless card?

    – Michael Roland
    Nov 29 '18 at 16:00











  • If yes, then this is a duplicate of stackoverflow.com/q/25195762/2425802

    – Michael Roland
    Nov 29 '18 at 16:03











  • Also see stackoverflow.com/q/27239473/2425802 and stackoverflow.com/q/19764476/2425802

    – Michael Roland
    Nov 29 '18 at 16:04

















What ID do you expect to get? The UID of the phone when it acts as a contactless card?

– Michael Roland
Nov 29 '18 at 16:00





What ID do you expect to get? The UID of the phone when it acts as a contactless card?

– Michael Roland
Nov 29 '18 at 16:00













If yes, then this is a duplicate of stackoverflow.com/q/25195762/2425802

– Michael Roland
Nov 29 '18 at 16:03





If yes, then this is a duplicate of stackoverflow.com/q/25195762/2425802

– Michael Roland
Nov 29 '18 at 16:03













Also see stackoverflow.com/q/27239473/2425802 and stackoverflow.com/q/19764476/2425802

– Michael Roland
Nov 29 '18 at 16:04





Also see stackoverflow.com/q/27239473/2425802 and stackoverflow.com/q/19764476/2425802

– Michael Roland
Nov 29 '18 at 16:04












1 Answer
1






active

oldest

votes


















1














Mobile phones acting as a tag (card emulation) do have a random UID (4 byte). It is not supported to adjust a specific UID.



As result every time the external field is turned off and on again the mobile phone as a different UID.



Best regards,






share|improve this answer






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    Mobile phones acting as a tag (card emulation) do have a random UID (4 byte). It is not supported to adjust a specific UID.



    As result every time the external field is turned off and on again the mobile phone as a different UID.



    Best regards,






    share|improve this answer




























      1














      Mobile phones acting as a tag (card emulation) do have a random UID (4 byte). It is not supported to adjust a specific UID.



      As result every time the external field is turned off and on again the mobile phone as a different UID.



      Best regards,






      share|improve this answer


























        1












        1








        1







        Mobile phones acting as a tag (card emulation) do have a random UID (4 byte). It is not supported to adjust a specific UID.



        As result every time the external field is turned off and on again the mobile phone as a different UID.



        Best regards,






        share|improve this answer













        Mobile phones acting as a tag (card emulation) do have a random UID (4 byte). It is not supported to adjust a specific UID.



        As result every time the external field is turned off and on again the mobile phone as a different UID.



        Best regards,







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 26 '18 at 12:29









        AlexAlex

        261




        261

















            Popular posts from this blog

            To store a contact into the json file from server.js file using a class in NodeJS

            Redirect URL with Chrome Remote Debugging Android Devices

            Dieringhausen