下载android电子市场的程序到电脑上

二 15th, 2010

android电子市场还是很不错的,能方便的下载并安装软件。

不过,它下完就帮你安装了,不管是成功还是失败,安装文件都不能被找到。

暂时对ANDROID还很不熟,不清楚有没有简单的办法下载但不安装。然后把文件传回PC。

不过,至少存在这样的一种办法来达到把程序下载到电脑上的效果:

1. 开启支持电子市场的android模拟器。参考 http://tech-droid.blogspot.com/2009/11/android-market-on-emulator.html (好像是要翻墙的)。必须下载作者提供的镜象,否则,模拟器不能访问网络。

2. 启动sniffer软件(如wireshark)。用模拟器下载安装APP。因为是模拟器,随便安装也不怕。此时会监听到一个HTTP下载的请求,形如:

GET /market/download/Download?assetId=-3783207302739264490&userId=573662974701&deviceId=96777546538815391 HTTP/1.1
Cookie: ANDROID=xxxxxxxx
Host: android.clients.google.com
Connection: Keep-Alive
User-Agent: AndroidDownloadManager

 用curl 即可下载:

curl  -o app.apk -v -A “AndroidDownloadManager” http://android.clients.google.com/market/download/Download?assetId=-3783207302739264490&userId=573662974701&deviceId=96777546538815391 -b “ANDROID=xxxxxxxx”

 

当然,这个方法还是复杂了点,有没有简单的办法,还需以后了解了再说。

标签:
  1. paranoia
    二 15th, 201013:08

    李总伟大

    可以在/data/app/下找到你要的apk文件

  2. admin
    二 15th, 201017:52

    不行吧?电子市场下的,好像下完不论是安装成功还是失败,都给你把apk文件删了。

  3. paranoia
    二 15th, 201020:10

    是吗?没记错,应该是改成 包名.apk了

  4. admin
    二 15th, 201021:52

    又试了一下,你说得对。在/data/app下。不过,/data下的目录是隐藏的,我已经用了astro试了看不到东西。我已经root了,用astro居然都看不到,可能是配置没弄好吧。用adb的确可以看到。

  5. paranoia
    二 15th, 201023:08

    您太伟大了,这么快就破了market

  6. ZodiacG
    三 6th, 201014:52


    模拟器是Win的还是Linux的?

  7. jenny.adlaon
    十 26th, 201113:54

    Great article! this is really a good post.

  8. Grace
    十一 22nd, 201113:02

    Actually I found a good stuff in this kind of blog where it can be helpful to me in somehow. Thanks for this article.

  9. Wanda C. Gonzales
    十一 22nd, 201113:10

    I have not try to download an android electronics market program on my computer but i’ll i will give a try to download it later and let see how it works. Thanks.

  10. Elijah T. Bryant
    十一 22nd, 201113:48

    Your blog has the same post as another author but i like your better..Thank you so much!!

  11. Rian
    十一 22nd, 201115:09

    Of course, this method is still complicated point, there is no simple way to understand the need to say later.Thanks for sharing.

  12. Tara T. Harris
    十一 22nd, 201115:56

    I agree this information because i know now how to download an android electronics market program on my computer .Thank you so much for the update!!

  13. Love
    十二 12th, 201109:32

    Everything was precise to be a cool stuff were I got some knowledgeable things through it. Thanks for the info.

    african mango

  14. Drew
    十二 12th, 201109:34

    Thou seems things when right when I browsed this kind of stuff and love to see the updates of it.

  15. Jessie
    十二 12th, 201115:52

    I stumbled over here coming from a different web page and thought I should check things out. I like what I see so now i am following you. Look forward to checking out your web page again.

  16. creationism museum bible
    一 17th, 201205:16
    #16
  17. Homepage
    二 5th, 201219:55
    #17
  18. y8 game
    二 8th, 201202:14
    #19
  19. sportsbook betting
    二 8th, 201216:04
    #20
*