[android-developers] Access internet while bypassing permission check?

2010-01-09 Thread Zhou Li
Hi, all, I'm working on a security project which needs connect to internet in a stealthy manner. It will be perfect if our app can access internet without asking for the permission INTERNET. I found it is OK to open browser with a URL without that permission but the user will notice that. Is there

[android-developers] Permission denied for installing apk in phone

2009-12-28 Thread Zhou Li
Hi, all, I'm writing an app which needs to install another app. I followed the code in the link below: http://www.anddev.org/viewtopic.php?p=31112 to do this: Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.fromFile(new File(fileName)), "application/ vnd.android.package