I just know how to install yourself apk file and run it with adb
command.
like this:
adb install test.apk
adb shell am start -a android.intent.action.MAIN -c
android.intent.category.LAUNCHER -n breakan.test/
breakan.test.TestActivity

On 6月28日, 下午3时41分, Paulsen J Siahaan <[email protected]> wrote:
> 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 [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