下面的活動從我的解析數據庫中獲取數據並顯示它。我有一個函數getLocationFromAddress()將字符串地址轉換爲LatLng格式。函數prepareMap()然後生成一個標記,然後指向地圖上的那個位置。 (未示出未imp的函數)該活動的代碼如下 public class SingleRestraunt extends ActionBarActivity {
private G
我試圖表現出google map在我的應用程序,但它顯示的小方塊盒屏幕,而不是google maps 這裏是我的Mainactivity public class MainActivity extends FragmentActivity {
private static final int GPS_ERRORDIALOG_REQUEST = 9001;
GoogleMap