목록프로그래밍/안드로이드특강 (21)
ITGenerations
Java1-(main)package com.example.ryan.intent; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.TextView; public class MainActivity extends AppCompatActivity { static final int GET_STRING=1; TextView text1; @Override protected void onCreate(Bundle savedInstanceStat..
자바 클래스 추가 생성package com.example.ryan.myapplication; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Path; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; /** * Created by ryan on 2018. 1. 23.. */ public class TouchView extends View { private Paint pai..
자바package com.example.ryan.myapplication; import android.app.Dialog; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(saved..
package com.example.ryan.myapplication; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; import android.widget.Toast; public class MainActivity extends AppCompatActivity { private static final int DIALOG_YES_NO_MESSAG..
Javapackage com.example.ryan.myapplication; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.Button; public class MainActivity extends AppCompatActivity { private static final int DIALOG_YES_NO_MESSAGE=1; Button button; @Over..