Take the 2-minute tour ×

I am new to android development.

I have a doubt that while creating an android project (using Eclipse) it asks to specify a package name in project properties which is in the form sample.android but not single name like sample.

What is the reason behind it to follow such naming convention?

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted


share|improve this answer
add comment

this is just plain programming convetion.

to avoid conflicts with other company, developer's packages.

check this link. http://en.wikipedia.org/wiki/Java_package#Package_naming_conventions

share|improve this answer
add comment

Your Answer


