Android/APP&SDK2011/07/12 14:24
[Android Developer]
 

SDK Tools, Revision 12


Dependencies:
If you are developing in Eclipse with ADT, note that the SDK Tools r12 is designed for use with ADT 12.0.0 and later. If you haven't already, we highly recommend updating your ADT Plugin to 12.0.0.
If you are developing outside Eclipse, you must have Apache Ant 1.8 or later.
General notes:
The AVD manager and emulator can now use system images compiled for ARM v7 and x86 CPUs. 


ADT 12.0.0

Dependencies:
ADT 12.0.0 is designed for use with SDK Tools r12. If you haven't already installed SDK Tools r12 into your SDK, use the Android SDK and AVD Manager to do so.
Visual Layout Editor:
  • New RelativeLayout drop support with guideline suggestions for attachments and cycle prevention (more info).
  • Resize support in most layouts along with guideline snapping to the sizes dictated by wrap_content and match_parentPreviews of drawables and colors in the resource chooser dialogs (more info).
  • Previews of drawables and colors in the resource chooser dialogs (more info).
  • Improved error messages and links for rendering errors including detection of misspelled class names (more info).
Build system
  • A new option lets you disable the packaging step in the automatic builders. This improves performance when saving files by not performing a full build, which can take a long time for large projects. If the option is enabled, the APK is packaged when the application is deployed to a device or emulator or when the release APK is exported (more info).
Bug fixes
Many bug fixes are part of this release (more info). 


NDK, Revision 6

This release of the NDK includes support for the x86 ABI and other minor changes. For detailed information describing the changes in this release, read the CHANGES.HTML document included in the NDK package.

General notes:
  • Adds support for the x86 ABI, which allows you to generate machine code that runs on compatible x86-based Android devices. Major features for x86 include x86-specific toolchains, system headers, libraries and debugging support. For all of the details regarding x86 support, see docs/CPU-X86.html in the NDK package.

    By default, code is generated for ARM-based devices, but you can add x86 to your APP_ABI definition in your Application.mk file to build for x86 platforms. For example, the following line instructs ndk-build to build your code for three distinct ABIs:

    APP_ABI := armeabi armeabi-v7a x86


    Unless you rely on ARM-based assembly sources, you shouldn't need to touch your Android.mk files to build x86 machine code. 
  • You can build a standalone x86 toolchain using the --toolchain=x86-4.4.3 option when calling make-standalone-toolchain.sh. See docs/STANDALONE-TOOLCHAIN.html for more details.
  • The new ndk-stack tool lets you translate stack traces in logcat that are generated by native code. The tool translates instruction addresses into a readable format that contains things such as the function, source file, and line number corresponding to each stack frame. For more information and a usage example, see docs/NDK-STACK.html.
Other changes:
arm-eabi-4.4.0, which had been deprecated since NDK r5, has been removed from the NDK distribution. 
 
저작자 표시 비영리 동일 조건 변경 허락

'Android > APP&SDK' 카테고리의 다른 글

SDK Tools, r12 & ADT 12.0.0 & NDK r6  (0) 2011/07/12
ADT Plugin for Eclipse 11.0.0  (0) 2011/06/07
ADT 10.0.1  (0) 2011/03/17
SDK Tools r10 & ADT 10.0.0  (0) 2011/03/11
SDK Tools r9 & ADT 9.0.0 & NDK r5b  (0) 2011/01/27
SDK Tools, r8 & ADT 8.0.0 & NDK, r5 for Gingerbread  (0) 2010/12/07
Posted by mirwing
Android/APP&SDK2010/03/09 07:13

[Android Developer]


Android NDK r3

The third release of the Android Native Development Kit (NDK) is now available for download from the Android developer site.

It can be used to target devices running Android 1.5 and higher. In addition to a few bug fixes and improvements, this release includes the following new features:

Toolchain improvement

The toolchain binaries have been refreshed for this release with GCC 4.4.0, which should generate slightly more compact and efficient machine code than the previous one (4.2.1).

Note that the GCC 4.4.0 C++ frontend is more pedantic, and may refuse to compile certain rare and invalid template declarations that were accepted by 4.2.1. To alleviate the problem, this NDK still provides the 4.2.1 binaries, which can optionally be used to build your machine code.

OpenGL ES 2.0 support

Applications targeting Android 2.0 (API level 5) or higher can now directly access OpenGL ES 2.0 features. This brings the ability to control graphics rendering through vertex and fragment shader programs, using the GLSL shading language.

A new trivial sample, named "hello-gl2", demonstrates how to render a simple triangle using both shader types.

