2012년 12월 4일 화요일

ahn & lie 001

안드로이드와 리눅스를 중구난방으로 파헤쳐 보자! ahn & lie 001
--> 안철수 사퇴 했다고 붙인 이름은 아님. 어차피 대통령 될 사람임.
다만 말로서 만들어진 감옥에는 갖히진 않았으면...(사족을 서두에 ㅋㅋ)

http://www.android.com
http://http://android-developers.blogspot.com
http://developer.motorola.com/




Cupcake
Donuts
Eclair
Frozen Yoghurt (Froyo)
Gingerbread
Honeycomb
Ice Cream
Jelly bean
Key lime pie

아따 버전 업 빠르다.

게시물 천개를 채우기 위해.

Symbian
Windows Mobile
RIM Blackberry OS
Apple iOS
Google Android
Palm WebOS
Windows Phone 7

OS 많다.


안드로이드는 이렇다.
software stack for mobile devices
incl. OS, middleware and key applications
Open source ? source code is open and contributions are welcome
application framework enabling reuse/replacement of apps
Dalvik virtual machine optimized for mobile
integrated browser based on webkit
Optimized graphics ? 2D graphics library, 3D based on OPEN GL ES
SQLite for data storage
Media support (MPEG4, H.264, MP3, AAC, JPG, PNG,…)
Support for radio interfaces, Bluetooth, WiFi, Camera, GPS, accelerometer
Software Development Kit (SDK)
Preinstalled applications from Google (GMS)
Gmail, Maps, Search, Voice Search, Youtube

3D가 땡기는 구먼. 앵그리 버드 같이

Linux kernel
Libraries
Android run time
core libraries
Dalvik virtual machine
application layer
application protocol


Google Maps and other GMS applications
Background services and applications
allows multi tasking of applications
Shared Data and interprocess communication
All applications are equal
does not discriminate between native and non-native applications
allows any applications to be enhanced/reused
p2p interdevice application messaging


Dalvik

All applications written in Java and converted to the dalvik executable .dex
Every android app runs its own process, with its own instance of the dalvik virtual machine
Not a traditional JVM, but a custom VM designed to run multiple instances efficiently on a single device
VM uses linux kernel to handle low-level functionality incl. security, threading, process and memory management


Rich, extensible set of Views
apps can inclused lists, grids, text boxes, buttons, web browser
Content Providers
allows data access from other applications or share own data
Resource Manager
access to localized strings, graphics, layout files
Notification Manager
enables custom alerts to be displayed in status bar
Activity Manager
Manages lifecycle of applications and provides navigation backstack


Activities
application presentation layer
Services
invisible components, update data sources, visible activities, trigger notifications
perform regular processing even when app is not active or invisible
Content Providers
shareable data store
Intents
message passing framework
broadcase messages system wide, for an action to be performed
Broadcast receivers
consume intent broadcasts
lets app listen for intents matching a specific criteria like location
Notifications
Toast notification
Status Bar Notification
Dialog notification

All apps (native and 3rd party) are written using the same APIs and run on the same run time executable
All apps have APIs for hardware access, location-based services, support for background services, map-based activities, 2D and 3D graphics.
App Widgets are miniature app views that can be embedded in other apps like Home Screen


Android apps do not have control over their own life cycles
Aggressively manages resources to ensure device responsiveness and kills process/apps when needed

Active Process ? critical priority
Visible Process ? high priority
Started Service Process
Background Process ? low priority
Empty process

Developed using the Android SDK and installed on user devices
Compiled Java code, with data and resource ? bundled by Android Asset Packaging tool (AAPT) into Android package or .apk
All applications have Android Manifest file in its root directory
provides essential information about app
Could be installed directly on phone, but necessary to be distributed thru Market


An alternative to standalone apps
Developed using web standards and accessed through browser ? nothing to install on devices
Mixing client and web apps is also possible ? Client apps can embed web pages using “Webview” in Android app



