NFC Reading for beacons do not give data some times


#1

I am trying to read an estimote beacon data via NFC adapter in Android device. For this, once a beacon is tapped on to the back of the phone, i get onNewIntent() called in my code. But problem is i am getting null for this call ONLY sometimes.
Parcelable[] rawMsgs = intent.getParcelableArrayExtra(NfcAdapter. EXTRA_NDEF_MESSAGES);

Here i am getting rawMsgs as null which means i am not able to read beacon Identifier and mac address.

Any help would be appreciated. Thanks in Advance.

Similar doubt is already raised in stackover flow : HERE