Back to project page arcgis-runtime-samples-android.
The source code is released under:
Apache License
If you think the Android project arcgis-runtime-samples-android 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.esri.arcgis.android.sample.simplemap; /*from w ww . j a v a2s . co m*/ import android.app.Fragment; import com.esri.arcgis.android.sample.simplemap.SingleFragmentActivity; // This class inherits SingleFragmentActivity to provide an activity that contains a single instance // of the SimpleMapFragment. // This class uses the Fragment API available in Android API level 11 and later; however for devices // with older APIs you could adapt this class to use the Android Support Library. public class SimpleMapActivity extends SingleFragmentActivity { @Override protected Fragment createFragment() { return new SimpleMapFragment(); } }