Android App 개발 기초
Upcoming SlideShare
Loading in...5
×
 

Android App 개발 기초

on

  • 1,610 views

 

Statistics

Views

Total Views
1,610
Views on SlideShare
1,608
Embed Views
2

Actions

Likes
0
Downloads
13
Comments
0

1 Embed 2

http://www.slideshare.net 2

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Android App 개발 기초 Android App 개발 기초 Presentation Transcript

  • Android App 2009.11.06 Nemustech rhoon@nemustech.com 1
  • Android SDK http://developer.android.com/sdk/index.html Version 1.0, 1.1, 1.5, 1.6, 2.0 Framework source : $SRCROOT$/framework/base/core/java/android/ $SRCROOT$/framework/base/core/res/res/ 2
  • Application source tree 3
  • Android Application apk apk activity resource : adb install $APK_PATH : adb uninstall $FULL_PACKAGE_NAME 4
  • AndroidManifest.xml MyApplication.apk apk meta activity activity . Theme style 5
  • Activity. ?? android.app.Activity Interaction & 6
  • Activity Life Cycle http://developer.android.com/reference/android/app/ Activity.html#ActivityLifecycle paused stopped 7
  • Why Activity ?? binary process & application resource http://developer.android.com/videos/ index.html#v=fL6gSd4ugSI 8
  • Activity Activity onCreate() onCreate() setContentView() AndroidManifest.xml <activity> Context.startActivity() 9
  • Window android.view.Window Window Manager Android , interface View.getWindow().requestFeature(int) 10
  • Views View http://developer.android.com/guide/tutorials/views/ index.html android.view.View android.view.ViewGroup 11
  • View User interaction android.widget.Button android.widget.EditText android.widget.ImageView 12
  • ViewGroup View View layout http://developer.android.com/guide/topics/ui/layout- objects.html 13
  • FrameLayout android.widget.FrameLayout view 14
  • LinearLayout android.widget.LinearLayout VERTICAL or HORIZONTAL view 15
  • RelativeLayout android.widget.RelativeLayout view ) a view b view , c view a view . 16
  • LayoutParams android.view.ViewGroup.LayoutParams view viewgroup , view WRAP_CONTENT, FILL_PARENT, FILL_PARENT weight 17
  • hierarchyviewer $SDK_PATH/tools/hierarchyviewer device emulator , view hierarchy layout 18
  • Resource layout : (xml) drawable : (png, bmp), stateful drawable (xml) anim : (xml) values : strings.xml, dimen.xml, id.xml, colors.xml, styles.xml, theme.xml 19
  • Localization & Multi-screen ‘values-ko’, ‘layout-ja’, ‘drawable- fr’ ‘layout-land’, ‘layout-port’ : ‘layout-800x480’ : pixel size ‘layout-hdpi’, ‘layout-ldpi’ : pixel density 20
  • Java VS Xml Java, xml, hybrid xml view java findViewById(int) JavaVsXml 21
  • checklist EditText & option menu flush & delete all 22
  • Animation android.view.animation.Animation view , , . TranslateAnimation, ScaleAnimation, RotateAnimation, AlphaAnimation, AnimationSet aView.setAnimation() , aView invalidate() . aAnim.startAnimation(aView) , . 23
  • tools $SDK_PATH/tools/* hierarchyviewer draw9patch : !! 24
  • 25