Relative Content

Tag Archive for javaandroidandroid-studiomobilemaps

Android Studio : App crashes if i use explicit intent to view my second activity which contains maps activity

Basically I am a newbie in Mobile Development and one day i wanted to test whether upon a button click in one activity shifts you in to another activity , yep it can be done but for simple things, i wanted to check by using this code : https://www.javatpoint.com/android-google-map , in the second activity i could just display my map with lat and lng imported from the main activity using intent extras … But what you know the app crashes every time i click the button