Back to project page AndroidWeatherBuoyDemo.
The source code is released under:
Apache License
If you think the Android project AndroidWeatherBuoyDemo listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.kevinrschultz.weatherbuoy.ui; /*from ww w. ja v a2 s. com*/ import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import com.kevinrschultz.weatherbuoy.R; public class SettingsActivity extends Activity { public static Intent makeSettingsActivityIntent(Context context) { return new Intent(context, SettingsActivity.class); } @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_fragment_container); if (savedInstanceState == null) { getFragmentManager().beginTransaction() .add(R.id.activity_fragment_container, SettingsFragment.newInstance()) .commit(); } } }