Looks like Google Play services is not available in your tablet. On Friday, March 29, 2013 11:11:49 AM UTC-4, Pratama Nur Wijaya wrote: > > > <https://lh5.googleusercontent.com/-o4SyZfDxWvI/UVWvKvkpfLI/AAAAAAAAAgE/bj65FJ_evaY/s1600/Image+1.png> > i have change my code become like these one.. > > http://pastebin.com/FRrpeDAM > > but i still got nullpointer.. > > map = mapFragment.getMap(); > > i'm tested my apps on Emulator api level 17 > > > On Friday, 29 March 2013 13:49:56 UTC+7, skink wrote: >> >> >> >> Pratama Nur Wijaya wrote: >> > if my GoogleMap still null.. why my program running in my phone.. and >> get >> > force close on my tablet.. >> > >> > can u give me some advice >> > >> > >> >> see >> http://developer.android.com/reference/com/google/android/gms/maps/SupportMapFragment.html#getMap() >> >> >> it reads: >> >> Returns >> the GoogleMap. Null if the view of the fragment is not yet ready. This >> can happen >> if the fragment lifecyle have not gone through >> onCreateView(LayoutInflater, ViewGroup, Bundle) yet. This can also >> happen if Google Play services is not >> available. >> >> pskink >> >
-- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

