SlideShare une entreprise Scribd logo
1  sur  11
Télécharger pour lire hors ligne
Hello World
プロジェクト新規作成
動かしてみよう

先ずはエミュレータで
●




起動の方法については略します
●
プロジェクトの属性
●
    Project Name : HelloAndroid
●
    Build Target : Android API 4.0
●
    Application Name : Hello
●
    Package Name : com.example.hello
●
    Create Activity : HelloActivity
可能な人は
 実機でも
  どうぞ
もう少し
●
    DDMS
●
    Android Manifest
●
    Log
●
    例外
Android Manifest
●
    permissions
●
    Activity
●
    Service
●
    ContentProvider
●
    IntentFilter
android.util.Log
●
    ログレベルについて


●
    抽出の方法


●
    export
Log の出力について
●
    盛り込んでみて動作確認
    例 ) Log.d(“tag”, “message”);
    onCreate メソド内で


●
    Log 出力の確認も
例外
以下な状態になった場合
ログ
DDMS から Logcat を確認

Contenu connexe

Plus de YAMANE Toshiaki (20)

読書会開催提案
読書会開催提案読書会開催提案
読書会開催提案
 
Git Workshop 20130720
Git Workshop 20130720Git Workshop 20130720
Git Workshop 20130720
 
Designers hack
Designers hackDesigners hack
Designers hack
 
2012.10.27 のアンカンファレンスのスライド
2012.10.27 のアンカンファレンスのスライド2012.10.27 のアンカンファレンスのスライド
2012.10.27 のアンカンファレンスのスライド
 
Coderetreat
CoderetreatCoderetreat
Coderetreat
 
Android Fundamentals
Android FundamentalsAndroid Fundamentals
Android Fundamentals
 
ojag20120519
ojag20120519ojag20120519
ojag20120519
 
20120512
2012051220120512
20120512
 
X hago3
X hago3X hago3
X hago3
 
20110205.jsonengine
20110205.jsonengine20110205.jsonengine
20110205.jsonengine
 
20110205.apple1emu
20110205.apple1emu20110205.apple1emu
20110205.apple1emu
 
20110205.linux 0.01
20110205.linux 0.0120110205.linux 0.01
20110205.linux 0.01
 
20110205.conference
20110205.conference20110205.conference
20110205.conference
 
Introduction ofintent
Introduction ofintentIntroduction ofintent
Introduction ofintent
 
Dialog
DialogDialog
Dialog
 
Async processing
Async processingAsync processing
Async processing
 
20101106
2010110620101106
20101106
 
20101002
2010100220101002
20101002
 
Service
ServiceService
Service
 
20100911
2010091120100911
20100911
 

Hello world