• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Namespace when domain name begins with a number?

bobalooza

Lurker
Hello,

If your domain name begins with a number, say 123abc.com, can that still be used for a namespace for a package (com.123abc.myapp)? Is there some convention to be followed? '123abc' is not a valid java identifier according to Eclipse. I tried 'com._123abc.myapp' but that dies when I tried sending the app to the emulator.

I appreciate your time.
 
try com_123abc.myapp

Really it doesnt need to be perfect, it's just to avoid naming conflicts within an app & give you a unique package name for the market to ID your app.


 
Well, com_123abc.myapp definitely functions so I do appreciate your help. I take it from your response that there really isn't any hard-set rule, which is fine as your suggestion seems like it accomplishes all that is needed (it functions and it will be most likely unique).

Thank you for your help.
 
Back
Top Bottom