Hi, Please read the first post, Principles of design and usage completely
Version 4.4.1
- Adds an option to set Firebase Bucket (i.e. for ExecuteInternalScript block)
- Fixes an issue when accessing the Screen component blocks
- Fixes an issue where StopProcess is being ineffective on Android 15+ devices
xyz.kumaraswamy.itoo.aix (90.9 KB)
Donate: PayPal.Me
Could you please help me, I can't get the web component to work, only the sound works with the notification, I already checked and did the same as the documentation you did but it doesn't work for me.
This is what I need please, I'm going to send you a donation for your great work, but I can't get it to work please
Could you please post your all blocks related to Itoo in high resolution? They are blurry to read.
Look at this example it doesn't work I want to make the web component work
look at this other example if it works perfectly fine
What do you want to do after the Web Request? Play a sound and show a notification? Then you have to register event for Web1.GotText with 4 parameters.
- Create a procedure called
Web1.GotText
with 4 parameters that of the event. - Secondly, use the Melon Notification instead of Notification Style
In fact, I performed the same procedure that you mention but it still does not work, my intention is to activate a sound when executing the web component when I get a response, but it does not work.
Your blocks are wrong...
- You cannot use global variables in background
- You cannot use TinyDB in background, use Itoo's Store/Fetch property
- Why are you attempting to use CreateProcess within the
web
procedure? It an lead to crash.
you are the master of masters
In this way the data is stored and obtained?
I had the same problem, the original file is actually a high quality picture, but it looks likes MIT servers fiddle somehow with the uploaded images and blurs them to reduce their quality (maybe for compression purpose).
Right Click on empty space in Blocks editor, Download Blocks as Image
My app produces a notification message (by Melon Notification
extension) every 5 seconds.
I would need to prevent the notifications from continuously waking up the screen of my phone when the device is in sleep mode.
I tried to set such behaviour in Android settings:
Settings > Apps > Special app access > Turn screen on
Unfortunately, I can't find my app here listed, and that seems a well-known Android inconvenience.
I wonder if it is possible to exploit ActivityStarter
component to programmatically open Turn screen on
settings for my app, in the same way I already do for external storage all files access permission:
Thanks in advance.
Is there anybody that might kindly give a feedback in this regard, please?
You will need an extension which is able to detect, if the device is in sleep mode
As far as I know, that extension currently does not exist
Taifun
It looks like an extension to detect if the device is in idle/sleep mode does exist:
This extension is supposed to identify also if the device screen is off, so I tried to use it in my app, in order to disable the post of a new notification if my phone is in sleep mode.
Unfortunately, the things do not work fully as expected: if my phone is locked with screen off, it's alright (the notification does not trigger and the screen remains off, that is what I want), but if it is locked and the screen is active, the notification does not refresh. It looks like the lock active + screen on status is detected again as idle/sleep mode...
I would appreciate Anke's opinion also, that has built the extension.
It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.
To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.
Hello Taifun,
Here below the blocks of my app:
The background service implemented in the app keeps reading a file every 5 seconds and posts a notification displaying the seconds of current time from system clock.
Here below a videoclip of the app running on my phone (Android 14):
As you can see, with the device locked and screen active, the notification does not refresh as expected.
Here below AIX file project:
WorkTimeNotifyService_TAIFUN.aia (283.2 KB)
Thanks for your help.
These are your relevant blocks
It looks like the extension by @Anke always returns true false... to confirm this, you could add a debug statement and log that information to be able to read it using logcat...
The notifier offers method LogInfo for that
LogInfo(message)
Writes an information message to the Android log.
Just do a LogInfo IdleMode.IsScreenOff to confirm this
Taifun
I don't agree @Anke extension return always false. If that were the case, in my app the notification would always trigger. On the other hand, actually, conditions exist where it does not (when the device is locked with screen off), and logcat file I am going to post confirms this as well.
I don't fully get the point of your request, anyway I did as you asked for. I arranged the relevant blocks in this way (I hope this is what you intended):
Here below the recorded logcat file (it was generated while performing the same actions you see in the videoclip posted beforehand):
logcat.txt (3.1 MB)
Thank you again.