使用Mac或Windows QPython开发环境 [英] QPython development environment using mac or windows

查看:908
本文介绍了使用Mac或Windows QPython开发环境的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

作为新QPython,没有发现任何参考
有关开发在Mac或PC,最终
在Android设备上部署code。

Being new to QPython, didn't find any reference about developing on a Mac or Pc, eventually deploying the code on the Android device.

在此相反的Andr​​oid设备上开发code本身
这似乎很别扭专门为更大的项目。

In contrast to developing the code itself on the Android device which seems very awkward specially for larger projects.

我想用一个正常的IDE写code如的IntelliJ
用我的Mac或Windows,最终在Android设备上进行部署,
与QPython执行。

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:


  1. 来源$ C ​​$ C传输与QPython安装(不使用QR code这是仅限于几KB code的的)
  2. Android设备的最佳实践
  3. 是否有可能开发在Mac / Windows的,即使用SL4A(androidhelper)QPython code或者是严格可用的Andr​​oid设备本身

  1. Best practice to transfer source code to an Android device with QPython installed (not using the QR Code which is limited to few KB's of code)
  2. Is it possible to develop QPython code on Mac/Windows namely using the SL4A (androidhelper) or is it strictly available on the Android device itself

我有更多的问题,但会更好具备的基本最佳实践。

I have more questions but would be better to have the basic best practices.

诗。给上下文有关问题1,我们需要快速快速部署在许多设备上QPython code,所以复制.py文件手动是出了问题,而QR code的功能是非常有限的,所以也许创建导入脚本脚本? (通过混帐或HTTP)

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)

推荐答案

您可以开发qpython项目作为与您的PC或MC其他Python项目,并上传项目到您的手机的/sdcard/com.hipipal.qpyplus/projects/那么qpython运行它。

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.

该qpython项目应含有用于该项目首批推出的脚本main.py。

The qpython project should contain the main.py which is used for the project first launch script.

除了ADB(Android的开发工具),可以使用qpython的FTP服务(你可以在设置页面中找到)或其他FTP应用项目上传到您的手机。

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.

好消息:在最新的qpython(1.2.2),它包含了qedit4web.py允许您从您的手机浏览器,编辑和运行code开发

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.

这篇关于使用Mac或Windows QPython开发环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