Hi, Erel
How does I can using the command in B4A , intent = Intent.getIntent ... Tks!
this command ... was is Baidu Map ... http://developer.baidu.com/map/index.php?title=uri/api/android
//调起百度地图客户端(Android)展示上海市"28"路公交车的检索结果
intent = Intent.getIntent("intent://map/line?coordtype=&zoom=®ion=上海&name=28&src=yourCompanyName|yourAppName#Intent;scheme=bdapp;package=com.baidu.BaiduMap;end");
startActivity(intent); //启动调用
or in this method
Intent intent = new Intent(Intent.ACTION_VIEW);
Uri uri = Uri.parse("geo:39.922840,116.3543240,北京市西城区阜外大街2号万通大厦");
intent.setData(uri);
intent.setPackage("com.baidu.BaiduMap");
this.startActivity(intent);
How does I can using the command in B4A , intent = Intent.getIntent ... Tks!
this command ... was is Baidu Map ... http://developer.baidu.com/map/index.php?title=uri/api/android
//调起百度地图客户端(Android)展示上海市"28"路公交车的检索结果
intent = Intent.getIntent("intent://map/line?coordtype=&zoom=®ion=上海&name=28&src=yourCompanyName|yourAppName#Intent;scheme=bdapp;package=com.baidu.BaiduMap;end");
startActivity(intent); //启动调用
or in this method
Intent intent = new Intent(Intent.ACTION_VIEW);
Uri uri = Uri.parse("geo:39.922840,116.3543240,北京市西城区阜外大街2号万通大厦");
intent.setData(uri);
intent.setPackage("com.baidu.BaiduMap");
this.startActivity(intent);
Last edited: