Apply Image Click Effect

add xml format file to /res/drawable <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_pressed="true" android:drawable="@drawable/image_click" /> <item android:state_focused="true" android:drawable="@drawable/image_focused" /> <item android:drawable="@drawable/image_click" /> </selector> "@drawable/BasicImage" is default image. "@drawable/onClickImage"is focused image. BasicImage ...

Access another app Using Intent

Access Android’s Internet Browser App

Uri uri = Uri.parse("http://proinfactory.tistory.com/");
Intent web  = new Intent(Intent.ACTION_VIEW,uri);
startActivity(web);

Access Android’s Mail App

Uri uri = Uri.parse("mailto:proin0312@gmail.com");
Intent mail = new Intent(Intent.ACTION_SENDTO, uri);
startActivity(mail);