开发者

How to force attach an app to android market? [closed]

开发者 https://www.devze.com 2023-04-04 16:06 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

Improve this quest开发者_开发技巧ion

When we install an app (apk file) directly via file, that app is not associated to the market, so does not appear as "installed".

Titanium Backup as an option to force attach to market, which works very well.

My question is: anyone knows how can I do something similar? I want to develop an app just to correct those associations.


I don't know how to do it, but my guess would be to pull the market apk from your device, then change the extension to .zip and extract the files. Then use dex2jar to change it to a jar file, then use http://java.decompiler.free.fr/?q=jdgui to read the jar file.

And you could look through that to see how the market does it's links. Then somehow, you might be able to mimic what the market does.

Hopefully somebody comes up with a better answer than mine, because I don't know if my approach would work, and it would take a decent amount of effort, but hope this helps if noone else can give anything better.

0

精彩评论

暂无评论...
验证码 换一张
取 消