Back to project page sensor-supervisor.
The source code is released under:
GNU General Public License
If you think the Android project sensor-supervisor listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.thirdi.sensorsupervisor; /*from w w w . j a va2s. c o m*/ import android.os.Bundle; import android.support.v4.app.FragmentActivity; import com.google.android.gms.maps.CameraUpdateFactory; import com.google.android.gms.maps.GoogleMap; import com.google.android.gms.maps.SupportMapFragment; import com.google.android.gms.maps.model.LatLng; import com.google.android.gms.maps.model.MarkerOptions; public class maps extends FragmentActivity{ private GoogleMap googleHarita; protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.maps); if (googleHarita == null) { googleHarita = ((SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.haritafragment)) .getMap(); if (googleHarita != null) { LatLng istanbulKoordinat = new LatLng(41.021161,29.004065); googleHarita.addMarker(new MarkerOptions().position(istanbulKoordinat).title("K?z Kulesi")); googleHarita.moveCamera(CameraUpdateFactory.newLatLngZoom(istanbulKoordinat, 13)); } } } }