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);

--~--~---------~--~----~------------~-------~--~----~
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