首屆 Google 暑期大學生部落格分享大賽——2010 Andriod 篇以下操作都是在Ubuntu10.04LTS下完成:安裝gitCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->sudo apt-get install git-core安裝curlCode highlighting produced by Actipro
首屆 Google 暑期大學生部落格分享大賽——2010 Andriod 篇軟體名稱:DroidDraw軟體大小:489KB(Windows版本)支援系統:Mac OS X/Windows/Linux:http://code.google.com/p/droiddraw/ ADT中的介面開發工具實在是很爛,通常情況下都需要寫入程式碼,對於程式員來說不但效率比較低下,而且調試起來極其不方便,還好在Google未推出GUI的“所見即所得
以下僅是使用Android.mk編譯APK程式的一些範例。如果你想瞭解Android.mk的更多內容請參考《Android.mk》一、編譯一個簡單的APK LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) # Build all java files in the java subdirectory LOCAL_SRC_FILES := $(call all-subdir-java-files) # Name of the APK
Recently I was working on a widget that extends Android’s Gallery class, which is typically used to show a horizontal list of images that the user can scroll through. I wanted to customize the Gallery to actually give a stacking effect to the
一、Android開發包下載1) Java JDK下載:網址:http://www.oracle.com/technetwork/java/javase/downloads/index.html選擇 Download JDK 只下載JDK 2)Eclipse下載 網址:http://www.eclipse.org/downloads/選擇第一個(即Eclipse IDE for java EE Developers) 3)下載Android
Activity跳轉與傳值,主要是通過Intent類來串連多個Activity,通過Bundle類來傳遞資料。範例程式碼如下: 1.1、使用intent.putExtra()方法賦值 1 public class menu extends Activity { 2 3 @Override 4 public void onCreate(Bundle savedInstanceState) { 5 super.onCreate(savedInstanceState)