Friday, September 16, 2011

[android-developers] Re: How to install APK programmatically without user prompt

On Fri, Sep 16, 2011 at 10:32 AM, Pratik Prajapati <pratik.prajapati@gmail.com> wrote:
Is there any way to do it with some APIs or I should use 'pm install <apk name>' command (doing with system() api)?

(a) Running the pm command doesn't give you any extra privileges.
(b) NO shell commands are part of the SDK; using them will risk your application breaking.

--
Dianne Hackborn
Android framework engineer
hackbod@android.com

Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails.  All such questions should be posted on public forums, where I and others can see and answer them.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment