Purple โ€“ Check NFC availability ๐ŸŽ‰

2021 Appathon

Hi all!

Following is a line from the 2021 Appathon FAQ.

You may use any extensions from MIT, or any free extension so long as you include a note from the extension author that it can be redistributed by MIT as part of the competition.

Iโ€™m not sure if this applies to free extensions, as Iโ€™m a bit confused by the sentence, however since my PMs are closedโ€ฆ Purple is allowed to be redistributed by MIT as part of the competition.

Good luck and have fun!

2 Likes

You may use any extensions from MIT, or any free extension so long as you include a note from the extension author that it can be redistributed by MIT as part of the competition.

One of the criteria for the competition is that the project must be built with and open in App Inventor 2 (meaning not Kodular). So, I believe they are referring to all free extensions that are fully compatible with App Inventor.

If your unsure, then ask the developer or test the extension to see if the your project compiles using App Inventor.

As FlailingOctopus mentions, extensions from either community (Kodular or App inventor) may still work with App Inventor. This extension is compatible.

1 Like

Purple is compatible with App Inventor. If youโ€™re talking about being on the App Inventor community, then no, my extensions arenโ€™t on there. However, I donโ€™t think it should be an issue.

Hi, thank you so much for the extension!
I was wondering if it would be possible in a future update to include two blocks to activate and de-activate the NFC, or if itโ€™s an already available feature (or if itโ€™s impossible to implement it).
Thank you so much again!

1 Like

hello :sweat_smile:, your extension is very good :star_struck:, only there is an error when i use this block :smiling_face_with_tear:

That error exists because you didnโ€™t toggle the receiver on in the first place.

NFC is activated, what should I change?:sweat_smile:

Your workspace should look more like thisโ€ฆ


Same

Yeah, I canโ€™t help you here. The extension works for me, not sure what youโ€™re doing.

I did the same

Uploading: Screenshot_2022-09-18-19-59-28-479_com.android.chrome.jpgโ€ฆ

do you have telegram?

Your screenshot got stuck while uploadingโ€ฆ you might want to upload it againโ€ฆ

Taifun

1 Like

Purple v0.2.0

Added

  • :sparkles: Added AdapterStateChanged as replacement for OnAdapterStateChanged

Fixed

  • :bug: Fixed ToggleAdapterStateWatcher failing to unregister the receiver

Removed

  • :wastebasket: Deprecated OnAdapterStateChanged, replace usages with AdapterStateChanged


Files

cc // @dennis_littawe1542 @Xoma

2 Likes

hey, NFC will not be disabled :sweat_smile:

thanks for update :heart_eyes:

NFC isnโ€™t disabled because thatโ€™s not what Purple is for. Itโ€™s meant to watch for when NFC is dis/enabled.

ok can you add that you can disable NFC ?

If itโ€™s not added, it probably wonโ€™t be.