基於 Android 平台擴充,支援 MPEG-4 外接 FullHD 顯示器播放的手持設備(不是手機)
Wednesday, July 29, 2009
Tuesday, July 28, 2009
Friday, July 24, 2009
Guide to put (Hero) Builds to your G1/Magic Android
http://forum.xda-developers.com/showthread.php?t=533505
Saturday, July 11, 2009
Compiling Android Scripting Environment
Android Scripting Environment (ASE) is the scripting language (BeanShell, Python, Lua, Ruby) environment for Android Operating System.
Prerequisites
To compile ASE, you need a Linux machine, then here goes:
1. Get Android source (read http://source.android.com/download to fetch the source) and
name the folder as 'mydroid'(or else you prefer). In the following instructions I assume all the folders are in user's home folder(~) .
name the folder as 'mydroid'(or else you prefer). In the following instructions I assume all the folders are in user's home folder(~) .
2. Get Android SDK (download from http://developer.android.com/) and
extract it as "android_sdk"(or else you prefer).
extract it as "android_sdk"(or else you prefer).
3. Get Android Scripting Environment source (hg clone from http://code.google.com/p/android-scripting/source/) as "ase"(or else you prefer).
4. Enter ase/tools folder and execute "fix_android_sdk.py"
to patch the "android_sdk".
to patch the "android_sdk".
$ cd ase/tools
$ python fix_android_sdk.py ~/mydroid ~/android_sdk
Copying source from .....mydroid to .....android_sdk/platforms/android-[verison]/sources
Adding android.os.Exec to android.jar
Compiling android.os.Exec to....
Done!
In addition to modifying the SDK by adding android.os.Exec, the script
will also copy the source files into the SDK so that they can be
browsed in Eclipse.
will also copy the source files into the SDK so that they can be
browsed in Eclipse.
Import Project into Eclipse
After executing the script, follow the instructions for developing in
Eclipse in the Android developer guide to setup a workable Android
development environment.
Change the project build path and specify the BeanShell path to (project
path)/beanshell/bsh-[version].jar
Eclipse in the Android developer guide to setup a workable Android
development environment.
Change the project build path and specify the BeanShell path to (project
path)/beanshell/bsh-[version].jar
Compile it, done!
PS: Python and Lua are precompiled and already put in res/raw folder. You
don't need to setup the cross compile environment unless you want to
also compile Lua and Python yourself.
don't need to setup the cross compile environment unless you want to
also compile Lua and Python yourself.
Subscribe to:
Posts (Atom)
