Wish Maintain App Icon

Roycefer

Well-Known Member
Licensed User
Longtime User
This is a very minor wish. It would be handy if the IDE stored the location of the image file that was used as the basis for the icon in the IconFile attribute in the .b4a file. Then, during compilation, the IDE checks to see if the icon in Objects/res/drawable is there and if it isn't, uses the IconFile attribute to generate it. This would simplify how B4A projects are version controlled as it would reduce the number of generated files to stage.
 

sorex

Expert
Licensed User
Longtime User
put this at the top of your main module

#CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,/S "..\..\Android Specific" ".."

B4X:
 #CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,/S "..\..\Android Specific" ".."

and put icon.png in

project folder \Android Specific\Objects\res\drawable\

then you just need to update your icon in the Android specific folder and it gets copied at compile so it won't get lost during a manual clean of the objects folder.


my project folder structure is as follows...

Android Specific\
B4A\
B4i\
B4J\
Data\
IOS Specific\
Shared Files\
Shared Modules\
 
Last edited:
Top