Code example for FragmentActivity

Methods: getIntent, getSupportFragmentManager, onCreate, requestWindowFeature

0
	@Override 
	protected void onCreate(Bundle savedInstanceState)
	{ 
		Log.d(TAG, "Entering onCreate");
		 
		super.onCreate(savedInstanceState);
		 
		this.requestWindowFeature(Window.FEATURE_NO_TITLE);
		 
		activities.add(this);
		 
		Bundle extras = this.getIntent().getExtras();
		int year = extras.getInt("year");
		int month = extras.getInt("month");
		int day = extras.getInt("day");
		 
		currentDateValue = new GregorianCalendar(year, month, day);
 
		datePickerFragment = new DatePickerFragment();
		datePickerFragment.show(getSupportFragmentManager(), "datePicker");
		 
		Log.d(TAG, "Exiting onCreate");
	} 
	 
	@Override