b4x.example - NO!

Mark Stuart

Active Member
Licensed User
Longtime User
Forum People,
For those who upload B4X projects, please stop uploading projects with the Package name set to b4x.example. It causes problems when the app is launched onto a device. That's been my experience.

And I know @Erel is a culprit with this. :)

Also name your project something besides:
1.b4a
or
project.b4a

Give the project name what you think is a unique name.
It's not that hard, and doesn't take a minute to apply these requirements.

All with due respect,
Mark Stuart
 

Sandman

Expert
Licensed User
Longtime User
Very good! I shall hereby name all my projects with a random number, as generated by the code below.

In fairness, it is possible that Erel uses the exact same code when naming his projects randomly, with some minor difference.

1762972421251.png


Source
 

Mark Stuart

Active Member
Licensed User
Longtime User
which kind of problems, aside from overwriting the previous example you tried on the same device?
Right now I don't remember the device error, except that it threw an error and when renaming the Package name it worked as it should.
Another issue after downloading a project from the forum is that if the folder name in the zip is a folder I already have, we'll have to go thru the process of renaming folders, etc. Yes, you say, not a big deal, but it is a courtesy thing that should be taken care of by the poster person.
When I post a project, I try to make sure the project folder is unique - at least to me. When zipped, the zip file name is the same as the folder.
 

aeric

Expert
Licensed User
Longtime User
When I try an example from the forum, I always unzip it first on my Desktop.
I seldom facing issue with conflicting project name. WinRAR may prompt me if files are going to be overwitten.

I also won't let my Desktop full of zip files of example project. I will clear them very soon.
I do have B4X Development directory. I will ensure I rename the example projects I want to keep with more meaningful names for future search.

I personally like the idea of b4a.example for the package name because it will overwrite my previous example app on my Android phone.
This actually help to clean up my phone.
If there is an error, I know I need to clean the project first.

I write less B4A nowadays. In B4J, package name is not a problem.
 
Top