If you post your apk to a web server and download it using Android browser in the emulator, then you should see the permission requests that you're referring to. adb bypasses the PackageInstallerActivity which contains the UI that prompts the user. You could also invoke the PackageInstallerActivity directly through intents. Checkout packages/apps/PackageInstaller/AndroidManifest.xml.
Dirk On Fri, Mar 27, 2009 at 5:58 AM, guillaume leterrier (Teleca Germany) < [email protected]> wrote: > > Hi > > I m working with the cupcake emulator and installing apps using ADB > install... > > However, I m never requested (at user level) with the permission > request (even if declared as dangerous) and even if the ADB install is > done when the emulator is running. > > Any reason for that ? > How could I check and simulate these permissions requests using the > emulator? > > thks > Guillaume >
