• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Write Lock Block command for NfcV

I am trying to lock data to a NXP ICODE SLIX SL2S2002 tag type 5 (ISO 15693) to make it readonly by using the WRITE SINGLE BLOCKS command through the NfcV object in an ionic based app:

JavaScript:
   private readonly cmdISO15693 = {
   READ_SINGLE_BLOCK: 0x20,
   WRITE_SINGLE_BLOCK: 0x21,
   LOCK_BLOCK: 0x22
};

this.nfc.connect('android.nfc.tech.NfcV', 500)
     .then(
       (data) => {
           console.log('connected to', this.nfc.bytesToHexString(tag.id.reverse()).toUpperCase());
           console.log('maxTransceiveLength: ', data);

           const offset = 0; // offset of first block to read
           const blocks = 8; // number of blocks to read
           const bytesOfText: number[] = this.nfc.stringToBytes(text);
           console.log('bytesOfText: ', bytesOfText);
           console.log('hex string: ', this.nfc.bytesToHexString(bytesOfText));

           let cmd = new Int8Array([
               0x60, // 0: flags: addressed (= UID field present) or 0x90 0x60 0x40 0x20??
               this.cmdISO15693.READ_SINGLE_BLOCK, // 1: command
               0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,  // 2-9 placeholder for tag UID
               0x00  // 10: block number
               // 0x00, 0x00, 0x00, 0x00  // 11- DATA
               // ((blocks - 1) & 0x0ff)  // number of blocks (-1 as 0x00 means one block)
           ]);
           console.log('cmd: ', [...cmd]);

           // tag uid in which direction
           cmd = arrayCopy(tag.id.reverse(), 0, cmd, 2, 8);
           console.log('cmd new: ', [...cmd]);
           console.log('cmd buffer: ', cmd.buffer);
           // arrayCopy(bytesOfText, 0, cmd, 11, 4);

           this.nfc.transceive(cmd.buffer)
             .then((res: ArrayBuffer) => {
                 console.log('transceive result:', res);
                 try {
                     console.log(Utf8ArrayToStr(res));
                 } catch (e) {
                     console.log('Utf8ArrayToStr not possible', e);
                 }

                 this.nfc.close().then(() => console.log('closed connection'))
                   .catch((err) => console.log('error closing', err));
             })
             .catch((err) => {
                 console.log('error while transceive', err);
                 this.displayToast('Error to write the RFID-Chips.', 'warning');
             });
}


I don't know which bytes I have to pass for each block. I use the phoneGap-NFC plugin for ionic. Every time I try to set it readonly I get the answer 'Tag was lost' and by the READ_SINGLE_BLOCK command, too. The Ionic method makeReadOnly() does not work because this is blocked by the tag. I have to set it by means of the bytes. I dont know do I have to use Int8Array or Unit8Array, do I have to use reverse() on the tagId because the hex is mirrored or do I just pass the UID bytestring instead of the hexstring?

Help Shut up my roomie phone

Hello,

Thanks for reading, i go direct to the problem.
While ago my romie started hearing some podcast at the night. The think is he usally turns the volyme to max level then he forgets to close the app and he falls sleep. Our rooms are to close and the noise is so irritating i can't sleep. Some times i go to his room and turns his phone off, but this is strange to enter his room when he sleeps. I ask him to stop but the problem continues.

He acepted to use a remote control of his phone in my phone. So i am asking fot a method or app that i could use?. I only want a eay to turn the volume off when he forgets to do it. Is there any app i can use?

Thanks

Bible Gallery

banner_1024_500.png


Download from Google Play:
https://play.google.com/store/apps/details?id=com.pearmobile.apps.biblegallery
Download from HomePage:
http://www.pearmobile.com/products/bible_gallery_android/

Bible Gallery is a large collection of paintings, prints and drawings on biblical themes. Paintings of famous artists will open you the world of Bible and help to enrich your knowledge in the word of Bible. Our app will be a great addition in reading Bible and expand your horizons.

• Support is available from the app or you can write to support@pearmobile.com
• Like our page on Facebook: https://www.facebook.com/bibleholyonline
• Follow us on Instagram: https://www.instagram.com/bible_holy_kjv
• Follow us on Twitter: https://twitter.com/saint_gospels
• Read Bible online on www.bible.promo

Features:

• Hundreds of paintings by world famous painters on biblical themes
• G. Dore, J. Shnorr, A. Durer engravings of biblical scenes
• J. Tissot illustrations of biblical scenes
• Detailed descriptions of the paintings
• Ability to add an image to favorites
• Good image quality
• Uploading Images on the fly
• Share image ability
• Ability to zoom images
• Different effects of paging
• Easy to use interface

Download from Google Play:
https://play.google.com/store/apps/details?id=com.pearmobile.apps.biblegallery
Download from HomePage:
http://www.pearmobile.com/products/bible_gallery_android/

1.png
2.png
3.png
4.png
5.png
6.png
7.png
8.png

Help Samsung Galaxy s20 Plus going into sleep mode in the middle of Youtube videos

Hello everyone,

I've been having this issue with either my phone or the Youtube app since the last software update my phone had, a couple weeks ago. It's incredibly frustrating, the phone acts as if a video playing is just me accidentally leaving my phone on when in reality there's a video playing, and it just abruptly goes into sleep mode at the 10min mark (the time I've chosen for it to go into sleep mode, 10min is the max.). It does this every single time I play a video, unless of course I interact with the screen to keep it awake. But I used to put Youtube videos on as a background noise (music or meditation videos) until I could fall asleep at night, now I can't do this anymore and it's affecting my sleep.

