🔔 MelonNotification • Various styled notifications + Itoo

You want a sample project showcasing my solution? Just making sure you understood it right. I meant that if you use Itoo foreground service and want your notification to have an intent you should use CreateItooIntent instead of CreateIntent component for the Notification Intent parameter. I guess this has something to do with Android's security policy changes.

I am running Android 16 beta, so I don't expect you to take a look at it now :smile: just documenting.

Also any info about custom notification sound?

1 Like

Oh opps, that was my dizzy over look :grin:

Will consider it for the next update :+1:

Haha yeah I felt so :slight_smile:

Very nice, will be waiting!

2 Likes

nice job

@Kumaraswamy how can i make the button close itoo and app?

You could adjust this example to your needs

Taifun

yes i did and it worked for opening the app but the second button didnt work for closing itoo

Hello everyone :wave:

I want to create a notification with two buttons that, when pressed, will open specific Arrangements in my app.

:small_blue_diamond: The first button (:loud_sound: Speaker) → It will activate Text-to-Speech to read the content of the notification.
:small_blue_diamond: The second button (:date: Calendar) → When I press the button it will open the app and the arrangement will appear

:hammer_and_wrench: Problem: I'm not sure how to configure the notification to open the correct Arrangement when a button is pressed.

:point_right: What is the correct way to do this? Is there a specific method or extension you recommend?

Thank you very much for your help! :raised_hands: :rocket:

lets notify me how to make close button working, open button is working and making the screen open but i cant make close button working for closing notifications and cancel itoo!

In event Screen1.Initialize check the start value of the intent

You can get it using the block get plain start text

http://ai2.appinventor.mit.edu/reference/blocks/control.html#getplainstarttext

Pseudo code:

if get plain start text = button1
Then set arrangement1.visible to true
Else if get plain start text = button2
Then set arrangement2.visible to true

Taifun

Rename you procedure to AlertOnce

EDIT: also your procedure AlertOnce should have an argument, see the example from 🔔 MelonNotification • Various styled notifications + Itoo - #8 by Kumaraswamy

Taifun

Thank you it works!

Close button is still not working for closing itoo and notifications

Taifun

What do the bot and important parameters in the Create person block mean?

i tried everything indeed and i cannot make close button seperated, open and close are working same to open the screen and i cant make close button works to close itoo, maybe i dont understand the logic or maybe there is something needs to be adjusted


here is my aia file hoping to figure the issue out as i am sure it will be so useful for all users here to make both buttons working separated!
gVizQueryDemoTaifun2_2_1.aia (1.2 MB)

Unfortunately you are ignoring my answer

There is still no argument in your procedure
So what about adding thar argument?

Taifun

Please elaborate what you are talking about
Also a screenshot could help

Taifun

if is that what you mean but still doesn't work as both buttons are opening the app screen

i just wanna close the iteo and notifications came from timer with changing the sheet num to 7 or more as when the num exceeds 7 it is keeping notifying until changing the num again