Android Question Converting an old app to use B4X pages

GuyBooth

Active Member
Licensed User
Longtime User
I have a an app that has been developed in B4A over many years. It uses a starter service, and consists of:
6 Activities
6 Services
11 classes
2 code modules
I want to be able to programmatically change an icon in the main menu bar in just one of the activities, and to do this I understand I need to be using B4XPages, which I have not worked with.
Would this require a big change, lot of work? Or is there something I can do with a minimum amount of change to the existing code?
 

Brian Dean

Well-Known Member
Licensed User
Longtime User
I want to be able to programmatically change an icon in the main menu bar in just one of the activities, and to do this I understand I need to be using B4XPages.

I think that you are mistaken. This statement implies that, before B4Xpages was developed, it was impossible to change an icon in a menu bar, which is clearly not true.

B4A still supports Activity based apps. Generally speaking, if you have a reasonably large app already developed (and twelve activities/services seems reasonably large to me) then the work required to convert to B4XPages is not going to be rewarded. You should plan to change the existing code.
 
Upvote 0

GuyBooth

Active Member
Licensed User
Longtime User
it was impossible to change an icon in a menu bar, which is clearly not true
Perhaps I should have said "Title Bar". Posts that I have read indicate this can only be changed when using b4xPages - unless you know another way?
I have an Icon which I needs to be changed when clicked.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…