SUGGESTION: Set Tasker's foreground notification icon to something useful

746 views
Skip to first unread message

Wojtek

unread,
Jan 27, 2013, 6:56:57 AM1/27/13
to tas...@googlegroups.com
Hi Pent,

Considering the Android Notification bar tends to be "prime real estate" can you consider the following suggestion for the Tasker app's foreground notification icon to something useful such as showing the current battery level or the current rate of battery Amps consumed or charging similar to the stats offered by the app "Battery Monitor Widget". Perhaps this can be user defined if they prefer the static icon.
That way, the Android notification icon is still present to keep Tasker in the foreground whilst making the icon useful in the Android notification status bar.

Thanks
Wojtek

Wes Stacey

unread,
Jan 28, 2013, 9:30:37 AM1/28/13
to tas...@googlegroups.com
You can change that icon in tasks by using the Tasker Icon Action.

So you can set it up to use whatever you want.

Wojtek

unread,
Jan 28, 2013, 4:09:06 PM1/28/13
to tas...@googlegroups.com
Hi Wes,
I understand you can change the Tasker Icon via tasker action "Set Tasker Icon" however there is no option to show a value such as the battery level % as a number from 0-100 for example. Something useful.

GermainZ

unread,
Jan 29, 2013, 6:07:54 AM1/29/13
to tas...@googlegroups.com
Create a hundred icons named icon1.png, icon2.png, icon3.png, etc. Just grab any pack from the web.
Then have your task trigger on battery change:
Set Icon, %imagepath%BATT.png
Where %imagepath is something like /mnt/sdcard/icons/icon (the underlined part is part of the files' names, not a folder).

Walter Francis

unread,
Feb 8, 2013, 4:33:51 PM2/8/13
to tas...@googlegroups.com
I must be missing something, but I see no way to put a variable here.  It only allows a selection of an icon from the current pack.  Using 4.0.b12.

hollywoodfrodo

unread,
Feb 8, 2013, 8:06:47 PM2/8/13
to tas...@googlegroups.com
Yeah, I don't see a way to "Set Icon" to a variable.  I only have the option to set it to one of the built in icons from what I can tell...

electricpete

unread,
Feb 9, 2013, 2:54:09 PM2/9/13
to tas...@googlegroups.com
I think there are two different types of tasker notification icons.  

One is the type that a user/programmer generates from a tasker notify action (in a tasker program). It can be made "permanent" until a cancel action is sent from tasker. 
You can control that icon via a tasker program (and build a profile to update it every time battery level changes.... and one of choices is to update it based on a filenmame... which you could build as a string variable based on battery level).

The other type is the permanent one. I think this is what OP was talking about since he mentioned he was stuck with it.
I think most people go to preferences and adjust so it is not displayed. 
Preferences / Monitor / Notification Icon / Unchecked.
Doesn't that work for you?
If for some reason that doesn't work... I don't think it can be adjusted programmatically... it is only accessible via prefernces menu and not by tasker command.  I guess there is a small possibility you could point it to a filename and then overwrite the graphic file stored in that same filename, but I'm not sure that would work.





You'd need a profile to update.
When battery level changes: build the filename based on battery level, then set 
The filename would be the variable.
The task would 

electricpete

unread,
Feb 9, 2013, 2:57:25 PM2/9/13
to tas...@googlegroups.com
My apolgoies. I see there is a way to adjust the (foreground) icon (second type).
As Germain says. 
You'd need a profile to update.
When battery level changes: build the new filename based on battery level, then set the icon to that filename. 

electricpete

unread,
Feb 9, 2013, 3:14:02 PM2/9/13
to tas...@googlegroups.com
Now I have to waffle back one more time to my original answer, consistent with what other posters Walter, Hollywood etc said.
In Tasker version 1.3.3u2m, when I select action / tasker / set tasker icon (to change the 2nd type of notification icon), there is only a choice to select an icon... no opprotunity to select a filename.  This is in contrast to a normal notification icon (the first type) where we have opportunity to select a filename.
Sorry

Stefan Sarzio

unread,
Feb 18, 2013, 5:08:43 AM2/18/13
to tas...@googlegroups.com
Hi Pent,

can we get those action buttons (JB+) (that we now have for user notifications) for the Tasker notification itself?

Pent

unread,
Feb 18, 2013, 7:10:46 AM2/18/13
to Tasker
> can we get those action buttons (JB+) (that we now have for user
> notifications) for the Tasker notification itself?

If you mean the holo icons built into the beta, you can use those for
the monitor notification, yes.

Pent

Stefan Sarzio

unread,
Feb 18, 2013, 7:17:12 AM2/18/13
to tas...@googlegroups.com

No, sorry. I mean the buttons that JB+ notifications can have beneath the notification itself.

You have started to support them with the new version of Tasker. But (as far as I can tell) only for user created notifications.

I would like to be able to add action buttons to the Tasker notification.

--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Stefan Sarzio

unread,
Feb 18, 2013, 7:46:46 AM2/18/13
to tas...@googlegroups.com
From the "Next Version" page:

added: Notify actions: action buttons (JellyBean+)

Pent

unread,
Feb 18, 2013, 9:31:56 AM2/18/13
to Tasker
> No, sorry. I mean the buttons that JB+ notifications can have beneath the
> notification itself.
>
> You have started to support them with the new version of Tasker. But (as
> far as I can tell) only for user created notifications.

I'm thinking of some static functions, like Run Log etc.

I realise the hard core will want them customizable, but that's going
to have to go on the todo list.

Pent

Stefan Sarzio

unread,
Feb 18, 2013, 9:41:38 AM2/18/13
to tas...@googlegroups.com
On the todo list is fine for me. Thanks!
Reply all
Reply to author
Forward
0 new messages