I'm thinking of taking the package name com.mangoapps.appname, but my question is, can someone else also use the prefix "com.mangoapps"? Since I want to create a series of apps, I want a unique prefix "com.mangoapps".
And another question, how do I know if someone else is already using this package name as prefix?
Is there need of any relation between package name and developer's name?
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
The package names should be based on a domain name that you control or have permission to use - that way ideally you have final say over which packages exist. What is your affiliation with mangoapps.com ?
note that in the real world none of this is enforced except by etiquette.
Yes someone else can also use the prefix though the people won't do it in general as the name of their company is used after com prefix.
Its a part of url so you can always append to the url itself and search on google play
i.e.
com.mangoapps.appname
com
-> companymangoapps
-> name of the companyappname
-> name of the specific application that user will search on play store1) Yes, others can use the same prefix. Generally speaking, the prefix should be the reverse of your domain but it doesn't have to be, it can be anything. The prefix isn't visible to others so you could for example use com.SameerThigale if you don't have any other suitable domain to use.
2) They may already be doing so and there is no way to tell. However it doesn't really matter. All that needs to be unique (if you want to upload to the Play Store) is your prefix plus appname, i.e the complete package name. By choosing a prefix that relates in some way to you, you effectively eliminate the likelihood of conflicting with others.
3) There need be no relation between the package name and yourself. The package name is just a unique identifier for your application.
Sealing Packages within a JAR says
So if your JAR is sealed and appears early on the CLASSPATH, then you can be sure that no other jars will be able to include classes in your package that have privileged access to package-private members.
There is no way to guarantee uniqueness. Anyone can do the same as you, that is just type in the name as packagename.
Things you can do to insure people wont do that, is to take (the reverse) of a domain you own. So if mangoapps.com is yours, there will probably be no one taking that packagename. And if you don't own the domain, you probably don't want to pick the name, as the owner might use it as default.
Because of this, there is also no way to know if someone uses that packagename. There might be a theoretical way to, for instance, check it for one place (e.g. some store, some collection of programs, etc), but I know of no such method for the play store.
There is no need for a relation between your name and the package name. The relation, if any, is with the name and a domain name, although it is not mandatory.