Kid Apps - Notification Icon

77 views
Skip to first unread message

RudeboyX

unread,
May 25, 2013, 7:22:25 AM5/25/13
to tas...@googlegroups.com
Hi All
 
   This may have been covered before, but I can't find a definitive answer via searching the forum or documentation.
 
I have my exported app which all works fine apart from my notify actions. My app stops responding and a force close is required. I assume the issue is because I'm using icons from an ipack, not Taskers built in ones. They obviously work fine in Tasker but not when exported.
 
Is this the case?
 
Is it at all possible for me to get my custom icons to display for notifications? I use multiple icons, so setting it as blank to force the exported apps project icon is not sufficient.
 
@ Pent, If not supported now, will it be in future updates?
 
Thanks in advance
RBX
Message has been deleted

Pent

unread,
May 25, 2013, 11:11:10 AM5/25/13
to Tasker
Have you tried the beta posted at the top of the forum ?

Pent

RudeboyX

unread,
May 25, 2013, 11:21:26 AM5/25/13
to tas...@googlegroups.com
Hi pent.

Yes 4.1b1 is what im running at the moment along with the corisponding app factory.

Regards
RBX

RudeboyX

unread,
May 25, 2013, 12:29:35 PM5/25/13
to tas...@googlegroups.com
Some further testing = I can get a notification to show with a simple test app, but the ipack icon still does not show. The notification icon is blank.

The notification which crashes my app is as below

Title - Tablet Stats
Text - Synchronizing......
Icon - ipack icon
Number - 0/blank
Permanent - Yes
Priority - %NotificationPriority (notice the length. You updated tasker to alow upto 40 characters in the latest beta. It was for "scene element value" action, but may have something to do with it)
Actions - x2 (launch scenes) (both scenes are exported with the kid app)

Regards
RBX

Pent

unread,
May 25, 2013, 2:55:18 PM5/25/13
to Tasker
> I have my exported app which all works fine apart from my notify actions.
> My app stops responding and a force close is required. I assume the issue
> is because I'm using icons from an ipack, not Taskers built in ones. They
> obviously work fine in Tasker but not when exported.
>
> Is this the case?

Shouldn't be, will test.

> Is it at all possible for me to get my custom icons to display for
> notifications?

Custom ? No, you can only use ipack or builtin for Notify actions.

Pent

Pent

unread,
Jun 3, 2013, 8:26:07 AM6/3/13
to Tasker
> > I havemyexported app whichallworksfineapartfrommynotifyactions.
> >Myapp stops responding and a force close is required. I assume the issue
> > is because I'm using icons from an ipack, not Taskers built in ones. They
> > obviously workfinein Tasker but not when exported.
>
> > Is this the case?
>
> Shouldn't be, will test.

Doesn't crash for me. The icon is oversize in the pulldown, which I
might be able to do something about sometime.

Maybe try the latest beta.

If it doesn't help, I need more details i.e. please post the task
description with the notify icon.

Pent

RudeboyX

unread,
Jun 3, 2013, 12:27:44 PM6/3/13
to tas...@googlegroups.com
Thanks for the update Pent. I will try the latest beta (I was holding off for somthing a little more stable).
 
Here's the task (I had to copy the actions into a seperate task to export as the original task is part of an anonymous scene element tap task.)
 
I should note that I decompiled the ipack changed the icons to custom ones and re-compiled it. (The Icons work fine in Tasker so it may not even be the icon causing an issue) (The notification action buttons dont seem to be exported in the decription either, both use inbuilt Tasker icons. one launches a scene and one sends an autoremote message)
 
 

Tester (111)

      A1: If [ %ReceiveBatteryLevel !~ On ]

      A2: Element Image [ Scene Name:PhatStatsM - Mobile Element:ImageReceiveBatteryLevel Image:/storage/sdcard0/Dropbox/Graphics/Holo/Toggles/Checkbox-Checked.png ]

      A3: Notify [ Title:Tablet Stats Text:Synchronizing...... Icon:ipack:bluewhitepearlhd:a_media34_up Number:0 Permanent:On Priority:%NotificationPriority ]

      A4: AutoRemote Message [ Configuration:Recipient: Unknown devicechannel

Message: MobileUpdateRequest

Time to Live: 1200

Channel: PHATSTATS

Collapse Key: MobileUpdateRequest Package:com.joaomgcd.autoremote Name:AutoRemote Message Continue Task After Error:On ]

      A5: Variable Set [ Name:%ReceiveBatteryLevel To:On Do Maths:Off Append:Off ]

      A6: Else

      A7: Element Image [ Scene Name:PhatStatsM - Mobile Element:ImageReceiveBatteryLevel Image:/storage/sdcard0/Dropbox/Graphics/Holo/Toggles/Checkbox-Unchecked.png ]

      A8: Notify Cancel [ Title:Tablet Stats Warn Not Exist:Off ]

      A9: Variable Set [ Name:%ReceiveBatteryLevel To:Off Do Maths:Off Append:Off ]

      A10: End If

 
 
