摘要:
解释器的安装下载地址:http://www.python.org/getit/一路下一步,完成安装命令行运行显示如下结果:示例:helloworld.pyprint("HelloWorld!中国")运行示例程序:Python~/helloworld.py手机开发环境安装ScriptingLayerforAndroid(SL4A)下载路径:http://code.google.com/p/android-scripting/安装PythonForAndroid_r4.apk下载路径:http://code.google.com/p/android-scripting/down 阅读全文
摘要:
/*** 通过移动关节移动body** @time 下午12:50:47* @author retacn yue* @Email zhenhuayue@sina.com*/@SuppressWarnings("unused")public class PrismaticJointSurfaceView extends SurfaceView implements Callback, Runnable {private Thread thread;private int screenW, screenH;private Canvas canvas;private Surfac 阅读全文
摘要:
/*** 滑轮关节** @time 下午12:49:27* @author retacn yue* @Email zhenhuayue@sina.com*/@SuppressWarnings("unused")public class PulleyJointSurfaceView extends SurfaceView implements Callback, Runnable {private static final float RATE = 30;private Thread thread;private SurfaceHolder sfh;private int s 阅读全文