Name simplification

This NDK release is just called "r3", for "Revision 3", to indicate that it is not limited to a specific Android platform/API level. Some developers thought that the previous release's name (1.6_r1) was confusing and indicated that it could only be used to target Android 1.6, which was not true.

Enjoy!


SDK Tools r5

Dependencies:
  • If you are developing in Eclipse with ADT, note that SDK Tools r5 is designed for use with ADT 0.9.6 and later. After installing SDK Tools r5, we highly recommend updating your ADT Plugin to 0.9.6.
  • For Mac OS platforms, OS X 10.4.x (Tiger) is no longer officially supported.

SDK and AVD Manager:
  • Fixes SSL download for the standalone version of the SDK Updater.
  • Fixes issue with 64-bit JVM on Windows.
  • Adds support for platform samples components.
  • Improves support for dependency between components.
  • AVDs now sorted by API level.
  • The AVD creation dialog now enforces a minimum SD card size of 9MB.
  • Prevents deletion of running AVDs.
  • Settings are now automatically saved, no need to click "Apply".

Emulator:
  • Emulator now requires SD card to be 9MB or more.

Layoutopt:
  • Fixes layoutopt.bat to execute correctly on Windows.


ADT 0.9.6

Dependencies:
  • ADT 0.9.6 is designed for use with SDK Tools r5 and later. Before updating to ADT 0.9.6, we highly recommend that you use the Android SDK and AVD Manager to install SDK Tools r5 into your SDK.

General Notes:
  • Editing default.properties outside of Eclipse will now automatically update the project.
  • Loads the SDK content only when a project requires it. This will make Eclipse use less resources when the SDK contains many versions of Android.
  • Resolves potential deadlock between modal dialogs, when launching ADT the first time with the SDK Usage panel.
  • Fixes issues with the New Project Wizard when selecting samples.

AVD/SDK Manager:
  • Adds support for platform samples components.
  • Improves support for dependency between components.
  • AVDs now sorted by API level.
  • The AVD creation dialog now enforces a minimum SD card size of 9MB.
  • Prevents deletion of running AVDs.

DDMS:
  • DDMS plug-in now contains the Allocation Tracker view.
  • New action in the Logcat view: "Go to problem" lets you go directly from an exception trace output to the code.

Editors:
  • Explode mode in the Visual Layout Editor adds a margin to all layout objects so that it's easier to see embedded or empty layouts.
  • Outline mode in the Visual Layout Editor draws layout outline to make it easier to see layout objects.
  • Several fixes in the configuration selector of the Visual Layout Editor.

Application launching:
  • Applications launched from ADT now behave as if they were clicked from the Home screen.
  • Fixes issue where add-on with no optional library would not show up as valid targets for application launches.
  • Resolves possible crash when launching applications.


Posted by mirwing
Android/APP&SDK2009/04/29 09:40
이번 SDK가 1.5로 버전 업 되면서 에뮬레이터를 실행하기 위해서는

AVD라는 디바이스가 필요로 하게 되었습니다.

AVD를 만드는 방법

android <- 실행 파일
정확히 뭐하는 파일인지는 모르겠지만 참 다양한 걸 해주는 군요.ㅋ

android list targets
현재 만들수 있는 AVD의 타겟 정보에 대해서 나옴니다.

Available Android targets:
id: 1
Name: Android 1.1
Type: Platform
API level: 2
Skins: HVGA (default), HVGA-L, HVGA-P, QVGA-L, QVGA-P
id: 2
Name: Android 1.5
Type: Platform
API level: 3
Skins: HVGA (default), HVGA-L, HVGA-P, QVGA-L, QVGA-P
id: 3
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Description: Android + Google APIs
Based on Android 1.5 (API level 3)
Libraries:
 * com.google.android.maps (maps.jar)
    API for Google Maps
Skins: QVGA-P, HVGA-L, HVGA (default), QVGA-L, HVGA-P

AVD로 제작되어지는 타겟들은 1.1, 1.5 그리고 1.5 + Google APIs 타겟입니다.
해당 id를 이용하여 제작 하실 수 잇습니다.

AVD 제작
android create avd --name [filename] --target [targetID]
android create avd -n [filename] -t [targetID]
-n [filename]
저장될 AVD의 파일 이름
-t [targetID]
제작될 AVD의 타겟 정보
-> android create avd --name sdk1.1 --target 1
-> android create avd -n sdk1.5 -t 2
-> android create avd --name sdk1.5G --target 3

에뮬레이터 실행
emulator @sdk1.5

