Yes, it does.

On Wed, Sep 16, 2009 at 11:20 AM, [email protected] <
[email protected]> wrote:

>
> Would this require the phone to have the switch for allowing non-
> market apk's set to on?
>
> On Sep 16, 1:32 pm, Jack Ha <[email protected]> wrote:
> > One way you can do is to first save the .apk file in /sdcard and then
> > install it with the following code:
> >
> >         Intent intent = new Intent(Intent.ACTION_VIEW);
> >         intent.setDataAndType(Uri.fromFile(new File("/sdcard/
> > app1.apk")), "application/vnd.android.package-archive");
> >         startActivity(intent);
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to