是否可以发送lat / lng并获取地址?我知道这可能反过来了。
答案 0 :(得分:0)
来源:https://developers.google.com/maps/documentation/geocoding/start
public boolean playURL(final String playURL, int makeBig, final int ts){
try{
Player.current_url = playURL;
final String hour = Utils.getHourFromUrl(playURL);
final String date = Utils.getDateFromUrl(playURL);
currentPlayingDate = date;
int minutes = ts/60;
String minuteToSet = Utils.appendZeros(String.valueOf(minutes));
final String dateString = hour+":"+minuteToSet;
currentPlayingTime = dateString;
stateHandler.removeCallbacksAndMessages(null);
MainActivity.mediaPlayer.reset();
MainActivity.mediaPlayer.setDataSource(playURL);
MainActivity.mediaPlayer.prepare();
MainActivity.mediaPlayer.seekTo(ts * 1000);
//some more code
}