340 likes | 368 Views
Learn how to set up the programming environment for writing OpenGL ES in Java. Download and install Java SE Development Kit (JDK), Android SDK, Eclipse with ADT plugin, and configure the necessary tools.
E N D
要編寫OpenGL ES, 我們需要… • Java SE Develop Kit (JDK) • 包含了編寫Java語言程式時可能會使用的元件。 • Android SDK • 開發Android程式的工具。 • Eclipse with Android Development Tools (ADT) plugin • 免費的程式編寫工具,加上ADTplugin就能編寫Android App.
Setting the Programming Enivironment (環境設置步驟) • 1. 下載並安裝前述工具 • Java SE Develop Kit (JDK) • Android SDK • Eclipse with Android Development Tools (ADT) plugin
Setting the Programming Enivironment (環境設置步驟) • 1. 下載並安裝前述工具 • Java SE Develop Kit (JDK) • Android SDK • Eclipse with Android Development Tools (ADT) plugin
Download JDK(1/2) http://www.oracle.com/technetwork/java/javase/downloads/index.html
JDK Product Registration(2/4) If you don’t have Oracle.com account
JDK Product Registration(3/4) √ If you have Oracle.com account
JDK Product Registration(4/4) After Registration, you’ll see…
Setting the Programming Enivironment (環境設置步驟) SDK: - a set of software development tools that allows for the creation of applications. • 1. 下載並安裝前述工具 • Java SE Develop Kit (JDK) • Android SDK • Eclipse with Android Development Tools (ADT) plugin
Download Android SDK • http://developer.android.com/sdk/index.html
Install Android SDK Detect JDK
Detect JDK Win7有可能會找不到JDK,此時請將C:\Program Files\Java\jdk1.7.0_05\bin中的Java.exe,複製到C:\Windows\SysWOW64 中
Install Android SDK Choose Users
Install Android SDK Choose Install Location
Setting the Programming Enivironment (環境設置步驟) • 1. 下載並安裝前述工具 • Java SE Develop Kit (JDK) • Android SDK • Eclipse with Android Development Tools (ADT) plugin
Download Eclipse IDE(1/2) Both of them are capable! http://www.eclipse.org/downloads/
Download Eclipse IDE(2/2) http://www.eclipse.org/downloads/
Install Eclipse IDE Unzip Double Click All the files are contained in the zip file. 1. unzip the file 2. double click eclipse.exe in eclipse folder.
Eclipse 安裝 ADTplugin [Help]→[Install New Software]
Add download URL Location : http://dl-ssl.google.com/android/eclipse/site.xml
In Eclipse, install ADTplugin • During the installation process, you may see this window…
In Eclipse, install ADTplugin • After installing the plugin
After Installation You can start to write and run an Android App now.
Reference Oracle http://www.oracle.com/index.html Android Developers http://developer.android.com/index.html Eclipse http://www.eclipse.org/