2009년 6월 26일 금요일

[API]String Class - split





AS3 function split(delimiter:* , limit:Number = 0x7fffffff):Array

Parameters

delimiter:* — 이 string를 분할하는 장소를 나타내는 패턴입니다. 패턴에는 임의의 형태의 object를 지정할 수 있습니다만, 일반적으로 string 또는 정규 표현을 사용합니다. delimiter 가 정규 표현도 string도 아닌 경우, Methods는 실행하기 전에 이것을 string로 변환합니다.
 

limit:Number (default = 0x7fffffff) — 배열에 삽입하는 아이템의 최대수입니다. 디폴트는, 허가되고 있는 최대치입니다.
반환값

Array — substring의 배열입니다.

See also

Array.join()
RegExp
string내에 포함되는 substring 및 패턴의 검색
정규 표현의 개요

Example>

var varSTR:String = "AAAAA&BBBBB&CCCCC"

var strArr:Array = varSTR.split("&");

// ["AAAAA","BBBBB","CCCCC"]


HTC Hero: The first Android device with Flash

Android HTC Hero 제품에 Flash Player 가 탑재된다고합니다.
일단 줄은 잘 서고 있는거죠^^
개인적으로   Android 기반 AIR어플리케이션이 가장 기대가 됩니다.

HTC Hero: The first Android device with Flash

http://www.adobe.com/devnet/devices/articles/htchero.html


회색님 포스팅
http://graynote.tistory.com/entry/HTC-히어로-프로모션-비디오-플래쉬-플레이어-10-탑재


2009년 6월 17일 수요일

Action Script OOP 문법

OOP를 지원하기 위한 데이터 형 정의 문법

OOP적인 프래그램을 하는 과정

① 데이타 형을 정의한다
② 데이터 형을 인스턴스화 한다.
③ 인스턴스를 활용한다.

1.package 키워드

이름 중복 문제를 해결하기 위해서 package+packagename 과 같은 방식으로 구성하며
packagename은 폴더 이름을 사용하도록 함으로서 이름 중복 문제를 해결합니다.

2. class 키워드

[dynamic] [public | internal] [final] class ClassName
[extends superClass] [implements interfaceName[,interfaceName...]] {

}

- dynamic
클래스를 실행 시간에 데이터 형을 결정하는 방식
인스턴스 생성한 이후에 자신 나름대로 속성이나 함수를 동적으로 삽입이 가능
메모리를 많이 사용하며 속도가 느려질수 있음

- final
함수 Override 나 상속을 불가

-extends
상속관계를 구성할때 사용

-implements
인터페이스를 구현할때 사용
다중 인터페이스 구현 가능

OOP 은닉성을 지원해주는 명령어

 접근제한자 설명
 internal(기본값) 같은 as 파일에서만 접근 가능
 private 상속 관계에선 접근 불가능, 인스턴스에서  접근 불가능
 protected
 상속 관계에서 접근 가능. 인스턴스에서 접근 불가능
 public 상속 관계에서 접근 가능. 인스턴스에서 접근 가능
 static 인스턴스에서 접근 불가능. 클래스 이름만 접근 가능.사용자정의
 Namespace 정의한 Namespace로 접근 가능


OOP 상속성을 지원해주는 명령어

클래스 이름과 동일한  function을 생성자라고 한다

var instance:Class = new Class();
     인스턴스  클래스

상속:다른 클래스가 가지고 있는 기능을 자신의 것으로 편입하는 기술
상속을 하는 이유 : 코딩의 재사용성과 클래스를 사용하는 사람의 입장에서의 편의성

is-a 상속
서로 동일한 기능을 구현하는 클래스 사이에 사용
인터페이스를 이용한 구현 상속 또는 인터페이스 상속과 일반 상속으로 구분

package Goods.Refrigeratiors.LG
{
     import Goods.Refrigerators.LG.SmallService
     public class BigService extends SmallService
     {
          public function BigRepair():void
          {
               trace("Big Repair");
          }
     }

}

has-a 상속
서로 이질적인 성경의 클래스 사이에 사용하는 방법으로 하나의 인스턴스 변수로 사용하는 방법
뭐든지 내부에 변수화해서 자유롭게 사용 가능

package Goods.Refrigeratiors.LG
{
    import Goods.Refrigerators.LG.SmallService
    public class BigService
    {
          public var vSmallService:SamllService = new Smallservice();
          public function BigRepair():void
         {
              trace("Big Repair");
         }
    }

}


OOP 다양성을 지원해주는 명령어

Interface
클래스의 사용법을 표준화하는 것이 인터페이스의 가장 중요한 목적
override
최종 인스턴스에 의해서 상속 받은 메서드가 Visible 되도록 해주는 키워드

특수 유형 연산자

명령문, 키워드 및 지시문

참고
새롭게 시작하는 플래시 CS3 액션스크립트 3.0 ( 윤훈남 )

2009년 6월 14일 일요일

SKT MOBILE CONTENTS OPEN MARKET i Topping

SKT 에서도 Web Store 사업을 시작하였다..

i Topping 이라는 브랜드 명으로 출발 하였고

보통 피자 같은곳에 재료를 뿌리는걸 topping 이라고한다..

아마도. 위젯 app 를 유져가 마음데로 topping 한다는 내용이 아닐까 한다. ( 개인적인 생각 )

SKT MOBILE CONTENTS OPEN MARKET


개요

SKT MOBILE CONTENTS OPEN MARKET이란?

