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

Apps How do you name packages?

Let's say you are making an app the sends email and your name is Bob. You could put "com.bob.email". The package name is a way to identify your app from others, so you should make it specific to you. So for example, I make apps under the name BBA, so I would put "com.bba.email".
Package names also don't need to have three parts to them. As long as they start with "com." they should be fine. You could have seven parts, or only two.

Hope this helps explain it to you.
 
  • Like
Reactions: Z3R0115
Upvote 0
You don't need to start with com. You can have what ever you want as your package name, as long as it is at least two parts(part1.part2). The standard is two only use lowercase in package names.

The package name is there to separate apps/programs from one another. Like on android: You can have several apps called Gallery for instance. This is because they have different package names. If they all had the same package name, then one app would have overwritten the other.
 
  • Like
Reactions: Z3R0115
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones