I could add a feature to the B4A Browser that shows conflicts with library short names so that you at least aware of the issue before you try and use the two libraries together. Would that help?
That'd be useful - it'd be interesting to see how many libraries in my additional libraries folder currently have conflicting ShortNames.
This requires a namespace feature similar to Java namespaces. For now I do not plan to add such a feature as in almost all cases it will only make the code more "cumbersome" and error prone.
Yes it'd instantly make B4A less user friendly to people not familiar with fully qualified names.
My reason for starting this thread though was really to find out if others had wondered if or when ShortName conflicts will become a problem in B4A.
If the B4A IDE enumerated all currently enabled library ShortNames and could generate a unique ShortName where there is a conflict.
So OSMDroid and GoogleMaps libraries both have Marker objects.
If both libraries were used in the same project the IDE could enumerate OSMDroid_Marker and GoogleMaps_Marker - that'd be less confusing that resorting to fully qualified java class names i think?
But such an update to the IDE would have to anticipate that the user might copy/paste code from a project where ShortNames conflict to another project where there is no conflict.
In the project with no ShortName conflict the copy/pasted code would reference OSMDroid_Marker for example and this would no longer be necessary.
Again confusion is likely to be caused.
Anyway for now the best option must be to choose a ShortName that's unlikely to be duplicated when compiling a library.
Martin.