/* Use the LocationManager class to obtain GPS locations */ LocationManager mlocManager = (LocationManager)getSystemService(Context.LOCATION_SERVICE);
LocationListener mlocListener = new MyLocationListener(); *mlocManager.requestLocationUpdates( LocationManager.GPS_PROVIDER, 0, 0, mlocListener);* In above code for getting my location eclipse is showing error in line which is underlined. Especially, it is not giving intelligence (auto text completion) on putting '.' ( a dot ) after mlocManager........???? Whats the issue with this??? I got this code from http://www.anddev.org/map-tutorials-f18/know-your-location-with-gps-t52408.html And http://developer.android.com/guide/topics/location/obtaining-user-location.html _____________________________ THANKS, SAGAR BORSE BE IT GECA Registered GNU/Linux User #500860 स्वताः मुक्त व्हा , अन नंतर स्वॅाफ्टवेअर मुक्त करा. On Mon, Apr 18, 2011 at 6:46 PM, TreKing <[email protected]> wrote: > On Mon, Apr 18, 2011 at 8:00 AM, sagar borse > <[email protected]>wrote: > >> Can any one help me in adding Direction APIs > > > http://code.google.com/apis/maps/documentation/directions/ > > >> and locating A GEO point on a click on map ??? > > > http://code.google.com/android/add-ons/google-apis/reference/index.html > > > ------------------------------------------------------------------------------------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices > > -- > You received this message because you are subscribed to the Google Groups > "Android for Beginners" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/android-for-beginners?hl=en. > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

