Is it possible to detect an hot word using itoo. Ex
When I say ok google google gemini. automatically opens
That would require continually using the microphone, I'm not sure how Google does this, a difficult one.
The first problem is that the Phone Call component is not being fully initialized (like those Firebase and CloudDB components), therefore it isn't able to receive phone call events. I manually initialized it using odd methods, and there seems to be another problem. I will look into potential fixes for the next Itoo update.
Thank for you for the report!
Hey, from what screen are you calling Itoo? Adding Itoo to Screen1 should solve this error.
You are quite welcome!
Kind regards,
Randal
FYI, the problem I am needing to solve involves an Itoo process with a Player that is sourced to a live stream of an event (eg., a sports event). By manually (using UI buttons) pausing and restarting the Player it is adjusted to be synchronized with a live video stream of the same event.
But then if a phone call is started (eg., received), the Player is automatically paused ... and then resumed when the call ends, thus adding delay to the audio stream (the length of the call) and putting it out of sync with the video.
One way to solve this is to detect the call start and then on call end to restart the Player with the already-calculated delay...thus maintaining sync with the video.
Hi thanks for your answer, now my app dont crash out but I still have a problem with my code. Can you help me? (The code is on a second screen)
Please elaborate
You probably forgot to ask for post notifications permission in case no notification appears
Taifun
My application has permission to send notifications. I want to send notifications when a value changed but nothing happening (later I will send if some a value is changed but currently it isn't working with anything).
Does your event get triggered?
Use Notifier LogInfo blocks as debug statements and check logcat
Taifun
Hi I found the error I used a wrong value at the executeinternalsckript
Hello there i create this block!
but error happen because of Create task block( work fine with create process) the message dialog says
after i export apk it also says
@Taifun and @Kumaraswamy please I need help on this!
you are testing this in the Kodular companion app?
build your app and try again
also why did you choose CreateTask instead of CreateProcess?
Are you aware that the background service is
- Vulnerable to being stopped by the system abruptly, can only run upto a few minutes in modern devices depending on the phone brand, OEM, OS installed, etc. (also see dontkillmyapp.com )
Taifun
after i export apk it also says
yeah but i don't want the app to show unremovable notification. that's why i select create task.
or is there have a way to not show notification while running at the background??
Which version are you using?
Always use the latest version
Please elaborate what exactly you are planning to do in the background
For example the alarmmanager does not require a persistent notification App Inventor Extensions: Alarm Manager | Pura Vida Apps
Taifun
@Taifun I want my app to send a reminder notification every specified three day in a week. only notification or message. could it be possible with this extension without showing any unremoved background notifier like shown for create process function.
Yes
that's exactly the use case of the alarmmanager
Alarm Manager Extension to send a notification or autostart the app at a given time even above the lockscreen or at boot time only once or repeated by an interval
Taifun
So it is not possible with Itoo??
You could do it with itoo, but as itoo is not an alarmmanager it needs a foreground service together with a clock to do the same
See also this example, which uses itoo for an alarm together with my opinion why this is not recommended
Taifun
there is some issue with this automatic event registration...
for example if I just want to get the current datetime in the background, itoo "thinks", I have a running clock and tries to find the Clock1_Timer event handler... and as you can see from the screenshot it tries to find it quite frequently...
@Kumaraswamy as this is great feature to simplify things for the app developer, it might make sense to have a flag to deactivate automatic event registration for those who like to have more control over what's going on in the background...
Taifun