Google Maps Nearby Places Tutorial | PART 1 ( Android Tutorials )

This is a continuation to Google Maps tutorials series. There are 5 previous parts to this tutorial. But I created a separate series for this because this nearby places tutorial will take around 4-5 parts to complete. If you want to watch the previous parts the links are below :

Nearby Places Tutorials :
Part 2 : https://youtu.be/ovlHW6Y1eQM
Part 3 : https://youtu.be/paWEkAH4gSU

Google Maps Tutorials :
Watch previous parts HERE :
Part 1 : https://youtu.be/Ot8D-GZ8qfY
Part 2 : https://youtu.be/HD48FBwY9U0
Part 3 : https://youtu.be/rGkhzguavlc
Part 4 : https://youtu.be/T2R9ETdd24Y
Part 5 : https://youtu.be/AaLgEpDmJ6E

Code for DataParser.java class :

In the previous parts, we created the base for this tutorial. We first created a basic google maps activity where the default marker was set to Sydney, Australia. Then, in the next couple of parts we completed the get current location feature. In the last part, we created a search bar and a search button to search for a particular location in the google map.

In this series, I will show you how to search nearby places like hospitals, restaurants, schools etc. I am going to show you just these 3 things but you can modify it according to your needs.

In the first part, I created the 3 java classes that we need in this project. Then I added 3 buttons to the layout file to display hospitals, restaurants and schools. We set onClick properties and used switch case instead of using if-else. Then, we completed 2 of the classes which are DownloadUrl and DataParser.

In the DownloadUrl class, we created readUrl() method which reads URL using HTTPURLConnection object and file handling methods such as input stream and Buffered Reader. Then after reading the url, we needed to parse it. So, we created Data parser class. This class contains 3 methods viz., getPlace(), getPlaces() and parse().

The parse() method will parse the data and pass it to getPlaces() method which will store it in form of List of HashMap. The getPlaces() method will fetch each place one by one using for loop and then call getPlace() method for each place.
getPlace() method will convert the jsonArray to HashMap and add it to List of HashMap.

In the next parts of this tutorial, we are going to complete the GetNearbyPlacesData class and also MapsActivity class.

Find me here :

Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts
Twitter : https://twitter.com/AndroidAcademy1
Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl

Google Maps Nearby Places Tutorial | PART 2 ( Android Tutorials)

This is a continuation to Google Maps tutorials series. There are 5 previous parts to this tutorial. But I created a separate series for this because this nearby places tutorial will take around 4-5 parts to complete. If you want to watch the previous parts the links are below :

Nearby Places Tutorials :
Part 1 : https://youtu.be/_Oljjn1fIAc
Part 3 : https://youtu.be/paWEkAH4gSU

Google Maps Tutorials :
Watch previous parts HERE :
Part 1 : https://youtu.be/Ot8D-GZ8qfY
Part 2 : https://youtu.be/HD48FBwY9U0
Part 3 : https://youtu.be/rGkhzguavlc
Part 4 : https://youtu.be/T2R9ETdd24Y
Part 5 : https://youtu.be/AaLgEpDmJ6E

Code for DataParser.java class :

In the previous parts, we created the base for this tutorial. We first created a basic google maps activity where the default marker was set to Sydney, Australia. Then, in the next couple of parts we completed the get current location feature. In the last part, we created a search bar and a search button to search for a particular location in the google map.

In this series, I will show you how to search nearby places like hospitals, restaurants, schools etc. I am going to show you just these 3 things but you can modify it according to your needs.

In the first part, I created the 3 java classes that we need in this project. Then I added 3 buttons to the layout file to display hospitals, restaurants and schools. We set onClick properties and used switch case instead of using if-else. Then, we completed 2 of the classes which are DownloadUrl and DataParser.

In the DownloadUrl class, we created readUrl() method which reads URL using HTTPURLConnection object and file handling methods such as input stream and Buffered Reader. Then after reading the url, we needed to parse it. So, we created Data parser class. This class contains 3 methods viz., getPlace(), getPlaces() and parse().

The parse() method will parse the data and pass it to getPlaces() method which will store it in form of List of HashMap. The getPlaces() method will fetch each place one by one using for loop and then call getPlace() method for each place.
getPlace() method will convert the jsonArray to HashMap and add it to List of HashMap.

In the next parts of this tutorial, we are going to complete the GetNearbyPlacesData class and also MapsActivity class.

Find me here :

Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts
Twitter : https://twitter.com/AndroidAcademy1
Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl

Channel: Tech Academy
Published: 2017-07-11 03:47:41
Duration: 11M16S
Views: 92
Likes: 6
Favorites: 0

Google Maps Nearby Places Tutorial | Part 3 ( Android Tutorials)

This is a continuation to Google Maps tutorials series. There are 5 previous parts to this tutorial. But I created a separate series for this because this nearby places tutorial will take around 4-5 parts to complete. If you want to watch the previous parts the links are below :

Nearby Places Tutorials :
Part 1 : https://youtu.be/_Oljjn1fIAc
Part 2 : https://youtu.be/ovlHW6Y1eQM

Google Maps Tutorials :
Watch previous parts HERE :
Part 1 : https://youtu.be/Ot8D-GZ8qfY
Part 2 : https://youtu.be/HD48FBwY9U0
Part 3 : https://youtu.be/rGkhzguavlc
Part 4 : https://youtu.be/T2R9ETdd24Y
Part 5 : https://youtu.be/AaLgEpDmJ6E

Code for DataParser.java class :

