Message from discussion
How to install APK programmatically without user prompt
Received: by 10.52.110.33 with SMTP id hx1mr3741517vdb.20.1317077675967;
Mon, 26 Sep 2011 15:54:35 -0700 (PDT)
X-BeenThere: android-developers@googlegroups.com
Received: by 10.221.12.196 with SMTP id pj4ls4479329vcb.2.canary; Mon, 26 Sep
2011 15:53:40 -0700 (PDT)
Received: by 10.52.91.8 with SMTP id ca8mr4429768vdb.24.1317077620812;
Mon, 26 Sep 2011 15:53:40 -0700 (PDT)
Received: by 10.52.91.8 with SMTP id ca8mr4429767vdb.24.1317077620803;
Mon, 26 Sep 2011 15:53:40 -0700 (PDT)
Return-Path: <ted.new...@gmail.com>
Received: from mail-vx0-f180.google.com (mail-vx0-f180.google.com [209.85.220.180])
by gmr-mx.google.com with ESMTPS id bh5si10546672vdc.3.2011.09.26.15.53.40
(version=TLSv1/SSLv3 cipher=OTHER);
Mon, 26 Sep 2011 15:53:40 -0700 (PDT)
Received-SPF: pass (google.com: domain of ted.new...@gmail.com designates 209.85.220.180 as permitted sender) client-ip=209.85.220.180;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ted.new...@gmail.com designates 209.85.220.180 as permitted sender) smtp.mail=ted.new...@gmail.com; dkim=pass (test mode) header...@gmail.com
Received: by vcbf11 with SMTP id f11so5085672vcb.11
for <android-developers@googlegroups.com>; Mon, 26 Sep 2011 15:53:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=from:to:references:in-reply-to:subject:date:message-id:mime-version
:content-type:content-transfer-encoding:x-mailer:thread-index
:content-language;
bh=CaFAoPG18zMEt2MI72NBkU06rkStwobMAfw2hTE6/QM=;
b=hbqnFf1XQfTZa9VN6JfV5N0Qm2bsF41pnSt/AHR2YmXqhl6gXxEWlpMiiNGgSj6/Fv
nQu2UxtHWZCNIr/q+QLqaLDsVuQKXD6BIqxvIcWqCSPfrxI6ywXwBuSrD4EZxG6LLLdp
d9nK62Sq+lFoOb9Tq9ull3BRu8PKsMfTaMDTU=
Received: by 10.220.38.70 with SMTP id a6mr2062331vce.1.1317077620706;
Mon, 26 Sep 2011 15:53:40 -0700 (PDT)
Return-Path: <ted.new...@gmail.com>
Received: from WINF6V5MG7TNAG ([64.122.102.168])
by mx.google.com with ESMTPS id e7sm18593480vdh.25.2011.09.26.15.53.38
(version=SSLv3 cipher=OTHER);
Mon, 26 Sep 2011 15:53:39 -0700 (PDT)
From: "Ted Neward" <ted.new...@gmail.com>
To: <android-developers@googlegroups.com>
References: <CALqG8NEQQniod78azTr=oUFAcSBNk4Oy2b87jpowdg0+1ZU...@mail.gmail.com> <7e73ae70-8cb9-40ee-a0b5-30bd81bbc...@dq7g2000vbb.googlegroups.com> <f61ca388-d15b-4c78-a1f9-691b87f50...@5g2000yqo.googlegroups.com>
In-Reply-To: <f61ca388-d15b-4c78-a1f9-691b87f50...@5g2000yqo.googlegroups.com>
Subject: RE: [android-developers] Re: How to install APK programmatically without user prompt
Date: Mon, 26 Sep 2011 15:53:35 -0700
Message-ID: <083501cc7c9f$214954c0$63dbfe...@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQIek8pQcN6qS55e06tWiRY1UfjypAFqejocAZjX2OeUo/uv8A==
Content-Language: en-us
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-
> developers@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
>=20
> I honestly thing these are the most frustrating answers to get in a =
forum.
>=20
> 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.
>=20
> 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.
>=20
> On Sep 19, 12:11=A0pm, Oli <oli.wri...@gmail.com> wrote:
> > Pratik,
> >
> > I think you should explain what you're trying to achieve with this =
and
> > maybe someone can suggest an alternative. =A0There'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=A0pm, Pratik Prajapati <pratik.prajap...@gmail.com>
> > 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
> > > <apk
> > > name>' command (doing with system() api)?
> >
> > > --
> > > Regards,
> > > Pratik Prajapati
>=20
> --
> 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=3Den