[android-developers] Re: How to install APK programmatically without user prompt
You can't install apks silently. -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to install APK programmatically without user prompt
On Fri, Sep 16, 2011 at 10:32 AM, Pratik Prajapati < pratik.prajap...@gmail.com> wrote: > Is there any way to do it with some APIs or I should use 'pm install 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 hack...@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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to install APK programmatically without user prompt
Pratik, I think you should explain what you're trying to achieve with this and maybe someone can suggest an alternative. There's no good reason why you should want to install an apk without user input as that would break security, so I think you just need an alternative approach here. Cheers, Oli On Sep 16, 6:32 pm, Pratik Prajapati wrote: > I need to install some non market place APK programmatically *without *user > prompt. I found some links on stackoverflow, but all those mechanism will > prompt the user. > Is there any way to do it with some APIs or I should use 'pm install name>' command (doing with system() api)? > > -- > Regards, > Pratik Prajapati -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to install APK programmatically without user prompt
I honestly thing these are the most frustrating answers to get in a forum. People has not to explain what they're trying to achieve. If you know the answer good, if you don't, please don't say that there is no good reason for doing this or that. We are not all trying to hack code behind our desks at home. Sometimes there are special requirements in a business environment that you have to implement and which people is not due and even allowed to tell you. On Sep 19, 12:11 pm, Oli wrote: > Pratik, > > I think you should explain what you're trying to achieve with this and > maybe someone can suggest an alternative. There's no good reason why > you should want to install an apk without user input as that would > break security, so I think you just need an alternative approach here. > > Cheers, > Oli > > On Sep 16, 6:32 pm, Pratik Prajapati > wrote: > > > > > > > > > I need to install some non market place APK programmatically *without *user > > prompt. I found some links on stackoverflow, but all those mechanism will > > prompt the user. > > Is there any way to do it with some APIs or I should use 'pm install > name>' command (doing with system() api)? > > > -- > > Regards, > > Pratik Prajapati -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to install APK programmatically without user prompt
What you need to do is pick your customers/clients more carefully. Any client who asks you for such a feature either has completely failed to understand the Android ecosystem or is up to no good. As already explained, what you are asking for would break the security of Android. This is NOT tolerable. On Sep 16, 10:32 am, Pratik Prajapati wrote: > I need to install some non market place APK programmatically *without *user > prompt. I found some links on stackoverflow, but all those mechanism will > prompt the user. > Is there any way to do it with some APIs or I should use 'pm install name>' command (doing with system() api)? > > -- > Regards, > Pratik Prajapati -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to install APK programmatically without user prompt
More importantly, sometimes these business people who come up with "special requirements in a business environment" do not know what they are talking about. What you are asking for, as Dianne explained, is breaking the security model of Android. We will NOT help you do this. On Sep 26, 4:49 am, nyarlathotep wrote: > I honestly thing these are the most frustrating answers to get in a > forum. > > People has not to explain what they're trying to achieve. > If you know the answer good, if you don't, please don't say that there > is no good reason for doing this or that. > > We are not all trying to hack code behind our desks at home. > Sometimes there are special requirements in a business environment > that you have to implement and which people is not due and even > allowed to tell you. > > On Sep 19, 12:11 pm, Oli wrote: > > > Pratik, > > > I think you should explain what you're trying to achieve with this and > > maybe someone can suggest an alternative. There's no good reason why > > you should want to install an apk without user input as that would > > break security, so I think you just need an alternative approach here. > > > Cheers, > > Oli > > > On Sep 16, 6:32 pm, Pratik Prajapati > > wrote: > > > > I need to install some non market place APK programmatically *without > > > *user > > > prompt. I found some links on stackoverflow, but all those mechanism will > > > prompt the user. > > > Is there any way to do it with some APIs or I should use 'pm install > > name>' command (doing with system() api)? > > > > -- > > > Regards, > > > Pratik Prajapati -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to install APK programmatically without user prompt
On Monday, September 26, 2011 7:49:25 AM UTC-4, nyarlathotep wrote: > > We are not all trying to hack code behind our desks at home. > Sometimes there are special requirements in a business environment > that you have to implement and which people is not due and even > allowed to tell you. > > The person giving you the special requirement doesn't understand his platform. Though, you're able to accomplish what you want if you're willing to write your own firmware, but that might add some time to your development schedule and isn't germane to this list. -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to install APK programmatically without user prompt
Are you asking this because of recent headlines about android security issues that allow apps to install w/O you knowing? -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to install APK programmatically without user prompt
I truly hope you nor anyone else ever figures out how to do it. Windows is plagued with such junk. On Sep 17, 2:32 am, Pratik Prajapati wrote: > I need to install some non market place APK programmatically *without *user > prompt. I found some links on stackoverflow, but all those mechanism will > prompt the user. > Is there any way to do it with some APIs or I should use 'pm install name>' command (doing with system() api)? > > -- > Regards, > Pratik Prajapati -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to install APK programmatically without user prompt
I hope and assume that by 'nigher', you meant, 'neither'. For it is a security hole. Then again, every rooted device is like swiss cheese when it comes to security holes. Now that I know you are developing this for a rooted device (it would have helped had you mentioned this in your first post on this issue), I can see the general architecture of a solution: write your own installer, bypass the built-in installer completely. Since the user has root privileges, so does the custom installer; you can violate security in SO many ways! On Sep 27, 9:04 am, Pratik Prajapati wrote: > Its in rooted device, but no option for user to do adb. Its nigher for phone > nor for tablet market. > > -- > Regards, > Pratik Prajapati > > On Tue, Sep 27, 2011 at 8:55 AM, Kristopher Micinski > > wrote: > > On a non rooted device? > > > Well that's a nice security hole to hear about. > > > Kris > > > On Tue, Sep 27, 2011 at 11:28 AM, Pratik Prajapati > > wrote: > > > Implemented and working fine now. > > > > -- > > > Regards, > > > Pratik Prajapati > > > > On Tue, Sep 27, 2011 at 12:10 AM, martypantsROK > > wrote: > > > >> I truly hope you nor anyone else ever figures out how to do it. > > >> Windows is plagued with such junk. > > > >> On Sep 17, 2:32 am, Pratik Prajapati > > >> wrote: > > >> > I need to install some non market place APK programmatically *without > > >> > *user > > >> > prompt. I found some links on stackoverflow, but all those mechanism > > >> > will > > >> > prompt the user. > > >> > Is there any way to do it with some APIs or I should use 'pm install > > >> > > >> > name>' command (doing with system() api)? > > > >> > -- > > >> > Regards, > > >> > Pratik Prajapati > > > >> -- > > >> 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+unsubscr...@googlegroups.com > > >> For more options, visit this group at > > >>http://groups.google.com/group/android-developers?hl=en > > > > -- > > > 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+unsubscr...@googlegroups.com > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en > > > -- > > 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+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: How to install APK programmatically without user prompt
On Mon, Sep 26, 2011 at 7:49 AM, nyarlathotep wrote: > If you know the answer good, if you don't, please don't say that there > is no good reason for doing this or that. Like you, others are allowed to express their opinions. > Sometimes there are special requirements in a business environment > that you have to implement and which people is not due and even > allowed to tell you. In that case, the business should not be seeking assistance from volunteers on a public forum. The business should hire a consulting firm and execute an NDA with that firm. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: How to install APK programmatically without user prompt
Sometimes, though, the answer you want just doesn't exist, and by asking "What are you really after?", the responder is trying to help you achieve your goal by thinking around the problem. Of course, if you'd prefer to just be told, "You can't. The end.", then so be it. Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com > -Original Message- > From: android-developers@googlegroups.com [mailto:android- > develop...@googlegroups.com] On Behalf Of nyarlathotep > Sent: Monday, September 26, 2011 4:49 AM > To: Android Developers > Subject: [android-developers] Re: How to install APK programmatically > without user prompt > > I honestly thing these are the most frustrating answers to get in a forum. > > People has not to explain what they're trying to achieve. > If you know the answer good, if you don't, please don't say that there is no > good reason for doing this or that. > > We are not all trying to hack code behind our desks at home. > Sometimes there are special requirements in a business environment that > you have to implement and which people is not due and even allowed to tell > you. > > On Sep 19, 12:11 pm, Oli wrote: > > Pratik, > > > > I think you should explain what you're trying to achieve with this and > > maybe someone can suggest an alternative. There's no good reason why > > you should want to install an apk without user input as that would > > break security, so I think you just need an alternative approach here. > > > > Cheers, > > Oli > > > > On Sep 16, 6:32 pm, Pratik Prajapati > > wrote: > > > > > > > > > > > > > > > > > I need to install some non market place APK programmatically > > > *without *user prompt. I found some links on stackoverflow, but all > > > those mechanism will prompt the user. > > > Is there any way to do it with some APIs or I should use 'pm install > > > > > name>' command (doing with system() api)? > > > > > -- > > > Regards, > > > Pratik Prajapati > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: How to install APK programmatically without user prompt
It's not really a matter of not wanting to help so much as, it just plain won't work ;-) Kris On Mon, Sep 26, 2011 at 9:09 PM, Indicator Veritatis wrote: > More importantly, sometimes these business people who come up with > "special requirements in a business environment" do not know what they > are talking about. What you are asking for, as Dianne explained, is > breaking the security model of Android. We will NOT help you do this. > > On Sep 26, 4:49 am, nyarlathotep wrote: >> I honestly thing these are the most frustrating answers to get in a >> forum. >> >> People has not to explain what they're trying to achieve. >> If you know the answer good, if you don't, please don't say that there >> is no good reason for doing this or that. >> >> We are not all trying to hack code behind our desks at home. >> Sometimes there are special requirements in a business environment >> that you have to implement and which people is not due and even >> allowed to tell you. >> >> On Sep 19, 12:11 pm, Oli wrote: >> >> > Pratik, >> >> > I think you should explain what you're trying to achieve with this and >> > maybe someone can suggest an alternative. There's no good reason why >> > you should want to install an apk without user input as that would >> > break security, so I think you just need an alternative approach here. >> >> > Cheers, >> > Oli >> >> > On Sep 16, 6:32 pm, Pratik Prajapati >> > wrote: >> >> > > I need to install some non market place APK programmatically *without >> > > *user >> > > prompt. I found some links on stackoverflow, but all those mechanism will >> > > prompt the user. >> > > Is there any way to do it with some APIs or I should use 'pm install > > > name>' command (doing with system() api)? >> >> > > -- >> > > Regards, >> > > Pratik Prajapati > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: How to install APK programmatically without user prompt
In this complex world, there are always some un-common requirements to implement un-common stuff. It is upto the architect to understand the security loophole to clear. -- Regards, Pratik Prajapati On Mon, Sep 26, 2011 at 10:40 PM, akay wrote: > Are you asking this because of recent headlines about android security > issues that allow apps to install w/O you knowing? > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: How to install APK programmatically without user prompt
Implemented and working fine now. -- Regards, Pratik Prajapati On Tue, Sep 27, 2011 at 12:10 AM, martypantsROK wrote: > I truly hope you nor anyone else ever figures out how to do it. > Windows is plagued with such junk. > > On Sep 17, 2:32 am, Pratik Prajapati > wrote: > > I need to install some non market place APK programmatically *without > *user > > prompt. I found some links on stackoverflow, but all those mechanism will > > prompt the user. > > Is there any way to do it with some APIs or I should use 'pm install > name>' command (doing with system() api)? > > > > -- > > Regards, > > Pratik Prajapati > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: How to install APK programmatically without user prompt
On a non rooted device? Well that's a nice security hole to hear about. Kris On Tue, Sep 27, 2011 at 11:28 AM, Pratik Prajapati wrote: > Implemented and working fine now. > > -- > Regards, > Pratik Prajapati > > > On Tue, Sep 27, 2011 at 12:10 AM, martypantsROK wrote: >> >> I truly hope you nor anyone else ever figures out how to do it. >> Windows is plagued with such junk. >> >> On Sep 17, 2:32 am, Pratik Prajapati >> wrote: >> > I need to install some non market place APK programmatically *without >> > *user >> > prompt. I found some links on stackoverflow, but all those mechanism >> > will >> > prompt the user. >> > Is there any way to do it with some APIs or I should use 'pm install >> > > > name>' command (doing with system() api)? >> > >> > -- >> > Regards, >> > Pratik Prajapati >> >> -- >> 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+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > > > > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: How to install APK programmatically without user prompt
Its in rooted device, but no option for user to do adb. Its nigher for phone nor for tablet market. -- Regards, Pratik Prajapati On Tue, Sep 27, 2011 at 8:55 AM, Kristopher Micinski wrote: > On a non rooted device? > > Well that's a nice security hole to hear about. > > Kris > > On Tue, Sep 27, 2011 at 11:28 AM, Pratik Prajapati > wrote: > > Implemented and working fine now. > > > > -- > > Regards, > > Pratik Prajapati > > > > > > On Tue, Sep 27, 2011 at 12:10 AM, martypantsROK > wrote: > >> > >> I truly hope you nor anyone else ever figures out how to do it. > >> Windows is plagued with such junk. > >> > >> On Sep 17, 2:32 am, Pratik Prajapati > >> wrote: > >> > I need to install some non market place APK programmatically *without > >> > *user > >> > prompt. I found some links on stackoverflow, but all those mechanism > >> > will > >> > prompt the user. > >> > Is there any way to do it with some APIs or I should use 'pm install > >> > >> > name>' command (doing with system() api)? > >> > > >> > -- > >> > Regards, > >> > Pratik Prajapati > >> > >> -- > >> 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+unsubscr...@googlegroups.com > >> For more options, visit this group at > >> http://groups.google.com/group/android-developers?hl=en > > > > > > > > > > > > -- > > 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+unsubscr...@googlegroups.com > > For more options, visit this group at > > http://groups.google.com/group/android-developers?hl=en > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: How to install APK programmatically without user prompt
yup, Thanks. On Tue, Sep 27, 2011 at 1:17 PM, Indicator Veritatis wrote: > I hope and assume that by 'nigher', you meant, 'neither'. For it is a > security hole. Then again, every rooted device is like swiss cheese > when it comes to security holes. > > Now that I know you are developing this for a rooted device (it would > have helped had you mentioned this in your first post on this issue), > I can see the general architecture of a solution: write your own > installer, bypass the built-in installer completely. Since the user > has root privileges, so does the custom installer; you can violate > security in SO many ways! > > On Sep 27, 9:04 am, Pratik Prajapati > wrote: > > Its in rooted device, but no option for user to do adb. Its nigher for > phone > > nor for tablet market. > > > > -- > > Regards, > > Pratik Prajapati > > > > On Tue, Sep 27, 2011 at 8:55 AM, Kristopher Micinski < > krismicin...@gmail.com > > > > > wrote: > > > On a non rooted device? > > > > > Well that's a nice security hole to hear about. > > > > > Kris > > > > > On Tue, Sep 27, 2011 at 11:28 AM, Pratik Prajapati > > > wrote: > > > > Implemented and working fine now. > > > > > > -- > > > > Regards, > > > > Pratik Prajapati > > > > > > On Tue, Sep 27, 2011 at 12:10 AM, martypantsROK > > > > wrote: > > > > > >> I truly hope you nor anyone else ever figures out how to do it. > > > >> Windows is plagued with such junk. > > > > > >> On Sep 17, 2:32 am, Pratik Prajapati > > > >> wrote: > > > >> > I need to install some non market place APK programmatically > *without > > > >> > *user > > > >> > prompt. I found some links on stackoverflow, but all those > mechanism > > > >> > will > > > >> > prompt the user. > > > >> > Is there any way to do it with some APIs or I should use 'pm > install > > > >> > > > >> > name>' command (doing with system() api)? > > > > > >> > -- > > > >> > Regards, > > > >> > Pratik Prajapati > > > > > >> -- > > > >> 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+unsubscr...@googlegroups.com > > > >> For more options, visit this group at > > > >>http://groups.google.com/group/android-developers?hl=en > > > > > > -- > > > > 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+unsubscr...@googlegroups.com > > > > For more options, visit this group at > > > >http://groups.google.com/group/android-developers?hl=en > > > > > -- > > > 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+unsubscr...@googlegroups.com > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en > > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: How to install APK programmatically without user prompt
It was my hack. Which worked in my device, as is not for any smart phone, tablet. I run System command from java and user pm utility of android to install apk. On Sun, May 27, 2012 at 9:10 AM, Antonin Chazalet < antonin.chaza...@gmail.com> wrote: > Hello, > > > Pratik, can you tell us how you skipped the user prompt? > > > Thanks, > Regards, > > Antonin. > > > Le mardi 27 septembre 2011 18:04:37 UTC+2, pratik.p...@gmail.com a écrit : > >> Its in rooted device, but no option for user to do adb. Its nigher for >> phone nor for tablet market. >> >> -- >> Regards, >> Pratik Prajapati >> >> -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: How to install APK programmatically without user prompt
Hello, Pratik, can you tell us how you skipped the user prompt? Thanks, Regards, Antonin. Le mardi 27 septembre 2011 18:04:37 UTC+2, pratik.p...@gmail.com a écrit : > > Its in rooted device, but no option for user to do adb. Its nigher for > phone nor for tablet market. > > -- > Regards, > Pratik Prajapati > > -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: How to install APK programmatically without user prompt
Thanks for your quick answer. I tryied: pm install /sdcard/download_aaa/NotePad.apk Via my phone's terminal, and it returns me: pkg: /sdcard/download_aaa/NotePad.apk [1] Killed pm install /sdcard/download_aaa/NotePad.apk The NotePad.apk app hasn't been installed. Do I miss any options? or something else? My phone is a real one, not a emulated one. It runs Android 2.1-update1. It is not rooted. I use the application named Terminal Emulator (v44) in order to get access to my phone's shell. I was already able to install, execute, and uninstall NotePad.apk using standards ways. Thanks, Regards, Antonin. 2012/5/27 Pratik Prajapati : > > It was my hack. Which worked in my device, as is not for any smart phone, > tablet. > > I run System command from java and user pm utility of android to install > apk. > > > On Sun, May 27, 2012 at 9:10 AM, Antonin Chazalet > wrote: >> >> Hello, >> >> >> Pratik, can you tell us how you skipped the user prompt? >> >> >> Thanks, >> Regards, >> >> Antonin. >> >> >> Le mardi 27 septembre 2011 18:04:37 UTC+2, pratik.p...@gmail.com a écrit : >>> >>> Its in rooted device, but no option for user to do adb. Its nigher for >>> phone nor for tablet market. >>> >>> -- >>> Regards, >>> Pratik Prajapati >>> > -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: How to install APK programmatically without user prompt
Hey, did you got the answer? If no, than there is: http://www.kanatorn.info/2012/01/21/android-install-apk-programmatically-without-user-prompt/ The only one problem is that you need to be rooted... Em domingo, 27 de maio de 2012 18h09min16s UTC-3, Antonin Chazalet escreveu: > > Thanks for your quick answer. > > I tryied: > > pm install /sdcard/download_aaa/NotePad.apk > > Via my phone's terminal, and it returns me: > > pkg: /sdcard/download_aaa/NotePad.apk > [1] Killed pm install /sdcard/download_aaa/NotePad.apk > > The NotePad.apk app hasn't been installed. > > Do I miss any options? or something else? > > My phone is a real one, not a emulated one. > It runs Android 2.1-update1. > It is not rooted. > > I use the application named Terminal Emulator (v44) in order to get > access to my phone's shell. > > I was already able to install, execute, and uninstall NotePad.apk > using standards ways. > > > Thanks, > Regards, > > Antonin. > > > 2012/5/27 Pratik Prajapati >: > > > > It was my hack. Which worked in my device, as is not for any smart > phone, > > tablet. > > > > I run System command from java and user pm utility of android to install > > apk. > > > > > > On Sun, May 27, 2012 at 9:10 AM, Antonin Chazalet > > > wrote: > >> > >> Hello, > >> > >> > >> Pratik, can you tell us how you skipped the user prompt? > >> > >> > >> Thanks, > >> Regards, > >> > >> Antonin. > >> > >> > >> Le mardi 27 septembre 2011 18:04:37 UTC+2, pratik.p...@gmail.com a > écrit : > >>> > >>> Its in rooted device, but no option for user to do adb. Its nigher for > >>> phone nor for tablet market. > >>> > >>> -- > >>> Regards, > >>> Pratik Prajapati > >>> > > > -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en