I search many blog to find the solution but i do not find correct / complete code to solve the problem. After search many blog and read many comment i make the solution.
Next of Previous Date Source code:::
public class NextDayActivity extends Activity {
private int values=5;
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
Calendar calendar = Calendar.getInstance();
calendar.add(Calendar.DAY_OF_YEAR, +values);
int year = calendar.get(Calendar.YEAR);
int monthOfYear = calendar.get(Calendar.MONTH);
int dayOfMonth = calendar.get(Calendar.DAY_OF_MONTH);
Toast.makeText(getApplicationContext(),dayOfMonth+”-“+monthOfYear+”-“+year, Toast.LENGTH_LONG).show();
}
}