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


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;;action=android.intent.action.VIEW;S.browser_fallback_url=;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.

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