Show-Multiple-Markers-Using-Android-Volley-Library
Sample app download link ---> https://drive.google.com/open?id=1zVXgbT52muBZCDlF_z4q61atZrwYZdcF
Step 1:
Create your own free or paid web hosting server, you can try 000webhost.com or byethost.com for creating free web server with a domain name(e.g: http://rrsaikat.mydiscussion.net) . Now go to htdocs of your domain and locate the location.php file into a subfolder named myjson. Before locating the location.php file you need to configure your own phpmyadmin hostname, username, password and database name also (e.g: $host='sql104.byethost12.com'; $uname='rrsaikat';$pwd='1234';$db="xyz";)
Download link of location.php ----->https://drive.google.com/open?id=1OqllLb_B-95x159ABj37TfqLYcrLwpY9
Step 2:
Create a database named "xyz" in your phpMyadmin and then import this Location.sql file (n.b: Must create a database first then import,otherwise error occurs) .
Location.sql ----->https://drive.google.com/open?id=1AJyJJ9mWtE9DcKo0vdhtP1nCCVyQ9S8e
Step 3:
Now go to your web browser and hit the Server URL you created(e.g: http://your_domain_name/subfolder/location.php)
This is my JSON data -------->http://rrsaikat.mydiscussion.net/myjson/location.php
Click the above URL in step 3 to see the json response from the server and our json will look like this :
{
"FL":[
{
"0":"1",
"id":"1",
"1":"23.8103",
"latitude":"23.8103",
"2":"90.4125",
"longitude":"90.4125"
},
{
"0":"2",
"id":"2",
"1":"22.7010",
"latitude":"22.7010",
"2":"90.3535",
"longitude":"90.3535"
},
{
"0":"3",
"id":"3",
"1":"23.6",
"latitude":"23.6",
"2":"89.8333333",
"longitude":"89.8333333"
}
]
}
Step 4:
After importing the project from github into android studio, you need to create your own google_maps_api key and add them so carefully.Then create credintials and edit your api key by adding restriction of your key as only Android apps, give package and SHA-1 fingerprint into it.
Step 5:
Give thumbs up(like) ,share and subscribe the video :D One thing you always remember that "Sharing is Caring". Good Luck everyone!
LICENSE
Multiple markers using volley library in android studio 3.0.3
Copyright (C) 2018 Md. rezwan rabbi
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.