OK !

Thank you. I will try this solution. It should work !

On 16 sep, 19:32, 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);
>
> --
> Jack Ha
> Open Source Development Center
> ・T・ ・ ・Mobile・ stick together
> The coverage you need at the price you want
>
> The views, opinions and statements in this email are those of
> the author solely in their individual capacity, and do not
> necessarily represent those of T-Mobile USA, Inc.
>
> On Sep 16, 10:05 am, DaminouU <[email protected]> wrote:
>
> > Hi,
>
> > I want to create an application which will be able to install another
> > one.
>
> > Actually a server will send me the .apk file. Then I want my
> > application installing this .apk file and running it.
> > This activity will be a kind of 'script' for installing and running a
> > new apk file...
>
> > Is it possible?
> > How can I do?
--~--~---------~--~----~------------~-------~--~----~
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