限制分享android应用apk [英] Restricting the sharing of android application apk

查看:84
本文介绍了限制分享android应用apk的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是安卓新手.我有一个应用程序,我必须限制应用程序的 .apk 文件被用户共享给其他手机 android 手机持有人.

就像如果我将我的 .apk 文件保存在我自己的网站上,那么我希望用户可以从我的网站下载 .apk 而不能与其他人共享相同的 .apk.我想限制共享 apk 到多部手机.每次用户想要安装应用程序时,他/她都必须从游戏中或通过我的网站安装,但无法安装共享的 .apk.

我也想问一下能不能区分app是分发安装的还是从剧里安装的.

所以你能告诉我这样做的方法吗?

提前致谢

解决方案

1) 如果用户在存储中有 apk,您无法阻止用户转发您的 apk,您可以做的是在您的应用安装后将其删除(您应该通过一些api搜索它,如果找到就删除它),限制:- apk可以在安装前共享.

市场上有一些工具/应用程序声称可以将安装的应用程序转换为apk,然后可以将其转发到其他设备.

apk 前向锁定的类似问题

2) 虽然您不能阻止用户转发您的 apk,但是可以阻止其他用户使用它,如果他们从其他来源收到此应用程序,那么您的 web,正如我之前所做的那样,通过客户端服务器通信,在基于移动 IMEI 的服务器上生成密钥,因此将针对特定情况激活此应用程序基于 IMEI 号码的移动设备.因此,如果其他用户尝试使用它,您可以检查此 IMEI 是否已注册,并采取相应措施.

I am new to android. I have a application to make where in i have to restrict the application's .apk file getting shared by the user to the other phone android phone holders.

Its like if i keep my .apk file in my own website then i want that the user can download the .apk from my website the cannot share the same .apk with some other person. I want to restrict the sharing of the apk to multiple phones. Everytime a user wants to install the app he/she has to install if from the play or through my website but the .apk shared cannot to installed.

Also i wanted to ask if we can distinguish whether the app is distributed and installed or installed from the play.

So can you please tell me some way out for doing this?

Thanks in advance

解决方案

1) You can not stop users to forward your apk if they have apk in storage, what you can do is to delete it after your app installed(you should search it via some api and if found delete it), Limitation :- apk can be shared before installing.

and there are tools/apps exist in market which claim to convert installed app into apk, and then it can be forwarded to other device.

Similar question on Forward locking of apk

2) Though you can not stop user to forwarding of your apk, But can stop other user to use it, if they receive this app from other sources then your web, as I myself did it earlier, by client server communication where a key is getting generated on Server based on mobile IMEI, so this app is going to be activated for particular mobile based on IMEI number. hence if other users try to use it you can check if this IMEI is register or not, and take action accordingly.

这篇关于限制分享android应用apk的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