Wednesday, June 29, 2011

[android-developers] Re: code to run/install apk file

You can use "adb install" command.

C:\android\android-sdk\platform-tools\adb install /sdcard/
<your_file_name>.apk (ex: adnroid.apk)

You also can download your file on PC.
And then you use this code to install:

C:\android\android-sdk\platform-tools\adb install C:\android.apk

On 28 Tháng Sáu, 14:41, Paulsen J Siahaan <>
> Hi all,
> somebody know how can i install apk file from sdcard programmatically and
> also run that application ??
> let me explain, first i download the apk file, and placed in
> data/data/package/sdcard. now i want to install and run that application as
> soon as after download completed..
> somebody can tell me the codes to install and run apk file??
> thx b4, and sorry for my english
> --
> Warm Regards,
>  ------------------------------
> Paulsen J Siahaan
> GTalk : paulsenjs5
> YM : siahaan_piter
> Phone : 70293135
> -don't just be a dreamer, be an actor !!-

You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment