Since it has been asked on some occasions about how to change the icon, I decided to find out.
https://www.b4x.com/android/forum/threads/how-to-change-app-icon-at-runtime.157576/
https://www.b4x.com/android/forum/threads/change-icon-at-runtime.104009/
Of course @Erel gives his opinion on the matter here:
https://www.b4x.com/android/forum/threads/change-icon-at-runtime.104009/post-652119
In this thread @chjk has left his progress on this and I decided to use his example based on activity and convert it to B4XPages which I attach below. All credits to Him.
		
		
	
	
		 
	     
		 '
	'
			
			https://www.b4x.com/android/forum/threads/how-to-change-app-icon-at-runtime.157576/
https://www.b4x.com/android/forum/threads/change-icon-at-runtime.104009/
Of course @Erel gives his opinion on the matter here:
https://www.b4x.com/android/forum/threads/change-icon-at-runtime.104009/post-652119
In this thread @chjk has left his progress on this and I decided to use his example based on activity and convert it to B4XPages which I attach below. All credits to Him.
- Don't forget to check the manifest.
- Java code online in Main
- The icon2.png file (read-only) in the folder ..\objects\res\drawable
Attachments
			
				Last edited: 
			
		
	
							 
				 
 
		 
 
		 
 
		 
					
				 
						
					 
						
					 
 
		 
 
		 
 
		