Writing an image using NdefMessage
问题 I am trying to write an image on a Ndef Tag, currently, i am able to write it, but when I try to read it with any market application, they treat it like a text message. here is my piece of code writing the image : Bitmap mBitmap = Bitmap.createScaledBitmap(mPhoto, 100, 100, true); ByteArrayOutputStream stream = new ByteArrayOutputStream(); mBitmap.compress(Bitmap.CompressFormat.PNG, 100, stream); byte[] byteArray = stream.toByteArray(); NdefRecord picRecord = new NdefRecord(NdefRecord.TNF