Android Icon Resource Suggestion

Monkey Forums/Monkey Bug Reports/Android Icon Resource Suggestion

therevills(Posted 2014) [#1]
Just a quick idea as I find it so annoying that when moving Monkey versions or doing a clean build I lose my Android Icons:

Have trans scan for a folder called myGame.android (like myGame.data) with the normal Android resource folders:
* drawable-hdpi
* drawable-ldpi
* drawable-mdpi
* drawable-xhdpi
* drawable-xxhdpi
* drawable-xxxhdpi

And if it finds them it copies and replaces the resources in build/android/res...

What do you think?


MikeHart(Posted 2014) [#2]
+1 definitely


Paul - Taiphoz(Posted 2014) [#3]
Something I have suggested before was to add additional configs.

#ANDROID_APP_ICON_HDPI="c:\icons\mynewgame.png"

and just have trans grab and copy it to where it needs to go, these flags could be used along with a command line tool to actually set an exe icon as well as icons for the other platforms, in regard to html5 and flash it could point to the webpages favicon.ico or for apple the ios equivalent.

Either way I agree we need something like this because like you it drives me mad, what I have teken to doing in the mean time is create a default ember icon which I use to overwrite the default android icons that are in the monkey folder, then when I build at least it's got an icon that reflect ember and not some generic green android.


dragon(Posted 2014) [#4]
++++++++++++1

here are 3 solutions

1) #ANDROID_APP_ICON_HDPI="c:\icons\mynewgame.png"

2) Template directory for Project

3) A script-system