after some work I was able to instantiate a MapView in a Fragment, I'm using the "Title stripes + swipe" layout, and my goal is to have one fragment with a listview, and the second one with a map.
I've read all the tutorials to have the new google map api workind, got the key and eveything should be settled up, but at execution time i got that error: Didn't find class "com.google.android.gms.maps.MapFragment" on path: /system/framework/come.google.android.jar:/data/app/my_package
The code is the one generated by the SDK ( the code generated by eclipse, chosing a title strip + swipe layout ) plus that inside the onCreateView() method:
View mFragmentView = inflater.inflate(R.layout.map, null);
MapView map = (MapView)mFragmentView.findViewById(R.id.map);
return map;
From the xml side, i have a map.xml layout with only that inside:
<fragment xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent"
class="com.google.android.gms.maps.MapFragment"/>
Thanks in advance for your help