Android APIs, Full Documentation and Sample code
Development tools
Dalvik Debug Monitor Service (DDMS)
Android Debug Bridge (ADB)
Android Emulator
Online support and blog
Native Development Kit also available
allows developers to implement parts of apps in native-code languages like C/C++
Plug in available to use Eclipse integrated development environment
Developer forums and developer phones from Google, MOTO Dev studio from Motorola



Google Market - Part of GMS apps
3rd party apps submitted to Google, approved and distributed through Market
Both Free and Paid apps
Apps now limited to 50 MB; updates possible through Market
Monetization through ads available
Available in many countries, not all countries have support for paid apps
Other Market place applications available ? Amazon has announced its own Android Market place
App searches filtered based on Manifest file (eg. if a device does not have trackball, apps using trackball will be filtered out)
Every app publishes a list of components the app will access and permissions need to be granted before installation
Apps installed on device and SD card (SD Card from Froyo)


Core feature in android
User should be able to search any data on device or internet
Usually one of the android buttons
Search suggestions based on recent queries
Provide custom search suggestions that match actual results in application data
system side Quick Search Box
Voice Search available and enhanced in recent releases



Compelling and most popular apps for mobile devices
Google Maps provides free navigation
applications allowed access to location services supported by device
Google provides Maps external library
allows built-in downloading, rendering and caching of Maps tiles, and other display options and controls




Froyo introduces support for enterprise applications with Device Administraion API
allows to create security-aware applications to control employee devices
Apps might include
Email clients
remote wipe
device management services and apps


Android 1.0 ? G1
1.5 ? Cupcake
1.6 ? Donuts (CDMA support)
2.0 ? Eclair (Droid introduced with Eclair)
2.2 ? Froyo
2.3 Gingerbread (SDK released 2 weeks ago and source will follow soon)
API Levels used by apps to identify software version on the device
Android apps are generally forward compatible with newer version, but not necessarily backwards compatible


Why?
Allow customizable devices
Create Common eco system
Android compatibility is free and easy
Obtain Android source code
Comply with Android Compatibility Definition (ACD) doc
List requirements that need to be met for devices to be compatible with a particular version on Android
Pass the Compatibility Test Suite (CTS)
Automated test harness running on desktop, manages test exectuion
Test cases written, packaged as .apk to run on actual device or emulator
Porting guide available for bringing up Android on custom HW


Google TV  - a new platform based on Android
Tablets ? Samsung Galaxy tab introduced in Oct 2010
eBook reader ? Latest Barnes and Noble Nook is an Android tablet



댓글 5개:

  1. 답글
    1. USB 256G 아직 살수 있을까요? 꼭 살수있으면 해서

      hot60991@naver.com 으로 답장 가능하신 메일주소로 답장좀 부탁드립니다. 메일로 연락처 남겨주시면 더 빨리 답장 주고 받을수 있을것 같습니다. 연락처 남겨주시면 답장 드리겠습니다 감사합니다

      삭제
    2. USB 256G 아직 살수 있을까요? 꼭 살수있으면 해서

      hot60991@naver.com 으로 답장 가능하신 메일주소로 답장좀 부탁드립니다. 메일로 연락처 남겨주시면 더 빨리 답장 주고 받을수 있을것 같습니다. 연락처 남겨주시면 답장 드리겠습니다 감사합니다

      삭제
    3. USB 256G 아직 살수 있을까요? 꼭 살수있으면 해서

      hot60991@naver.com 으로 답장 가능하신 메일주소로 답장좀 부탁드립니다. 메일로 연락처 남겨주시면 더 빨리 답장 주고 받을수 있을것 같습니다. 연락처 남겨주시면 답장 드리겠습니다 감사합니다

      삭제
    4. 전문 내용이고 제목만 갖다가 붙인거임 ㅋㅋ

      삭제

국정원의 댓글 공작을 지탄합니다.

UPBIT is a South Korean company, and people died of suicide cause of coin investment.

 UPBIT is a South Korean company, and people died of suicide cause of coin. The company helps the people who control the market price manipu...