خرید بک لینک

کد اکتیویتی

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/LinearLayout1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >

<com.google.android.maps.MapView
android:id="@+id/themap"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:apiKey="**********"
android:clickable="true" />

</LinearLayout>

java code:

public class Map extends MapActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_map);

MapView mp=(MapView) findViewById(R.id.themap);
mp.setBuiltInZoomControls(true);

}


کل پرمیشن ها رو هم گرفتم
مشکلش چیه ؟ چراصفحه خالی با ارم گوگل میاد؟

برچسب: نویسنده: محمد رضا جوادیان تاريخ: جمعه 15 مرداد 1395 ساعت: 21:57

صفحه بندی