Back to project page RESTExplorer.
The source code is released under:
MIT License
If you think the Android project RESTExplorer 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.cmn397.restexplorer; //from ww w .j a v a 2 s. co m import com.cmn397.androidsharedservices.SingleFragmentActivity; import android.app.Fragment; import android.view.Menu; public class MainActivity extends SingleFragmentActivity { protected Fragment createFragment(int fragmentID) { return new ChooseRequestFragment(); } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.main, menu); return true; } }