How to check Android licensing permission of other applications

夙愿已清 提交于 2019-11-30 09:18:25

So, a two-part question: is there any plan to implement what I'm looking for: to check from inside a free application whether any of my other paid published applications are licensed?

There is no way to do this.

If not, then what would be the best way of achieving what I'm seeking? I'm thinking of maybe sending an intent to each of the installed upgrades, getting them to perform the licensing check, and then getting the upgrades to pass the response back into my base application. Sounds a bit messy - any better ideas?

That sounds like the most reasonable way of doing it, assuming you have no other way of communicating between the clients (e.g. shared storage where you can write the licence status to).

You just probably want to make sure that you secure these methods with custom permissions, so that only your apps can broadcast the licence status to your apps.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!