Tuesday, May 15, 2012

sl4a python notify question


I have two questions regarding the sl4a scripting language. I'd like to develop a python script that will be periodically contacted by a server and post some information to the notification bar.



I've successfully add message to the notification bar, but



  1. The notification icon is always sl4a logo. Is there a way to change it to something else? (I don't mind to use some hack method such as rename the resource file, if that will work...)

  2. When I click the notification, it just remove the message. I'd like to add some intent that would take the user to certain app or webpage. Is it possible?



Thanks!


Source: Tips4all

No comments:

Post a Comment