NFC - my third extension [FREE]

Write a short description

this extension has only 2 blocks - for check if NFC exists, and if turned on.
Note: I developed this extension because in the build-in component, does not have these functions!

Add a picture of all the blocks

component_method (17)
Returns: ~boolean (true or false)

component_method (16)
Returns: ~string (Return string (true or false). If not exists return: Your phone does not have NFC sensor).

Download: com.matanel.NFCtools.aix (6 .1 ק״ב)

19 Likes

Good extension :+1:

1 Like

nice extension

1 Like

Very good extension.

1 Like

Nice Extension :+1: :+1:

1 Like

Nice extension :heart_eyes: :heart_eyes: keep it up

2 Likes

You might want to resize the icon. :face_with_monocle:

grafik

1 Like

yes lol
for 16*16 icon size?
@bodymindpower

2 Likes

Do you see the attached image?

I don’t see it → Firefox

Chrome I see it.

1 Like

@Kodular is there a way you can force this to be 16x16 no matter what size image is uploaded? Often people will make larger images for better resolution… If the img element has a specified size, it shouldn’t affect the image resolution.

1 Like

yes, in kodular it is always working
just in app inventor it look like real size…

1 Like

In this extension there was a big bug that caused other imported components to crash!

The repair is now done and the file is up to date. Anyone who downloaded - please delete the file immediately, and save the new file. If not - the system will crash.

3 Likes

thank you for your contribution!

Please remember to follow the naming conventions

Unbenannt

Thank you
Taifun

4 Likes

Ok i will do it now
~
I did.

thank you… you also might want to replace IsExists by only Exists
Taifun

Ok I did it.
Also I changed the IsEnabled to only Enabled.

1 Like

Hello and first of all thank you for this application.

I think there is a little problem with “enable”.

If I activate my NFC and click on “do it”, I get the message “true”. If I disable “False”, so far no problem.

On the other hand if I put a condition of the style when nfc is activated:

“call NFC.enable = true” then do it returns “false” to me when NFC is activated (so true). The result is identical if I activate or not the nfc or if the condition is true or false. the result is always the same “false”.

Also noted that if I want to put “nfc.enable” directly in an IF condition, it is impossible to attach (it is possible with then or else) while it works with “exists”.

cordially
ced

2 Likes

Because it is a String, not a boolean. Check the first post for more info.

2 Likes

Ok, but why do I get this result when dmon nfc is on? or off?
nfc

You’ll have to wait the developer’s reply.

Btw, you should use the red String “true” instead of the green one.

1 Like