开发者

Android Mobile number and when Unstalling ask password for unstall

I want to know mobile number from android apps.I searched in here.some one give this code.

TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
 String phone = tm.getLine1Number();

but It is not working in mobile It is working 开发者_如何学Pythonin Emulator.

Mean time when I installed a project that time asked a password and when uninstalled ask password.

Can anyone have idea about this.can anyone help me .please some sample


Q 1. I want to know mobile number from android apps

Ans. You can't get the mobile number from your application . It is not possible.

Q 2. Unstalling ask password for unstall

This is simply impossible for a user-level app. For good reason - just imagine putting a malicious app on the market that cannot be removed!

But i have googled on it and find this link . http://www.mediafire.com/?7f52h3bb5tz66am

This is application is simple reading log to implement this but this will stop uninstall all application not a particular application.It has option to set password .so application will be uninstalled by you only after giving the correct password.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