Importing 3D model in Xamarin.iOS - c#

I'm working on a Xamarin.ios app that requires a 3d model to be displayed throughout the app's runtime.
I'm hosting the model online, but it's not responding when I call it using its URI. I tried hosting it on Google Drive and glitch, but it still wouldn't let me use it.
Is there a method to bundle the model in the app and try to implement it? I know it can be done in Swift with NSBundle, but I'm using Xamarin in C#.

Related

Unable to create a RuntimeReferenceLibrary with AR Foundation in Unity

I'm trying to create a simple app for Android that recognizes images using AR Foundation in Unity. Using the normal ReferenceLibrary and filling it within the editor works perfectly without any issues. The reason I want to use the RuntimeLibrary is to be able to fill it up using an api.
I've tried everything on the documentation as shown here:
https://docs.unity3d.com/Packages/com.unity.xr.arfoundation#4.1/manual/tracked-image-manager.html
I'm using AR Foundation 4.1.9 and Unity LTS 2021.
The problem is that when debugging (using LogCat or a serialized text field on the canvas) I do get a message saying the image is being added but when running the app it can't find it and instantiate a prefab on it.
Also have tried looking it up on the AR Foundation fora but no luck either.
Does anyone else have this issue or a solution for this strange behaviour?

Web View in Unity for Windows

Trying to solve how to provide an in-game Web View in a Windows Unity project. This will be used for payment-processing - Paypal/Braintree/Stripe etc.
The following can be used to open an external web browser from within Unity:
Application.OpenURL("http://www.example.com");
But this doesn't fit customer requirements as it must be in-app.
All of the ready-built solutions I can find are merely wrappers for native WebView capabilities of iOS and Android, and therefore do not support Windows.
Very interested to hear some inspiration on how to tackle this one!

How to use Xamarin Forms and Google Direction API android

i m new to Xamarin Forms, While Creating an Android Application using Xamarin Forms, I encountered a problem, I like to use Google Direction API , I can create Map using Xamarin Forms on Android but to use HTTPURLConnection and json Parsing, do i have to create Custom Renderer Class and then access in Android Dir and Code there, Or i can create a Class for HTTPURLConnection, Json Parsing and then pass to Xamarin Forms map as class object. Please Help !!
The Google direction APIs are not exposed in Xamarin.Forms because they are not available cross-platform. Baked into Forms is only the basic mapping support which abstracts away the differences between Google Maps, Apple Maps and Bing Maps.
For anything more specialised/more platform specific you will have to create a custom renderer and/or use some architectural design to connect your shared code and the platform code (you could use the DependencyService - https://developer.xamarin.com/guides/xamarin-forms/dependency-service/).

Create a Qt View within Xamarin.iOS

I'm trying to use a Qt-based library within a Xamarin.iOS project. As a first step, I'd like to
initialize a simple Qt View and
place it in an empty ViewController.
I already managed to link the iOS project with QtCore and QtGui. Now I'm struggling with binding Qt's C++ methods with corresponding C# calls.
Has anyone experience with the combination of Xamarin and Qt?
Is this the way to go at all?
(All I can find on the web is about Xamarin vs. Qt...)

Xamarin camera access in a shared project

I'm building a shared project and I want to access the camera. For now i'm just trying to get this to work on android.
I found this here in stackoverflow and it works but I'm not being able to put this to work in my project becouse I want to call the camera in a ContentPage and not in my Class App : Application.
I would recommend this library for that: http://components.xamarin.com/view/xamarin.mobile

Categories

Resources