sdcard 포함된 AVD 제작
sdcard 이미지 제작
mksdcard [용량 128M] [경로]
 ex. mksdcard 128M c:sdcard.img 

android create avd --name [filename] --target [targetID] --sdcard [img 경로]
android create avd --name [filename] --target [targetID] --sdcard [image size][K|M]

'Android > APP&SDK' 카테고리의 다른 글

api demos MAP  (0) 2009/06/09
HTC의 안드로이드 홈 UI Rosie  (0) 2009/05/28
create AVD(Android Virtual Device)  (0) 2009/04/29
Hello, World  (0) 2009/04/20
Android SDK Build 방법  (0) 2009/04/14
Android SDK 개발환경 설정  (0) 2009/04/10
Posted by mirwing
TAG Android, AVD, SDK
Android/NEWS2009/04/28 09:50
Android Source 1.5가 releases 되었습니다.


그리고 Android SDK 1.5도 releases 되었습니다.


마지막으로 Android Kernel 2.6.29도 정식 project화 시켰다고 합니다.(kandroid)

kernel내 tag로 존재하던 2.6.29가 kernel/omap.git 로 떨어져 나왔습니다.

'Android > NEWS' 카테고리의 다른 글

Android Developer Challenge  (0) 2009/05/29
User Interface Guidelines  (0) 2009/05/08
Android 1.5 Releases  (0) 2009/04/28
Adobe Flash porting to Android?  (0) 2009/04/13
안드로이드 애플리케이션 개발자 교육  (0) 2009/04/10
2.6.29기반 Android Kernel Update  (0) 2009/04/10
Posted by mirwing
Android/myself2009/04/24 11:14
전체 환경(source)
1. 안드로이드 개발 환경 셋팅

APP 환경(sdk)
1. 안드로이드 개발 환경 셋팅
2. Test App 제작
뷰       : TextView, Button, ImageView, ListView, EditText, ...
레이아웃 : LinearLayout, RelativeLayout, FrameLayout, AbsoluteLayout, ...

JNI 환경
1. JNI 관련 link

진행사항
1주차 : 개발 환경 셋팅 완료
Eclipse + ADT + SDK
Dev1 Engine 올림
4/22일 Aesop 6410에 Android 올림
TODO
surface flinger(?)
1. Package 제작
player 용
App 가져다 쓸 TR 용
2. TR 적용 시점 파악
3. WindowsManager 사용 방안 확인(~27)

'Android > myself' 카테고리의 다른 글

GDD 2011 Japan 도전 시작!...  (0) 2011/08/29
Implementing IPC Using AIDL  (0) 2009/06/09
Calling an IPC Method  (8) 2009/06/09
Android Study 1  (0) 2009/04/24
Android 구글 강좌  (1) 2009/04/23
Android 뭐 부터 공부 해야 할지 모르겠다...  (0) 2009/04/13
Posted by mirwing
TAG Android, SDK, study
Android/APP&SDK2009/04/20 14:59
[출처 : Android]

SDK test App 만들기(eclipse)
O/S : Windows XP
SDK : Android SDK 1.1
eclipse : eclipse 3.4

1. 새로운 프로젝트 생성
File >> New >> Android Project

2. Form 채우기
project name : HelloAndroid
Package name : com.example.hello (or your own private namespace)
Activity name : HelloAndroid
Application name : Hello, Android
Finish.

Project Name
This is the name of the directory or folder on your computer that you want to contain the project.
Package Name
This is the package namespace (following the same rules as for packages in the Java programming language) that you want all your source code to reside under. This also sets the package name under which the stub Activity will be generated.

The package name you use in your application must be unique across all packages installed on the system; for this reason, it's very important to use a standard domain-style package for your applications. In the example above, we used the package domain "com.android"; you should use a different one appropriate to your organization.

Activity Name
This is the name for the class stub that will be generated by the plugin. This will be a subclass of Android's Activity class. An Activity is simply a class that can run and do work. It can create a UI if it chooses, but it doesn't need to.
Application Name
This is the human-readable title for your application.

The checkbox for toggling "Use default location" allows you to change the location on disk where the project's files will be generated and stored.


3. 자동으로 생성된 코드 보기
Class name : HelloAndroid
HelloAndroid >> src >> com.android.hello
package com.example.hello;

import android.app.Activity;
import android.os.Bundle;

public class HelloAndroid extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }
}

Construct the UI
package com.android.hello;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class HelloAndroid extends Activity {
   /** Called when the activity is first created. */
   @Override
   public void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       TextView tv = new TextView(this);
       tv.setText("Hello, Android");
       setContentView(tv);
   }
}
자세한 설명은 공식 사이트 튜리토얼에서 확인하면 자세히 나옴

