/**
* 发起第三方导航
*
* @param context
*/
public static void startGeo(Context context, String latitude, String longitude) {
try {
Uri mUri = Uri.parse(
"geo:" + latitude +
"," + longitude);
Intent mIntent =
new Intent(Intent.ACTION_VIEW, mUri);
context.startActivity(mIntent);
}
catch (Exception e) {
e.printStackTrace();
UIUtils.showToast(context.getString(R.string.please_download_map));
}
}