IoC

Product i ffiAgmA ' JSMf AMMIA Product MAAA TV XiBU B MA A (Run-time) > Product inquireOMA mAAA ' AA gm lffl IoC i g ' IoC - ASMMffA * tti (default package) & Jramework * * IRE System Library jrel.5.0j38 _framework ffi f ' S Java fM fif T IDisplay.java package _framework public interface IDisplay public void Display () MM_framework frffi Factory ' S Java M M T Factory.java package _framework import _objects.* import _objects.Integer public class Factory private Document doc public Document...

A

A-1 PMA Windows AalA Android SDK 1.0 MA Eclipse A-2 PMItffA Android SDK 1.0 MA Eclipse A-3 MMmymn Android JSAMA A-5 PMA Linux Ubuntu Aa Android SDK 1.0 MA Eclipse A-6 PMA C C++ Cross Compiler B-5 mm Android Eclipse A-1 iU M Windows Android SDK 1.0 Eclipse ---- C MXg C Program Files T jdk-6u7-windows-i586-p.exe ' Step-2 android-sdk-windows-1.0_r1 Step-2 android-sdk-windows-1.0_r1 Step-4 Android A Eclipse fgA 4.2 M< Available Software> < Add Site > ' WikM URL AMMA * Otuyxxda Update Sils...

Info

4.7 7 PM M iAAfAM(Relative Layout) ' 35 Android Java ffif 36 tMM te Android C m& ffl& t ' TS ' M& f Xt vAndroid MM Android SDK Eclipse ' ' > S tom-kao.blogspot.com& www.misoo1.com 0 36 & & nmX M mm Menu ' M MMA Android ft (Title)MHAAW Inserts 3. B T< MENU> I ffiim ' Item> MM ' ff(Title)MHA A Delete 4. B T< MENU> mM* ' MMAX< Exit> MM ' fMAMInAT Step-2 MM Activity ftA exOl > nUAMZUT package com.misoo.ex01 import android.app.Activity import android.os.Bundle...

Layout

MffiAIHM LinearLayout fP RelativeLayout MfifiMmA AA7 - AftA 2. 5 fflXAm View ' 4 ffl view > m Step-1 MA Android JffifflgA* ex08 Step-2 MM Activity lAA ex08 > ggAMT ---- ex08.java gA package com.misoo.ex08 import android.app.Activity import android.os.Bundle import android.widget.Button import android.widget.ImageView import android.widget.RelativeLayout import android.widget.EditText import android.widget.TableLayout import android.widget.TableRow import android.view.View import...

OnResumeQ

AAAftS 1 fflffiMffi ' ffiM startActivityOAM pickup MM ' M pickup AMffilnAWAA SharedPreferences Affi M ac01 MM0 > ASMAS AMftAAATO SharedPreferences AffiAWAftlt AfiTOAAm ' - AAAftS 2 5 fflffiMffi ' M startActivityForResultOATO pickup MM ' - MAMM startActivity() MMAMftK ' AMMA AAA A M onResume() onStartOAM AffiMAA IHAfiftSA ---- AA 1 create() AM MgAB ' MM Android WM ---- AA 2 pressPickup() A M M m Menu M< Pick Up An Item> Ml - faM ' ac01 tfrA PE f Android g gm startActivity() M A(WM)pickup...

Sfflf

FtfMAMBt ' EditText ffiSA'W AAAPA 3. mm ' Ai SA< A> A ListView ft fg PA Step-1 MX Android M kx08 ' Sl W - tb com.misoo.ks08 + Hi acOl.java + El Input Act .java + El My Instrumentation, java + El R.java + El SelectAct.java Step-2 MM Activity ac01 > package com.misoo.kx08 import android.app.Activity import android.content.ComponentName import android.os.Bundle public class ac01 extends Activity Override protected void onCreate(Bundle savedInstanceState) super.onCreate(savedInstanceState)...

Bfixml

A-ffiffiMffi ' ac01 mmft onCreate() m ' ESUAMffi Button ifr > fAJPA LinearLayout ffi ' AHA layout.addView(btn, lp) btn2 new Button(this) layout.addView(btn2, lp) setContentView(layout) ffiMffi ' IBlfflMA ifa acOi.xml m ffi ' AAiAifMMA ft tt Step-2 mm Activity lAA ac01 SgA PA import android.view.View.OnClickListener public class ac01 extends Activity implements OnClickListener static final int PICKUPREQUEST 0 private Button btn, btn2 Override public void onCreate(Bundle icicle)...

Mm

Sequence Diagram From Bowling Game App

Intent in new Intent(ac01.this, pickup.class) startActivity(in) Editor passwdfile getSharedPreferences(ITEM, 0).edit() MAfU finish()MAISAft< ffiAM ' item lAitAA SharedPreferences SharedPreferences passwdfile getSharedPreferences(MITEMM, 0) String im passwdfile.getString(ITEM, null) TextView tv (TextView)findViewById(R.id. v) tv.setText(choice + im) SharedPreferences fMWXX item mil ' TextView 6.2 14 EM startActivityForResult() MMffi ' ac01 EM starActivityOS TO pickup S Mffl ActivityM gBm...

Ac01 rnrnmmmm

