Android Question Simple question about loading the program to my phone

AlexOfOz

Active Member
Licensed User
I am working on my 2nd program, thanks to the great help I get here, but have struck a problem.

When I load the second program to my phone, it replaces the first program that is already there. The icons and names are different - I checked - and everything works successfully with each program. But the 2nd program simply replaces the first on my phone.

What am I doing wrong?
 

JohnC

Expert
Licensed User
Longtime User
You need to create a unique "package name" for each program via the "Projects...Build Configurations" IDE menu.

The default value is "b4a.example", but you can't have two programs with the same package name because each app will overwrite the previous one when it's installed.
 
Last edited:
Upvote 0

AlexOfOz

Active Member
Licensed User
Thanks John
Follow up. I have done as John advised and have a/ learned something new and b/ now got 2 working programs on my phone.

This B4X site and forum are excellent in explaining things and helping even novice newbies like myself understand how things work and get on with developing. I have been telling internal developers at my work, on our work based forum, about B4X and that I'm learning to write apps for Android in basic. I've had some astonished, but positive, responses and I'd be surprised if one or two haven't been in to check out b4x.com
 
Upvote 0
Top