A0:  Android article,How to use Google Map in Android system and apply its settings
نوشته شده توسط : dotnek


Google Maps
 is used for navigation, finding a person's current location, searching for places by name, and much more. In this part of the tutorial, we want to tell you about how to install and activate this feature in Android systems for users to use. It is noteworthy that Google has changed the way it adds this feature to mobile systems, but it is still possible.

Create an API Key in Google Console

In order to be able to use the Google Maps API , we must have an account and use the same account to enter the following link.https://console.developers.google.com1- First, click on Select a project.2- Then click on NEW PROJECT.3- Create a name for the project and select it.4- Click on the CREATE button to create the project with the entered name.5- In the window and the Credentials section that opens, we must click the Create credentials button.6- Then we have to select the API key.7- After this, a key is made.8- Click on the ENABLE APIS AND SERVICES button in the Dashboard section of the project.9- Then we have to select Maps SDK for Android.

Create a Google Map view project

In this part of the tutorial we want to show a location on the map using a marker.1- We create a new project and put its name on Google Map as desired.2- The activity that is used in this part of the training and the map display project should be of the Empty Activity type.3- The language used for this section is Java .4- To be able to see the map API, we need tools like Google Play Services in the SDK.5- To do this, you must check the SDK Manager and if it is not installed, be sure to install it.6- We need to add the play-services-maps library, which is a subset of the play-services library, to the project.

Note:

We do not use the play-services library because it contains some items and sub-libraries, and these sub-libraries will cause problems. So, we need to add the libraries we need to the project.7- Go to File> Project Structure and search the play-services-maps library and enter the latest version of it into the project.8- The library is added to the dependencies block inside the Build.gradle file. 

Read more on:https://www.dotnek.com/Blog/Apps/how-to-use-google-map-in-android-system-and-a

link:https://dotnek.mystrikingly.com/

Related link:DotNek Programovanie





:: برچسب‌ها: dotnek , seo , site ,
:: بازدید از این مطلب : 27
|
امتیاز مطلب : 0
|
تعداد امتیازدهندگان : 0
|
مجموع امتیاز : 0
تاریخ انتشار : دو شنبه 18 مرداد 1400 | نظرات ()
مطالب مرتبط با این پست
لیست
می توانید دیدگاه خود را بنویسید


نام
آدرس ایمیل
وب سایت/بلاگ
:) :( ;) :D
;)) :X :? :P
:* =(( :O };-
:B /:) =DD :S
-) :-(( :-| :-))
نظر خصوصی

 کد را وارد نمایید:

آپلود عکس دلخواه:








cache01last1628618496