Preparing for Android Market - icons and compiling

ietv

Member
Licensed User
Longtime User
I followed the directions in the Wiki to use multiple icons for different screen sizes.

B4A keeps renaming my icon to icon.png, which seems to go against the Android design guide, which suggests (requires?) using ic_whatever.png. If I change it manually, will B4A figure out that's the right icon when I recompile?

And about compiling... I only see compile and run if I want to sign the apk. Is that the only option to compile and sign? I can compile without signing without starting up an emulator or hooking up a device.

Thanks.

S
 

susu

Well-Known Member
Licensed User
Longtime User
I used many no-standard icon and everything still ok.
When you compile your app will be signed with your private key. And of course, you can compile without connect to emulator.
 
Upvote 0

ietv

Member
Licensed User
Longtime User
So do I choose "Compile (without signing)" to get an apk signed by my private key? The "without signing" seems to indicate it won't sign the apk.

If I add a private sign key, then "Compile and Run" first, will "Compile (without signing)" still add the private sign key to the updated apk?

If I add a private sign key, does it automatically sing the apk even if I tell it to compile without signing?
 
Upvote 0

nfordbscndrd

Well-Known Member
Licensed User
Longtime User
I followed the directions in the Wiki to use multiple icons for different screen sizes.

B4A keeps renaming my icon to icon.png...

Did you follow these steps in the Wiki?

 
Upvote 0

ietv

Member
Licensed User
Longtime User
Did you follow these steps in the Wiki?

Yes. But what happens is when I add the icon, no matter what I named it before, it becomes "icon.png". I can go through and name all the other resolution icons to "icon.png", but I prefer to name it with the Android suggested prefix "ic_launcher_" + my apk name.

If I go back and rename the icon in the directory "drawable", it seems to create another icon named "icon.png". Then the "drawable" directory has 2 icons in it - the one I named and "icon.png".

So am I stuck with "icon.png" then?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…