Regards
RBX

Pent

unread,
Jun 3, 2013, 2:21:58 PM6/3/13
to Tasker
> I should note that I decompiled the ipack changed the icons to custom ones
> and re-compiled it.

Could you try it with a 'standard' ipack before I look any further
please ?

Thanks,

Pent

RudeboyX

unread,
Jun 4, 2013, 5:00:46 AM6/4/13
to tas...@googlegroups.com
Hi Pent
 
    Just tested by changing the icon to a standard ipack icon (freshly downloaded from play store). same issue exists. the above mentioned notify action still crashes my child app, but works fine within tasker
 
I can send the scene xml to your support address if you want to look into it further? I don't really want to post it here as it's going to be the main part of the app I'm releasing.
 
Regards
RBX

Pent

unread,
Jun 4, 2013, 7:23:21 AM6/4/13
to Tasker
> I can send the scene xml to your support address if you want to look into
> it further? I don't really want to post it here as it's going to be the
> main part of the app I'm releasing.

What's a scene got to do with it ? The task with the notify action
is in a scene ?

Pent

RudeboyX

unread,
Jun 4, 2013, 9:52:22 AM6/4/13
to tas...@googlegroups.com
Yes, the action is assigned as anonymous task in a scene element.
 
Regards
RBX

RudeboyX

unread,
Jun 4, 2013, 10:12:18 AM6/4/13
to tas...@googlegroups.com
By removing the 2x action buttons from the notifiy action, the notification appears but the icon is way to big and then 1 second later the app crashes again. So removing the action buttons helped delay the crash for a moment.
 
Actually thinking about it. 1 of the action buttons has an icon (tasker inbuilt) and the label but "No" action assigned. This is because I wanted the button to be grayed out until the notification receives an update which works fine in tasker. maybe the lack of an action being assigned to it is crashing the app.
 
but that still doesnt explain why the app crashes a second later when I dont have any actions in the notification.
 
Regards
RBX

RudeboyX

unread,
Jun 4, 2013, 10:37:49 AM6/4/13
to tas...@googlegroups.com
Removing just the 1 action button (the one without an action assigned) alowed the notification to appear but again I get a huge icon and a crash 1 second later.
 
I then placed a flash and a wait between all actions to see where exactly it went wrong (previously this showed the notification as the issue), but now the notification apears but crashes quicker, about half a second. I dont see any of the flashes after the notification action.
 
PS, when exporting the app, a couple of times it went through the process but no app appeared in my kid directory. I had to physically change the version number to get it to export, where as before tasker would create the app with the same version number, it just increased the number on the file name by 1. (now using 4.1beta3 + appfactory4.1beta3)
 
Also since installing 4.1beta3 + Appfactory, and exporting my app, My app crashed upon first launch and at the first trigger of a task. running my app again seemed to work (up until the same crash issue I reported originally) so the newer app factory beta seems less stable to me.
 
I'm at a dead end now, i hope you can sus it out.

Pent

unread,
Jun 4, 2013, 12:29:55 PM6/4/13
to Tasker
> Removing just the 1 action button (the one without an action assigned)
> alowed the notification to appear but again I get a huge icon

Me too, it's expected because Ipacks have an additional small version
of each icon, but when converting to a kid the ipack icon get's
builtin to the kid APK.

> and a crash 1 second later.

Could you send me a log ?

http://tasker.dinglisch.net/userguide/en/faqs/faq-appcreation.html#e

> PS, when exporting the app, a couple of times it went through the process
> but no app appeared in my kid directory.

If you don't exit via the main screen, the new version number is not
saved (it's part of normal data).
Not very good, I know.

> Also since installing 4.1beta3 + Appfactory, and exporting my app, My app
> crashed upon first launch and at the first trigger of a task. running my
> app again seemed to work (up until the same crash issue I reported
> originally) so the newer app factory beta seems less stable to me.

Please send me a log when you get such crashes if possible.

Pent

RudeboyX

unread,
Jun 4, 2013, 3:11:39 PM6/4/13
to tas...@googlegroups.com
Log sent to your support address

Regards
RBX

Reply all
Reply to author
Forward
0 new messages