구분 상세
개발자(판매자) 누구나 자유롭게 가입 및 콘텐츠 등록이 가능함
콘텐츠 정의 Smart Phone 콘텐츠 및 WIPI콘텐츠(위젯포함)
사용자(구매자) SKT 고객 및 타 이동통신사(Smart Phone 단말 보유 고객)고객
대상 단말 Smart Phone 사용고객 및 WIPI Phone 사용고객


모바일 어플리케이션 공모전

개발자 교육 프로그램



올해 말까지 7차까지 위 항목별로 교육을 진행하고

SKT의 수료증 발급 및 웹스토워 수수료 면제등에 혜택이 주어진다..

현재 2차가 진행중이고

난~~ Widget 을 신청하여 교육을 받고 있다...

교육 후기는 다음편으로 .....


2009년 6월 4일 목요일

[Study#3]What is Android?

항상 기본에 충실해야한다는 생각이 든다.
오늘 부터 한 칼럼씩 Android Dev Guide를 학습하여 정리하려고한다.
영어 정말 못한다. 그래도 GoGo 씽

Android is a software stack for mobile devices that includes an operating system, middleware and key applications. The Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language.

자바기반 모바일 OS . 란다..

MS - Window Mobile
애플 - Iphone SDK
팜프리
노키아 - 심비안


Features

  • Application framework enabling reuse and replacement of components
  • Dalvik virtual machine optimized for mobile devices
  • Integrated browser based on the open source WebKit engine
  • Optimized graphics powered by a custom 2D graphics library; 3D graphics based on the OpenGL ES 1.0 specification (hardware acceleration optional)
  • SQLite for structured data storage
  • Media support for common audio, video, and still image formats (MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF)
  • GSM Telephony (hardware dependent)
  • Bluetooth, EDGE, 3G, and WiFi (hardware dependent)
  • Camera, GPS, compass, and accelerometer (hardware dependent)
  • Rich development environment including a device emulator, tools for debugging, memory and performance profiling, and a plugin for the Eclipse IDE

Android Architecture

The following diagram shows the major components of the Android operating system. Each section is described in more detail below.

Android System Architecture




Applications

Android will ship with a set of core applications including an email client, SMS program, calendar, maps, browser, contacts, and others. All applications are written using the Java programming language.

Application Framework

Developers have full access to the same framework APIs used by the core applications. The application architecture is designed to simplify the reuse of components; any application can publish its capabilities and any other application may then make use of those capabilities (subject to security constraints enforced by the framework). This same mechanism allows components to be replaced by the user.

Underlying all applications is a set of services and systems, including:

  • A rich and extensible set of Views that can be used to build an application, including lists, grids, text boxes, buttons, and even an embeddable web browser
  • Content Providers that enable applications to access data from other applications (such as Contacts), or to share their own data
  • A Resource Manager, providing access to non-code resources such as localized strings, graphics, and layout files
  • A Notification Manager that enables all applications to display custom alerts in the status bar
  • An Activity Manager that manages the lifecycle of applications and provides a common navigation backstack

For more details and a walkthrough of an application, see the Notepad Tutorial.




Libraries

Android includes a set of C/C++ libraries used by various components of the Android system. These capabilities are exposed to developers through the Android application framework. Some of the core libraries are listed below:

  • System C library - a BSD-derived implementation of the standard C system library (libc), tuned for embedded Linux-based devices
  • Media Libraries - based on PacketVideo's OpenCORE; the libraries support playback and recording of many popular audio and video formats, as well as static image files, including MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG
  • Surface Manager - manages access to the display subsystem and seamlessly composites 2D and 3D graphic layers from multiple applications
  • LibWebCore - a modern web browser engine which powers both the Android browser and an embeddable web view
  • SGL - the underlying 2D graphics engine
  • 3D libraries - an implementation based on OpenGL ES 1.0 APIs; the libraries use either hardware 3D acceleration (where available) or the included, highly optimized 3D software rasterizer
  • FreeType - bitmap and vector font rendering
  • SQLite - a powerful and lightweight relational database engine available to all applications

Android Runtime

Android includes a set of core libraries that provides most of the functionality available in the core libraries of the Java programming language.

Every Android application runs in its own process, with its own instance of the Dalvik virtual machine. Dalvik has been written so that a device can run multiple VMs efficiently. The Dalvik VM executes files in the Dalvik Executable (.dex) format which is optimized for minimal memory footprint. The VM is register-based, and runs classes compiled by a Java language compiler that have been transformed into the .dex format by the included "dx" tool.

The Dalvik VM relies on the Linux kernel for underlying functionality such as threading and low-level memory management.



Linux Kernel

Android relies on Linux version 2.6 for core system services such as security, memory management, process management, network stack, and driver model. The kernel also acts as an abstraction layer between the hardware and the rest of the software stack.




참고
http://developer.android.com/guide/basics/what-is-android.html


2009년 6월 3일 수요일

보금자리주택 개발 계획도

올 9월 부터 사전 예약제로 청약을  진행할 예정이다.

서초 우면지구는 정말 탐나는 지역이다.
강남과 바로 붙어 있고
산속에 지하철이 지나간다. (신분당선)
토요일,일요일만 되면
등산객들로 발 디딜 틈도 없이 사람이 많이 온다.
그만큼 서울에서 다가가기 편한 지역이 아닐까 생각이든다...




이미지원본  http://news.mk.co.kr/outside/view.php?year=2009&no=311918