How to get the unique nfc id of a phone, without reading nfc on android? [duplicate]
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.
android nfc
marked as duplicate by Michael Roland
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.
add a comment |
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.
android nfc
marked as duplicate by Michael Roland
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
add a comment |
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.
android nfc
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
android nfc
asked Nov 26 '18 at 0:19
hyunwookchohyunwookcho
57110
57110
marked as duplicate by Michael Roland
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
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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,
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
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,
add a comment |
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,
add a comment |
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,
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,
answered Nov 26 '18 at 12:29
AlexAlex
261
261
add a comment |
add a comment |
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