How to Call Scene-Viewer AR Core Intent from Xamarin Form [intent]

0

I have a simple website locally that makes use of the android's Scene viewer to show 3d model and to use the basic ar feature. It actually contains a link that performs an implicit intent call. This works fine if i call through android chrome web browser

this is the piece of code in my webpage

<a href=intent://localhost/mymodel.gltf#Intent;scheme=https;package=com.google.android.googlequicksearchbox;action=android.intent.action.VIEW;S.browser_fallback_url=https://developers.google.com/ar;end;"</a> 

that calls the scene viewer from browser.

But this is not working if i call through xamarin web view. I'm getting this error:

Android.Content.ActivityNotFoundException: 'No Activity found to handle Intent { act=android.intent.action.VIEW dat=intent://localhost/mymodel.gltf flg=0x10000000 }'

am i doing this correctly or is there any other way to call the scene-viewer and pass the 3d model directly from xamarin.

android
xamarin
xamarin.forms
arcore
asked on Stack Overflow Jul 18, 2020 by youhsia

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0