How to use a webpage’s service programmatically?

178 viewsandroid android-studio java
0
whichpay L | 12 xp

I am trying to create an app that includes a function that uses Geocoder to find a list of places by name/address to get the place’s latitude and longitude, so I can show exactly where the places are on a map.

However, it seems like Geocoder could not find part of the places’ latitudes and longitudes. Therefore, I want to use a website’s service like¬†https://www.latlong.net/. So the question is, how can I do it programmatically, that the code will go through a list of places, using the names/addresses and the website, to return me the corresponding latitude and longitude for each place in a list?

Anyone knows? Or is there any other easy ways to achieve the same goal? Thanks a lot!