4. Run

* TIP
Log 찍기
import android.util.log;

Log.d(Tag Name, Message);

AndroidManifest.xml 수정하기
디버그 모드 설정 -> application -> android:debuggable="true" 등록
추가한 클래스를 <activity> 등록

'Android > APP&SDK' 카테고리의 다른 글

api demos MAP  (0) 2009/06/09
HTC의 안드로이드 홈 UI Rosie  (0) 2009/05/28
create AVD(Android Virtual Device)  (0) 2009/04/29
Hello, World  (0) 2009/04/20
Android SDK Build 방법  (0) 2009/04/14
Android SDK 개발환경 설정  (0) 2009/04/10
Posted by mirwing
Android/APP&SDK2009/04/14 16:56
[출처 : Korea Android]
위의 링크의 글에서 언급된 바와 같이 안드로이드 full source를 빌드해 본 경험을 가진 분들은,
make sdk 명령어를 통해 안드로이드 sdk를 빌드해 볼 수 있다.
 
이 과정에서 제일 먼저 발생하는 문제가, 다음과 같은 error 메시지를 접할 수 있을 것이다.
 
javadoc: error - In doclet class DroidDoc,  method start has thrown an exception java.lang.reflect.InvocationTargetException
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for sun.util.resources.OpenListResourceBundle not found
1 error

 
이를 해결하기 위해서는, 안드로이드 full source ROOT 디렉토리에 아래 존재하는 아래의 파일을
다음과 같이 수정한 후, make sdk를 수행하면 된다.
 
수정해야 할 파일 : <android full source ROOT dir>/build/core/droiddoc.mk
 
수정 전 :
            javadoc
                @$(PRIVATE_SRC_LIST_FILE)
                -J-Xmx768m
                -J-Djava.library.path=$(HOST_OUT_SHARED_LIBRARIES)
                $(PRIVATE_PROFILING_OPTIONS)
                -quiet
                -doclet DroidDoc
                -docletpath $(PRIVATE_DOCLETPATH)
                -templatedir $(PRIVATE_CUSTOM_TEMPLATE_DIR)
                -templatedir $(PRIVATE_TEMPLATE_DIR)
                $(PRIVATE_DROIDDOC_HTML_DIR)
                $(addprefix -classpath ,$(PRIVATE_CLASSPATH))
                -sourcepath $(PRIVATE_SOURCE_PATH)$(addprefix :,$(PRIVATE_CLASSPATH))
                -d $(PRIVATE_OUT_DIR)
                $(PRIVATE_CURRENT_BUILD) $(PRIVATE_CURRENT_TIME)
                $(PRIVATE_DROIDDOC_OPTIONS)

 
수정 후 :
             javadoc
                @$(PRIVATE_SRC_LIST_FILE)
                -J-Xmx768m
                -J-Djava.library.path=$(HOST_OUT_SHARED_LIBRARIES)
                $(PRIVATE_PROFILING_OPTIONS)
                -overview <android full source ROOT dir>/frameworks/base/core/java/overview.html
                -splitindex
                -use
                -package
                $(addprefix -classpath ,$(PRIVATE_CLASSPATH))
                -sourcepath $(PRIVATE_SOURCE_PATH)$(addprefix :,$(PRIVATE_CLASSPATH))
                -d $(PRIVATE_OUT_DIR)

'Android > APP&SDK' 카테고리의 다른 글

api demos MAP  (0) 2009/06/09
HTC의 안드로이드 홈 UI Rosie  (0) 2009/05/28
create AVD(Android Virtual Device)  (0) 2009/04/29
Hello, World  (0) 2009/04/20
Android SDK Build 방법  (0) 2009/04/14
Android SDK 개발환경 설정  (0) 2009/04/10
Posted by mirwing
TAG Android, build, SDK
Android/NEWS2009/04/10 17:25
Android SDK 1.1 Release 1

블로그:
http://android-developers.blogspot.com/2009/02/android-11-sdk-release-1-now-available.html
 
다운로드:
http://developer.android.com/sdk/1.1_r1/index.html

'Android > NEWS' 카테고리의 다른 글

User Interface Guidelines  (0) 2009/05/08
Android 1.5 Releases  (0) 2009/04/28
Adobe Flash porting to Android?  (0) 2009/04/13
안드로이드 애플리케이션 개발자 교육  (0) 2009/04/10
2.6.29기반 Android Kernel Update  (0) 2009/04/10
Android SDK 1.1 release 1  (0) 2009/04/10
Posted by mirwing
TAG Android, SDK