₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,347,036 members, 8,526,336 topics. Date: Saturday, 28 November 2026 at 10:54 AM

Toggle theme

Why Most Android App Package Names Start With 'com' - Phones - Nairaland

Nairaland Forum › Science/Technology › Phones › Why Most Android App Package Names Start With 'com' (1007 Views)

1 Reply (Go Down)

Why Most Android App Package Names Start With 'com' by olarababi(op): 9:58am On May 26, 2017
By now, everyone that has an Android probably knows what an APK is. APK files are analogous to other software packages such as APPX in Microsoft Windows or Deb packages in Debian-based operating systems like Ubuntu. But other than the fact that an APK file is an app that you can install, what else do you know about an APK? What is the full form of APK and what does it stand for? Why do most Android package names start with ‘com’?


If you have ever lurked around in the Android/data folder on your Android device, you would’ve noticed a number of folders with the initials ‘com’. An Android Package Kit, or APK, is named according to the java naming convention since most of the OS uses the said programming language. These package names are always written in lower case letters to avoid name conflicts with java classes.

ALSO SEE...History Of Android Operating Systems, From Cupcake To Nought
APK naming convention

In general, a package name begins with the top-level domain name of the organization and then the organization’s domain and then any subdomains, listed in reverse order. The organization can then choose a specific name for its package. Subsequent components of the package name vary according to an organization’s own internal naming conventions.
Companies use their reversed internet domain as the application package name initials. For example, com.nairaland.myapp would be the name for a package called myapp created by someone at Nairaland.com. If the app is developed by an employee from Nigeria, or the app is developed for the said region, we can choose to name it as com.nairaland.nigeria.myapp
Since .com is the most popular domain name, we find most of the packages with the same initials. The reason for the reversed naming convention has something do with the layout on the storage media. This creates a path hierarchy if you consider each ‘.’ as a path separator. Thus, all applications from a publisher would sit together in the path hierarchy. Take some Android apps from Adobe for example. Packages from Adobe would be of the form:

com.adobe.reader (Adobe Reader)
com.adobe.photoshop (Adobe Photoshop)
com.adobe.ideas (Adobe Ideas)

These can then be internally mapped (respectively) to:

com/adobe/reader
com/adobe/photoshop
com/adobe/ideas

As mentioned, this hierarchical package naming convention comes from the java programming language. It may not be of any consequence to the end user, but it can prove quite helpful for developers.

SOURCE
Re: Why Most Android App Package Names Start With 'com' by lekjons(m): 2:02pm On May 26, 2017
I like this.! Thanks..






com(domain).rockstargames(developers).gtasa(product)



Now i get it..
Re: Why Most Android App Package Names Start With 'com' by rookidmart: 3:40pm On May 26, 2017
lekjons:
I like this.! Thanks..





com(domain).rockstargames(developers).gtasa(product)


Now i get it..
Not everyone follows the convention though.
Re: Why Most Android App Package Names Start With 'com' by NCP: 4:38pm On May 26, 2017
rookidmart:
Not everyone follows the convention though.
Exactly...

1 Reply

Why Is It Most Android Phone Storage Is Not Upto Standard? • How To Fix App Package Conflict. • Why Most Android Phone Are ALIKE • 2 • 3 • 4

Tech Premier League 2017: CARLCARE VS. AFMOBI • Free Browsing For All Network HOT!!! • 3 Weeks Samsung Galaxy J7prime For Sale