damonkohler / sl4a

SL4A brings scripting languages to Android by allowing you to edit and execute scripts and interactive interpreters directly on the Android device.
Apache License 2.0
2.43k stars 800 forks source link

Allow custom icon for notify() #286

Open damonkohler opened 9 years ago

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:24

Allow use of custom icon (through specifying the path to an icon file) for
notify(). An images speaks thousand words! User should be responsible for
picking an image of appropriate size (32x32 I think), and there should a
check for existence and appropriateness of the image file and defaults to
the default image if the check is not passed.

Original issue reported on code.google.com by xinl...@gmail.com on 11 Oct 2009 at 2:14

Copied from original issue: damonkohler/android-scripting#121

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:24

Original comment by damonkoh...@gmail.com on 2 May 2010 at 3:02

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:24

Also it is not convenient that in the project which uses SL4A, we are obliged 
to create an icon to make notify() work.
If we do not have such icon in the resources of our custom project  - the 
notification just will not be shown without any exception or log entry.
Possible solution: add exceptions to any RPC methods being called without 
proper parameters to make it easier to debug,

Original comment by rainfro...@gmail.com on 20 Oct 2011 at 10:22