Anyone knows what's up with my phone or with the Youtube app? I've looked at the settings to see if something had changed since the last update but I can't seem to find anything there that would help my issue.

Thanks!

Help Smartphone unloched

Hi everyone, I'm trying to backup android with adb, after launching the adb backup command it tells me to unlock the phone and confirm the backup, only that the phone is already foul, the screen lock via pin is unlocked , developer options are enabled, usb debugging and bootloader is unlocked, can anyone help me? What remains to be unlocked yet?

Help com.google.android.gms.unstable big problem

Hi all, how is it going?

This issue is making me go crazy, to show you all my risolve in solving this matter, i would happily make a donation to your website, if it is possible to solve this, please.

I use telegram, google chrome, yandex, notepads, pdf readers etc...

All of a sudden, every twenty mins ish, they refresh out of the blue.

So, im on telegram, and boom, the chat im reading goes to the bottom.
When i use chrome, it refreshes on its own. But not like page refresh, more like the screen turns black for a second and then the page refreshes.

Same for my pdf readers.

No, i have disabled all auto refreshes on the apps.

So then i open 3c task manager and i see this app/process/service appearing right after i get the weird refreshes:

com.google.android.gms.unstable

Which belongs to google play services.

I have watched that for a long time. When this process starts my apps have the weird refreshes.

The only app immune to this bug is firefox.

I uninstalled play services many times, deleted its datas and cache.

The problem is still here.

I ve logged out of all my google accounts too.


What can i do, please?

Im using android 6
No root

Thanks for your time. Regards

Save the Apple [Free Game]

Hello people!

I've been playing games my whole life and finally decided to try to make one.
It was not easy and I wanted to quit many times, but somehow I managed to finish it.

It would really mean to me if you try it and let me know what I can update about it, since I want game to progress.
Download link - https://play.google.com/store/apps/d...s.SavetheApple
https://play.google.com/store/apps/d...s.SavetheApple

Thank you all!

Help Samsung Galaxy Tab E keep turn on automatically

I have a Samsung Galaxy Tab E SM-T561 and every time i turn it off after 2/3 seconds its turning on on its own.

I already tried this:

  1. Hard Reset (several times)
  2. Battery replacement
I noticed that if i shutdown the tablet when is charging it doesn't turn it on as long as is plugged in. When i unplug the cable and stop charging it, the tablet turn it on automatically.

What can it be? Thanks

Saved accounts and password that doesn't belong to me

Hi.
Last night I logged out of all my accounts to do some check and cleaning.
When I tap to login on Google, someone's saved Google accounts and passwords showed up.
I've also notice my phone been having sound playing on its own when I'm not using, like someone is watching YouTube and it only stop when I restart my phone.
I never let anyone used my phone since I bought it.
Did someone has hacked my phone?

Attachments

Filter

Back
Top Bottom