Android intent Street View does not work anymore

老子叫甜甜 提交于 2019-12-23 20:56:00

问题


i used to launch an intent from my app to Maps to display a street view panorama. Since some days when i launch the intent Maps says : "Street View isn't available here". I try to run a new project with only the intent as Google says:

Uri gmmIntentUri = Uri.parse("google.streetview:cbll=46.414382,10.013988");
Intent mapIntent = new Intent(Intent.ACTION_VIEW, gmmIntentUri);
mapIntent.setPackage("com.google.android.apps.maps");
startActivity(mapIntent);

but i receive the same message. The same coordinates in standalone Maps work fine. Are there any changes due to third app in maps api?


回答1:


This problem occurs from version 9.43.0 released on 21 December. You can find and try old working versions (last working is 9.42.3) in some repositories like this.

I hoped bug was corrected with latest today release (9.45.1) but it still doesn't work.

UPDATE: Today 3 February, Street view intent seems to work again, at least in version 9.44.3 of google maps.



来源:https://stackoverflow.com/questions/41939641/android-intent-street-view-does-not-work-anymore

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!