taifun flashlight

83 views
Skip to first unread message

Aslan Sokucu

unread,
Jan 22, 2019, 3:06:35 AM1/22/19
to MIT App Inventor Forum


Hello to everyone.

        That's my problem. Although I have placed the blocks correctly, the button image changes but the flashlight is unresponsive. The flashlight does not turn on. This problem has just developed. It was smooth before.


Ekran Alıntısı.PNG


Peter Mathijssen

unread,
Jan 22, 2019, 3:14:07 AM1/22/19
to MIT App Inventor Forum
You are using Kodular not App Inventor. Ask your question there and not here. 

Paul S

unread,
Jan 24, 2019, 4:56:15 PM1/24/19
to MIT App Inventor Forum
Hi, the following MIT App Inv app does not work:

Capture.PNG

Could this be due to Android version 9 [Android One on Xiaomi A2 Lite phone] ?

Thanks,
Paul

Taifun

unread,
Jan 25, 2019, 4:38:58 PM1/25/19
to MIT App Inventor Forum
Could this be due to Android version 9 [Android One on Xiaomi A2 Lite phone] ?

probably yes
up to now I did not update the extension using the new SDK 26 functionality
I will provide an update soon

Taifun

Trying to push the limits of App Inventor! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun. 

Paul S

unread,
Jan 26, 2019, 1:41:24 AM1/26/19
to MIT App Inventor Forum
Hi Taifun,
Thanks for your reply.
Looking forward to your update using API level 28. If you want, I can beta-test for you.

Paul

Paul S

unread,
Jan 26, 2019, 8:56:56 AM1/26/19
to MIT App Inventor Forum
Hi Taifun,
The issue turned out to be a permission setting in Android 9.
ShakeForTorch is the name of my app.

Screenshot_20190126-144830.png

Once I set the camera permission to ON it worked...
Here is the app:

Capture.PNG



Paul 


Taifun

unread,
Jan 31, 2019, 4:04:51 PM1/31/19
to MIT App Inventor Forum
the flashlight extension now is updated and uses the new SDK 26 features
Taifun
Reply all
Reply to author
Forward
0 new messages