No stupid questions. Everyone is from fresh man.
1, adb install will install your application under folder /data/app/
with your application package name. For example, you application is
MainApplication.apk and its package name is
com.android.mainapplication.
   After install it use this command, there will be an apk under
folder /data/app/ and its name is com.android.mainapplication.apk.

2, not sure about command adb shell && pm install ..... I have never
use that before.

3, adb push is to push the apk file directly into folder system/app/
and data/app/ and it is mostly like install. but with name different.
For example, adb push MainApplication.apk will create a file like /
data/app/MainApplication.apk.

On Apr 8, 5:01 am, Chi Zhang <[email protected]> wrote:
> Hi everybody, this is my first post ever. I hope this is not a stupid
> question :-)
> I noticed that there are three ways to install an app in an android device:
> 1. adb install <some-app>
> 2. adb shell && pm install <some-app>
> 3. you can manually push the apk file to /system/app or /data/app
> Are there differences among these three methods?
> I used to believe that the android package manager keeps a list of apps
> installed on the device, and thus can quickly locate an app for intents.
> But option 3 above seems to suggest that it doesn't. So what does `adb
> install' really do?
>
> --
> Sincerely Yours,
> Chi Zhang
>
> [email protected]
> College of Computer Science and Technology, Zhejiang University

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to