How to make an apk from a processing project


#1

I want to make a simple game using processing but I don’t know how to export the project as an apk so I can upload the game to the web. Someone please help me. Thanks


#2

Check the following links:

https://forum.processing.org/two/discussion/26361/how-do-a-get-image-files-on-to-my-android

https://android.processing.org/tutorials/distributing/index.html

https://forum.processing.org/one/topic/exporting-processing-s-pde-to-android-s-apk.html

https://www.mobileprocessing.org/gettingStarted.html

In the last one, read the section Run the App almost at the end of the page which describes how to create an apk file. In a nutshell, when you build and deploy your app to your emulator or your phone device, Processing builds the Processing (Java) code in a temporal folder in your local computer. Then the apk is created and loaded to your phone using the Android SDK command tools. If you watch carefully the instructions output during the building process, it should indicate where the apk file is created in your computer right before it is launched into the device. You can find this file and you can share it with your friends.

Kf