Location detect by android use of satellite & GPS

1. First Take permission into "AndroidManifest.xml" file. as below:- 




       
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>











[Note : Allows an app to access precise location. it makes access *mobile netwok,*WiFi, *GPS ]


2. Add Google Location and Activity Recognition library to App gradle:-














       
           compile 'com.google.android.gms:play-services-location:10.2.1'

[Note: google play service API .  ]


3. Now we need Some Classes which now accessible for syncronising/ Adding previous Dependencies or library. 






























মন্তব্যসমূহ

এই ব্লগটি থেকে জনপ্রিয় পোস্টগুলি

Add Gif file in Android xml file

API (Application Programming Interface) .