Re: [android-developers] [ASK] about get location using GPS

2012-05-29 Thread Michael Leung
That looks fine for me Regards, Michael http://www.itblogs.info 2012-5-29 下午5:49 於 "Michael Leung" 寫道: > Have you enable your GPS first? > 2012-5-28 上午7:36 於 "Alfa" <672008...@student.uksw.edu> 寫道: > >> hi, i want to get my location in longitude and latitude from gps, and >> i use this code >>

Re: [android-developers] [ASK] about get location using GPS

2012-05-29 Thread Michael Leung
Have you enable your GPS first? 2012-5-28 上午7:36 於 "Alfa" <672008...@student.uksw.edu> 寫道: > hi, i want to get my location in longitude and latitude from gps, and > i use this code > > public void onCreate(Bundle savedInstanceState) { >super.onCreate(savedInstanceState); >

[android-developers] [ASK] about get location using GPS

2012-05-27 Thread Alfa
hi, i want to get my location in longitude and latitude from gps, and i use this code public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.googlemapview); mv = (MapView)findViewById(R.id.mapvie