Reputation: 234
Being new to QPython, didn't find any reference about developing on a Mac or Pc, eventually deploying the code on the Android device.
In contrast to developing the code itself on the Android device which seems very awkward specially for larger projects.
I wish to write the code using a "normal" IDE such as IntelliJ using my Mac or Windows, eventually deploy it on an Android device, and execute with QPython.
So the following questions come to mind:
I have more questions but would be better to have the basic best practices.
Ps. to give a context in relation to question #1 we need to rapidly deploy QPython code on many devices quickly, so copying the .py files manually is out of the question, and the QR code feature is very limited, so perhaps create a script that imports a script? (via git or HTTP)
Upvotes: 3
Views: 2737
Reputation: 66
You can develop qpython project as other python projects with your pc or MC, and upload the project into your mobile's /sdcard/com.hipipal.qpyplus/projects/ then run it in qpython.
The qpython project should contain the main.py which is used for the project first launch script.
Besides adb (android develop tool), you can use the qpython's FTP service ( You could find it in setting page ) or other FTP app to upload the project into your mobile.
GOOD NEWS: In the newest qpython(1.2.2), it contains a qedit4web.py which allow you develop from browser and edit and run code from your mobile.
Upvotes: 2