当前位置: 动力学知识库 > 问答 > 编程问答 >

android - Can an applet install an application?

问题描述:

I have two questions:

  • Can I use applet to install APK applications?

  • Is it possible to send and install an APK application using OTA?

Summary, can I send an applet that contains an APK and install that?

网友答案:

AFAIK there is no way how an (U)SIM card applet could directly install an APK.

But it might be possible if there was an agent application installed (in the phone) which would install the APK on behalf of the (U)SIM applet (of course this application would have to have permissions to install APKs).

This agent application could communicate with the applet using the SIMalliance Open Mobile API (as long as the phone supports this API).


(Being enlightened by your other question)

Maybe you could trigger APK installation by opening the browser with the URL pointing to the APK file.

Good luck!

网友答案:

No.

Are you talking of awt applets? in that case, your applet won't run on Android.

An apk can't be installed without having the user to click "Install".

Sounds like you are trying to do something dubious. You are advised to use legit methods of distributing apps. Publish it on Google play, or amazon, or just upload it to a trusted hosting service and distribute the link to your target users.

分享给朋友:
您可能感兴趣的文章:
随机阅读: