Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

Are there conventions to follow when naming an application package for an Android application? I'm coding in Xamarin Studio, using .Net, so I feel far from this "com.myapp.etc" naming convention. Are there rules to follow when naming a package?

share|improve this question
    
recommended reading: Why is asking a question on “best practice” a bad thing? –  gnat Mar 14 at 19:59
1  
add comment

1 Answer 1

up vote 2 down vote accepted

The com.domain.myapp convention is to prevent namespace collision globally. Android doesn't allow two packages of the same name, so you can't use a generic name. If you don't have a web site for your app, a lot of people use com.github.myGithubUsername.myApp if they use github to host their version control.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.