Java tutorial
//package com.java2s; import android.app.Activity; import android.content.Intent; public class Main { public static void restartActivity(Activity activity) { Intent intent = activity.getIntent(); activity.finish(); activity.startActivity(intent); } }