How to run a .jar or a .apk file on the Android with php or javascript?

Android can not directly execute APKs or common compiled Java bytecode APKs have to be installed before you can execute them. If the user has enabled "install apps from unknown sources" you can provide the APK as separate download. Make sure that the MIME type of the downloaded APK file is correctly set to application/vnd.android.

Package-archive Then you can just link to the APK file in your web page. The user then is getting asked if he wants to install the App How you can start the app from a web page is already discussed here: Make a link in the Android browser start up my app?

Android can not directly execute APKs or common compiled Java bytecode. APKs have to be installed before you can execute them. If the user has enabled "install apps from unknown sources" you can provide the APK as separate download.

Make sure that the MIME type of the downloaded APK file is correctly set to application/vnd.android. Package-archive. Then you can just link to the APK file in your web page.

The user then is getting asked if he wants to install the App. How you can start the app from a web page is already discussed here: Make a link in the Android browser start up my app?

I'm not sure if this is possible, but assuming it is, you set all permissions correctly and have the apk on the sd card then try using the full path, for example: $output = exec("/mnt/sdcard/ Apk").

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions