Back to project page whohasmystuff.
The source code is released under:
GNU General Public License
If you think the Android project whohasmystuff 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 de.freewarepoint.whohasmystuff; /*w w w .j a v a2s . c o m*/ import android.os.Bundle; import android.support.v7.app.ActionBarActivity; public class MainActivity extends ActionBarActivity { public static final String LOG_TAG = "WhoHasMyStuff"; public static final String FIRST_START = "FirstStart"; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); if (findViewById(R.id.mainActivity) != null) { if (savedInstanceState != null) { return; } ListLentObjects firstFragment = new ListLentObjects(); firstFragment.setArguments(getIntent().getExtras()); getSupportFragmentManager().beginTransaction() .add(R.id.mainActivity, firstFragment).commit(); } } }