求脚本源码
A. 如何获取android源代码
当前的Android代码托管在两个方:https://github.com/android 和https://android.googlesource.com之前在 android.git.kernel.org上也有托管,不过现在重定向到了https://android.googlesource.com好在都支持git访问。
google提供的repo工具实际上是一个内部操作git工具来简化操作Android源码的Python脚本。经过尝试,直接使用git工具在ubuntu下可以实现cloneAndroid源码。下面介绍一下方法:
1.获取当前的在github上托管的Androidgitrepositories:
github页面为:https://github.com/android/following。不过这个页面不支持通过wget"https://github.com/android/following"或者curl"https://github.com/android/following"的方式访问,错误信息如下:
这个时候需能做的只能是"tryagain"了。
需要说明的是"不要试图同时并发执行多个gitclone命令",这样会导致大量出现上面贴图中的错误,另外,整个clone过程中耗时最多的gitrepository如下:
kernel_common.gitkernel_msm.gitplatform_frameworks_base.gitplatform_prebuilt.git其中platform_prebuilt.git是google提供的预编译好的二进制文件,包含:各种库文件,jar包,可执行程序等等,如果只是阅读Android源代码,这个gitrepository可以不用clone.
B. 求按键精灵的高手写个最简单的脚本,能用有高分加哦
代码如下:
Dim hwnd
hwnd=Plugin.Window.MousePoint()
Delay 200
Do
Call Plugin.Bkgnd.KeyPress(hwnd,49)
Delay 1000
Call Plugin.Bkgnd.KeyPress(hwnd,50)
Delay 22000
Call Plugin.Bkgnd.KeyPress(hwnd,51)
Delay 22000
Loop
运行脚本的时候注意先将鼠标停在指定窗口栏上,以获得窗口句柄。
C. 求640×960恋舞OL自动准备和经典模式脚本源码
支持以下分辨手机800*1280、640*960、720*1280、540*960,480*854(测试中)
功能:
1、自动开始
2、智能识别恋舞模式、经典模式
3、增加用户自调试P位置的功能
方法:
1、下载附件
2、安装脚本精灵2.04
3、导入恋舞OL脚本_V0.65.se
4、启动游戏,进入房间,运行脚本,剩下动作交给脚本即可