|
Post by shinsen on Mar 15, 2019 2:40:48 GMT
Actually, i'm using notify4script for create notification and send it to my smartwatch by this way
function sendNotification()
totalCount = r6Count + r5Count
os.execute("su -c 'am startservice -e int_id 1 -e str_title Runes: -e str_content "..totalCount.." -e float_tsize 20 -e float_csize 24 -n com.hal9k.notify4scripts/.NotifyServiceCV'")
end but if you noticed, the command need to be launch as root and will not work without it.
I've some questions :
There's a way to create a notification without root access if i want to share my script? Ankulua have a native fonction for create a notification?
Thank's and have a nice day.
|
|
|
Post by AnkuLua on Mar 15, 2019 6:05:49 GMT
The answer is no. Does highlight() with text satisfy the purpose? If not, why?
|
|