Bukan Materi Pelajaran yang Sulit, tapi Memulai Untuk Belajar itu yang Sulit.

Code Android Intent - Action_View

11:42 PM Posted by develop code source No comments
When call IntentActionViewwActivity() with action Intent.ACTION_VIEW, the system will start an activity to display the data to the user. ACTION_VIEW is the most common action performed on data -- it is the generic action you can use on a piece of data to get the most reasonable thing to occur.

Screen Shoot Project :

Intent intentkontak = new Intent( Intent.ACTION_VIEW,Uri.parse( "content://contacts/people"));
startActivity(intentkontak);


Intent intentgoogle = new Intent( Intent.ACTION_VIEW,Uri.parse( "http://www.google.com"));
startActivity(intentgoogle);


Intent intentcall = new Intent( Intent.ACTION_VIEW,Uri.parse("tel:/216 555-1234"));
startActivity(intentcall);


Download Project Android IntentActionView.zip

0 komentar:

Post a Comment