目前正在实作毕业专题 使用google map显示自己目前所在位置后 从sqlite数据库找出附近的点,并显示 但是目前数据库约有7000笔资料 个别计算似乎有点费时 已经有google过,但可能关键字错误,所以没有找到相关方法 不知道各位有没有什么好方法... 另外想请问一下,我想实作大概下方的画面(以下为网络上的图) http://imgur.com/SBmJu82 大概就是想要下方选单列选择地图之后,地图会显示在中间 目前查了一下看起来map是用fragment 但目前map的xml档案如下... <fragment xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/map" tools:context="com.tsai.shepherd.telepathy.MapsActivity" android:name="com.google.android.gms.maps.SupportMapFragment" /> 爬了一下网络,看到官方文件写说You cannot inflate a layout into a fragment when that layout includes a <fragment>. 请问还有什么其他方法吗 抱歉,问题有点多,先谢谢各位