android content Intent Intent Intent set ActionString act
![](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-1.jpg)
![](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-2.jpg)
![](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-3.jpg)
![](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-4.jpg)
![関連クラス 概 要 android. content. Intentクラス Intent() インテンツを作成する。 Intent set. Action(String act) アクションを設定する。 Intent 関連クラス 概 要 android. content. Intentクラス Intent() インテンツを作成する。 Intent set. Action(String act) アクションを設定する。 Intent](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-5.jpg)
![プログラム例(その1) package jp. tele; import android. app. *; import android. os. *; import android. プログラム例(その1) package jp. tele; import android. app. *; import android. os. *; import android.](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-6.jpg)
![プログラム例(その2) public class Tele. Activity extends Activity { Button btn; /** Called when the プログラム例(その2) public class Tele. Activity extends Activity { Button btn; /** Called when the](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-7.jpg)
![プログラム例(その2) class tel. Click. Listener implements On. Click. Listener{ @Override public void on. Click(View プログラム例(その2) class tel. Click. Listener implements On. Click. Listener{ @Override public void on. Click(View](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-8.jpg)
![](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-9.jpg)
![](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-10.jpg)
![プログラム例(その1) package jp. retr; import android. app. *; import android. os. *; import android. プログラム例(その1) package jp. retr; import android. app. *; import android. os. *; import android.](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-11.jpg)
![プログラム例(その2) public class Retr. Activity extends Activity { Button button; /** Called when the プログラム例(その2) public class Retr. Activity extends Activity { Button button; /** Called when the](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-12.jpg)
![プログラム例(その3) class ret. Click. Listener implements On. Click. Listener { public void on. Click(View プログラム例(その3) class ret. Click. Listener implements On. Click. Listener { public void on. Click(View](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-13.jpg)
![](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-14.jpg)
- Slides: 14
![](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-1.jpg)
![](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-2.jpg)
![](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-3.jpg)
![](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-4.jpg)
![関連クラス 概 要 android content Intentクラス Intent インテンツを作成する Intent set ActionString act アクションを設定する Intent 関連クラス 概 要 android. content. Intentクラス Intent() インテンツを作成する。 Intent set. Action(String act) アクションを設定する。 Intent](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-5.jpg)
関連クラス 概 要 android. content. Intentクラス Intent() インテンツを作成する。 Intent set. Action(String act) アクションを設定する。 Intent set. Data(Uri uri) URIデータを設定する。 Android. app. Activityクラス void start. Activity 新しいActivityを起動する。
![プログラム例その1 package jp tele import android app import android os import android プログラム例(その1) package jp. tele; import android. app. *; import android. os. *; import android.](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-6.jpg)
プログラム例(その1) package jp. tele; import android. app. *; import android. os. *; import android. content. *; import android. net. *; import android. view. View. On. Click. Listener; import android. widget. *;
![プログラム例その2 public class Tele Activity extends Activity Button btn Called when the プログラム例(その2) public class Tele. Activity extends Activity { Button btn; /** Called when the](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-7.jpg)
プログラム例(その2) public class Tele. Activity extends Activity { Button btn; /** Called when the activity is first created. */ @Override public void on. Create(Bundle saved. Instance. State) { super. on. Create(saved. Instance. State); Linear. Layout LL=new Linear. Layout(this); LL. set. Orientation(Linear. Layout. VERTICAL); set. Content. View(LL); btn=new Button(this); btn. set. Text("電話"); LL. add. View(btn); btn. set. On. Click. Listener(new tel. Click. Listener()); }
![プログラム例その2 class tel Click Listener implements On Click Listener Override public void on ClickView プログラム例(その2) class tel. Click. Listener implements On. Click. Listener{ @Override public void on. Click(View](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-8.jpg)
プログラム例(その2) class tel. Click. Listener implements On. Click. Listener{ @Override public void on. Click(View v) { Intent it =new Intent(); //インテ ント作成 it. set. Action(Intent. ACTION_VIEW); //アクシ ョン指定 it. set. Data(Uri. parse(“tel: 0423069072”)); //デー タ設定 start. Activity(it); //電話の 起動 } } }
![](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-9.jpg)
![](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-10.jpg)
![プログラム例その1 package jp retr import android app import android os import android プログラム例(その1) package jp. retr; import android. app. *; import android. os. *; import android.](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-11.jpg)
プログラム例(その1) package jp. retr; import android. app. *; import android. os. *; import android. content. *; import android. view. View. *; import android. widget. *;
![プログラム例その2 public class Retr Activity extends Activity Button button Called when the プログラム例(その2) public class Retr. Activity extends Activity { Button button; /** Called when the](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-12.jpg)
プログラム例(その2) public class Retr. Activity extends Activity { Button button; /** Called when the activity is first created. */ @Override public void on. Create(Bundle saved. Instance. State) { super. on. Create(saved. Instance. State); Linear. Layout LL=new Linear. Layout(this); LL. set. Orientation(Linear. Layout. VERTICAL); set. Content. View(LL); button=new Button(this); button. set. Text("検索"); LL. add. View(button); button. set. On. Click. Listener(new ret. Click. Listener()); }
![プログラム例その3 class ret Click Listener implements On Click Listener public void on ClickView プログラム例(その3) class ret. Click. Listener implements On. Click. Listener { public void on. Click(View](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-13.jpg)
プログラム例(その3) class ret. Click. Listener implements On. Click. Listener { public void on. Click(View v) { Intent intent=new Intent(); intent. set. Action(Intent. ACTION_SEARCH); intent. put. Extra(Search. Manager. QUERY, "Android"); start. Activity(intent); } } }
![](https://slidetodoc.com/presentation_image_h2/66a60303871a06a7b941183461fd0c95/image-14.jpg)
Implicit intent example
Total set awareness set consideration set
Training set validation set test set
Android.intent.action.phone_state
Android.intent.action.action_power_connected
Pengertian content provider
Carrier content vs real content
Static content vs dynamic content
Macbeth act 3-5 summary
Bounded set vs centered set
Fucntions
Crisp set vs fuzzy set
Crisp set vs fuzzy set
What is the overlap of data set 1 and data set 2?
Surjective vs injective