Step-2 MM Activity lAA ac01 > ---- ac01.java fMAfif ---package com.misoo.SQ01 import android.app.Activity import android.content.Context import android.database.Cursor import android.database.SQLException import android.database.sqlite.SQLiteDatabase import android. database.sqlite.SQLiteOpenHelper import android.os.Bundle import android.util.Log import android.view.View import android.view.View.OnClickListener import android.widget.Button import android.widget.LinearLayout public class ac01...

Ss mwwamm m Java gx

EX03 02 Employee.java package _objects public class Employee private String name private String sex static class Fee public static float BasicFee public static float Discount public static float GetTotal() return BasicFee * Discount public Employee(String na, String sx) name na sex sx public void SetFee(float basic_fee, float disc) Fee.BasicFee basic_fee Fee.Discount disc public void Display() System. out.println(name + 's fee + Fee.GetTotal()) Customer.java package _objects public class...

MMMSffi Button A

Ft * it m stiff ft onClick() stsmsA'Ai m m m m a listener iffft onClick() l mS(Title)MHAAAA this is OK button Step-2 MM Activity ftA ex03 > ---- ex03.java fMASf ---package com.misoo.ex03 import android.app.Activity import android.os.Bundle import android.view.View import android.view.View.OnClickListener import android.widget.Button public class ex03 extends Activity Override public void onCreate(Bundle icicle) super.onCreate(icicle) setContentView(R.layout.wain) Button btn...

PMMfflOTffiMRelative Layout

LinearLayout M ' XffiM XIH -fi fflftM 2. Sft l 4 MSXft view ' 1 M TextView f ListView fPMMf S A res drawable bk_red.jpg MM ListView ffBt If bk_ok_exit jpg mmmmimmmmmm mr 1 icon.png amp layout _ list.xrnl I - i rnam.xml Step-2 MM Activity lAA ex07 gt MAMtA ---- ex07.java MAM package com.misoo.ex07 import android.app.Activity import android.content.Context import android.os.Bundle import android.view.View import android.view.ViewGroup import android.view.Layoutlnflater import...

MffiM g Bft View

WTOMM Button ListView View ftA ' MM Android ffi M urn' aestoa mwmmmrn m View ma gt rntmzMx Step-1 A Android MfMA ex10 Step-2 MM Activity iftA ex10 gt package com.misoo.ex10 import android.app.Activity import android.os.Bundle import android.view.View import android.view.ViewGroup import android.view.View.OnClickListener import android.widget.LinearLayout import android.widget.RadioButton public class ex10 extends Activity implements OnClickListener Called when the activity is first created....

Ffi Activity Activity

SMffift ffiMffi ' AA T-i Activity Wii iB ftffiWMW Affii Activity A ' Activity 0 Activity A MA-iffiMAA i Activity A Activity A ' AAffSiiMM MAffiM A Si Activity A ' 0 Step-2 MM Activity ftA ex12 gt KfMAfif PT ex12.java fMA import android.view.View.OnClickListener public class ex12 extends Activity private final int WC LinearLayout.LayoutParams. WRAP_CONTENT private LinearLayout.LayoutParams para Override public void onCreate Bundle icicle super.onCreate icicle layout new LinearLayout this...

Use Case

Uml Use Case For Android Application

5.2 U Android Use Case frffiZMfr S MTO - MM ' -MMMf M MftM Layout m m Rmm mmm Activity mrnrn - n agfj ift-ii m amp UML Unified Model Language ft Use Case HttW Mi M M Android Mg ftS Mg aSKMg ' Activity S XSM ' Layout M Activity ft tgf M ftf Mf - MTfJ i ' Use Case gt Use Case H XX gt Xfta Use Case MMM Step-2 Use Case M Use Case Description, UCD fflg ftf IS g Dialog Process - PTH SM Layout f MW Activity SMAMA AM Use Case H Step-3 f UCD Android ftMffiM Layout . Mfrmm mm Use Case ' MA Mffi MI '...

MffiM State IMiA

AA-ffiMffi ' AIHT-fflAfADistnbuted MMAI ' M2DAMM fflAAMMffi - A AffiAag A Centric ' mAtAA Embedded M M MA ' AASMM St ' MAM ffitgSM FJfKState Machine SA'M Android t M FJflAMA Activity A Gamma Design Patterns- ' AlnT State AiA ' PAH l ftM ' State fi Xf 'fHMM flWSflftM KS amp -HI ' MW 4 Mlft KS ' -PM TO Preparing KS ' ItiA TakingOff KS ' XX ' IA Flying KS ' T ' IA Landing KS ' HKf H fM M X ' X MMW 4 ' AfgffiX State ff ' . State_V ViewAct Activity MgMfM ftKS

Position To Right

Step-2 MM Activity ftAS ac01 nUAMZUT import android.view.View.OnClickListener import android.widget.RelativeLayout public class ac01 extends Activity implements OnClickListener private final int WC ViewGroup.LayoutParams. WRAP_CONTENT public void onCreate Bundle icicle super.onCreate icicle this .create_layout setContentView r_lay out public void show String tx tv.setText tx private void create_layout r_layout new RelativeLayout this RelativeLayout.LayoutParams param tv new TextView this...