First I looked here: Start FragmentActivity from Activity , and now I have the following problem:
MapsActivity:
public class MapsActivity extends FragmentActivity { private GoogleMap mMap; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.maps); setUpMapIfNeeded(); } ...
and want to run it from MainActivity with
startActivity(new Intent(this, MapsActivity.class));
Activity registered in Android Manifest:
<activity android:name="de.xbjoernx.gapp.MapsActivity"></activity>
Mistake
FATAL EXCEPTION: main java.lang.RuntimeException: Unable to start activity ComponentInfo{de.xbjoernx.gapp/de.xbjoernx.gapp.MapsActivity}: android.view.InflateException: Binary XML file line
Any suggestions for fixing it?
Thanks, bye:)
android google-maps-android-api-2
Heisnberg Aug 14 '13 at 9:11 2013-08-14 09:11
source share