anwarma anwarma - 14 days ago 9
Android Question

Valid name for Android Package Name

If I own a domain name like e.g Dan-Carlos.com

Does the andoid package name allow use like com.dan-carlos.com?

I have not tried using it but I am curious if anyone tried domain name with hyphen '-' in it.

Answer

refer to my working years and some web pages like this you should replace "-" dashes with "_" underline.

if web site is : dan-carlos.com

package name is : com.dan_carlos