In the previous parts, we created the base for this tutorial. We first created a basic google maps activity where the default marker was set to Sydney, Australia. Then, in the next couple of parts we completed the get current location feature. In the last part, we created a search bar and a search button to search for a particular location in the google map.

In this series, I will show you how to search nearby places like hospitals, restaurants, schools etc. I am going to show you just these 3 things but you can modify it according to your needs.

In the first part, I created the 3 java classes that we need in this project. Then I added 3 buttons to the layout file to display hospitals, restaurants and schools. We set onClick properties and used switch case instead of using if-else. Then, we completed 2 of the classes which are DownloadUrl and DataParser.

In the DownloadUrl class, we created readUrl() method which reads URL using HTTPURLConnection object and file handling methods such as input stream and Buffered Reader. Then after reading the url, we needed to parse it. So, we created Data parser class. This class contains 3 methods viz., getPlace(), getPlaces() and parse().

The parse() method will parse the data and pass it to getPlaces() method which will store it in form of List of HashMap. The getPlaces() method will fetch each place one by one using for loop and then call getPlace() method for each place.
getPlace() method will convert the jsonArray to HashMap and add it to List of HashMap.

In the next parts of this tutorial, we are going to complete the GetNearbyPlacesData class and also MapsActivity class.

Find me here :

Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts
Twitter : https://twitter.com/AndroidAcademy1
Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl

Channel: Tech Academy
Published: 2017-07-11 16:45:52
Duration: 12M47S
Views: 53
Likes: 4
Favorites: 0

Colocar Google Maps en tu aplicación de Android – Tutorial

Clic aqui para todos nuestros cursos y tutoriales: ►http://codigofacilito.com/

Siguenos en Twitter:
http://twitter.com/codigofacilito

“Like” en Facebook:
http://facebook.com/codigofacilito

—–

MAS CURSOS de CodigoFacilito:

Curso para crear una pagina web en HTML5:
http://bit.ly/PaginaWebHTML5

Curso de Ruby
http://bit.ly/RubyFacilito

Curso de Ruby on Rails
http://bit.ly/RailsFacilito

Curso de Python:
http://bit.ly/PythonFacilito

Curso de HTML5:
http://bit.ly/HTML5Facilito

Curso de WordPress (Crea un tema desde cero):
http://bit.ly/WordPressFacilito

Curso de CSS:
http://bit.ly/CSSFacilito

Curso de PHP:
http://bit.ly/PHPFacilito

Curso de JavaScript y jQuery:
http://bit.ly/jQueryFacilito

Curso de Java:
http://bit.ly/JavaFacilito

Curso de C++:
http://bit.ly/CFacilito

Curso de Xcode:
http://bit.ly/XcodeFacilito

—–

Sitio web:
http://codigofacilito.com/

Siguenos en Twitter:
http://twitter.com/codigofacilito

“Like” en Facebook:
http://facebook.com/codigofacilito

Suscribete en YouTube:
http://bit.ly/qHEewR

Unete al Newsletter:
http://bit.ly/CorreoFacilito

—–

►¿Quieres ser tutor en CodigoFacilito?
Escribeme a alejandroruibal arroba gmail.com y cuentame porque te gustaria participar en nuestro proyecto, que curso te gustaria impartir y un poco de tu experiencia como programador. Es una excelente manera de compartir tus conocimientos con la comunidad mientras al mismo tiempo generas un ingreso extra.

Channel: codigofacilito
Published: 2016-09-14 16:42:22
Duration: 15M
Views: 14400
Likes: 164
Favorites: 0

Updated Google Maps Tutorial | PART 1

This is an updated version of my previous tutorial. I received a lot of requests to upload an updated version of this tutorial.
Later, we will learn how to track a moving person’s location and some other things too.

Watch next parts HERE :
PART 2 : https://youtu.be/HD48FBwY9U0
PART 3 : https://youtu.be/rGkhzguavlc
PART 4 : https://youtu.be/T2R9ETdd24Y
PART 5 : https://youtu.be/AaLgEpDmJ6E

Find me here :

Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts
Twitter : https://twitter.com/AndroidAcademy1
Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl

Channel: Tech Academy
Published: 2017-06-17 23:04:30
Duration: 4M49S
Views: 1112
Likes: 24
Favorites: 0

Updated Google Maps Tutorial | PART 5 (Android Tutorials)

This is a video tutorial series in which you will learn how to create android app using google maps activity.

In the previous 4 parts, we completed the get current location part of this tutorial.
In this video, I will show you how to add a search bar and a search button to the maps activity and how to search for a particular location using that.
First, we are going to work on the xml file. We will add a text field and a button. User will enter the location he wants to search in the google maps in the text field and then the user will click on the search button.

We will check if the user has entered anything in the text field or not. This part is called exception handling. Once, we have made sure that the user entered something in the search bar, then we can fetch that string and search it using Geocoder class.

Find more information about Geocoder class here :
http://developer.android.com

Watch previous parts HERE :
1) Part 1 : https://youtu.be/Ot8D-GZ8qfY
2) Part 2 : https://youtu.be/HD48FBwY9U0
3) Part 3 : https://youtu.be/rGkhzguavlc
4) Part 4 : https://youtu.be/T2R9ETdd24Y

Find me here :

Google+ : https://plus.google.com/u/0/b/105970252005982916681/105970252005982916681/posts
Twitter : https://twitter.com/AndroidAcademy1
Facebook : https://www.facebook.com/AndroidAcademy8?ref=hl

Channel: Tech Academy
Published: 2017-07-05 21:55:52
Duration: 11M55S
Views: 426
Likes: 12
Favorites: 0

Leave a Reply

Your email address will not be published. Required fields are marked *