Binding android SDK in Xamarin - Meridian - xamarin

I'm a newbie in Xamarin and in the past few days I have been trying to bind the Meridian Android SDK (meridianapps.com). In the documentation the SDK requires 2 external libraries (via gradle) that are:
com.mcxiaoke.volley:library:1.0.9
com.squareup:otto:1.3.5
Using the extension this I added this 2 references in the Xamarin project. The volley library initial gives some compiling errors that I solved using the entries in pastebin.com/qqLqy0AA in configurations in the Transforms/Metadata.xml that I found here.
The otto library I can't solve the problem and that's why i require some help
In the link pastebin.com/NeNsx29P it´s the output of the compiling of the binding project with the Meridian SDK and the 2 dependencies.
And in the link pastebin.com/V2ia8GVh I try to make the binding with the proper dependencies added
Thank you,
Nuno
Note: Sorry for the links but for now i only can post 2 links per post. Later I will edit the post.

Related

Is there anyway to use different version of xamarin forms within a solution?

I am having 2 solutions with the following structure
solution 1
SharedProj (netstandard2.0)
App1.NetStandard2.0
App1.Droid
App1.IOS
Solution 2
SharedProj (netstandard2.0)
App2.NetStandard2.0
App2.Droid
App2.IOS
so as shown above SharedProj i am sharing common code between 2 apps. All projects in both solutions have xamarin forms nuget installed and I am using currently 2.5 version of xamarin forms on both projects and it works fine but I want to use 3.0 pre version on App2 projects and here is the problem starts.
I am getting error message that "Xamarin.Forms tasks do not match targets. Please ensure that all projects reference the same version of Xamarin.Forms, and if the error persists, please restart the IDE." I understand that it is because now SharedProj has different version on one of the solution.
Xamarin forms was allowing to use different versions of different project in same solution in earlier versions. now they return error after 2.3 version I believe. Is there anyway to suppress this error or is it not safe at all?

Applovin tvOS LIbrary Issues

I apologize but I am new to tvOS development, an programming in general.
IDE: Xcode 7.2.1
language: Swift 2
platform: tvOS
I am currently trying to integrate the AppLovin SDK for my tvOS app.
I have followed the documentation and have everything set up for Swift.
However, there is one glaring problem. when downloading the SDK the static library File: libAppLovinTVOS.a does not populate as a library.But rather a generic Document file.
I have downloaded it a couple times to see if it was just an error in downloading. Even tried to go to their gitHub to no avail. Any help will be deeply appreciated.
(sorry for breaking up the text it helps with my dyslexia)
when downloading the SDK the static library File: libAppLovinTVOS.a does not populate as a library.But rather a generic Document file.
There's nothing wrong. The file is a static library, not a framework, and it's completely normal for those to appear as plain old document files. I've got several similar libraries in my iOS project right now and they have exactly the same generic icon.

Xamarin Android Support V4 error

I started a new default working project in xamarin and I added the dll references for Xamarin.Android.Support.V4 and Xamarin.Android.Support.V7.AppCompat and I am getting errors.
Error: package android.support.v4.app.FragmentManager does not exist
android.support.v4.app.FragmentManager.OnBackStackChangedListener
Error: package android.support.v4.content.Loader does not exist
android.support.v4.content.Loader.OnLoadCompleteListener
...
What have I done wrong?
You needed to actually install the support library. MonoDroid has .NET bindings for it, but the underlying java can't build without it, of course. Here are instructions for getting the support library and instructions for hooking it up to a MonoDroid project.
See also http://developer.xamarin.com/Guides/Android/Platform_Features/Fragments/Part_4_-_Providing_Backwards_Compatibility_with_the_Android_Support_Package/#Adding_The_V4_Libraries_to_a_Mono_for_Android_Project
This might be related to this or this, which were solutions to common problems in the rev. 22 update.
try calling it with this:
using Android.Support.V4;
I was reading another post in the xamarin forms with the same issue and this worked for me. I spent maybe an hour trying to figure out what to do and the guy I ran into said just to:
clean the solution,
rebuild it,
then it should be fixed.
Assuming the packages are still installed

Building Tango Unity Examples failing

I recently got a Tango tablet device and downloaded the tango-examples-unity from Github to start learning. All excited, I opened the MeshBuilder project in Unity and tried to Build it but it failed. My Android SDK and jdk are up to date and the paths are correct as set in Unity preferences. I'm using Unity 5.0.1f on a 64-bit Windows 8 system. Leibniz release notes said they migrated the samples to Unity 5 so I was trying them with Unity 5. Not to say that I didn't get the exact same error in Unity 4.6.3f1 while trying to Build the same project.
Errors:
DirectoryNotFoundException: Could not find a part of the path "C:\path\tango-examples-unity-master\ExperimentalProjects\MeshBuilder\Assets\Plugins\Android\tango-native-service-client-helperlib\bin\aidl\com\google\atap\tangoservice\ITangoLogRequestListener.aidl" or "Temp\StagingArea\android-libraries\tango-native-service-client-helperlib\bin\aidl\com\google\atap\tangoservice\ITangoLogRequestListener.aidl"
Error building Player: DirectoryNotFoundException: Could not find a part of the path "C:\path\tango-examples-unity-master\ExperimentalProjects\MeshBuilder\Assets\Plugins\Android\tango-native-service-client-helperlib\bin\aidl\com\google\atap\tangoservice\ITangoLogRequestListener.aidl" or "Temp\StagingArea\android-libraries\tango-native-service-client-helperlib\bin\aidl\com\google\atap\tangoservice\ITangoLogRequestListener.aidl"
What I've tried so far:
Downloading a different version of the projects. The only project that I was able to build from this other version is PointCloud. Couldn't build anything else.
Replacing the included TangoSDK with a new downloaded version of leibniz unity package. This didn't help.
Building other projects from the downloaded source code from both urls. No go.
Trying this Tango Unity Tutorial from [developers dot google dot com/project-tango/apis/unity/unity-depth-perception]. It fails at step "Create a PointCloud object" as no such component is found. I do have the TangoSDK imported so my thinking is that this tutorial probably belongs to an older version of the SDK and won't work for Leibniz. Please correct me if I'm wrong.
Tried opening the Kalman version of the PointCloudUnity project. Get an error:
Opening File failed. It's looking for the /MotionDetectionHelper$MotionDetectionListener.class and not finding it.
Emailing Tango help. No response yet.
Any pointers for getting started with Tango + Unity would be appreciated.
Thank you for reading through this long post and for your help.

Cannot resolve SupportFragmentManager in MvxFramentActivity

Following along in the N=26 presentation for fragments, I am running into a problem where the SupportFragmentManager is not able to be resolved:
I have MVVMCross and all dependencies (3.5.0), MVVMCross fragment support (3.5.0), and Xamarin Support Library v4 (21.0.3.0) added from NuGet with the references showing up properly in the project.
I also find the same issues with the project at https://github.com/MvvmCross/NPlus1DaysOfMvvmCross/tree/b405eef7dddf4d65b00116e142855653eae9f06b/N-26-Fraggle
Any ideas why this may be happening?
Check if your target API level and minimum API level are lower than 14. If yes, probably you will need to use Support V4:
using FragmentManager = Android.Support.V4.App.FragmentManager;
I hope you will solve.

Resources