Java Bindings describes a technique for loading and using .jar libraries within other languages/environments like C# and Mono
Questions tagged [java-binding]
44 questions
0
votes
0 answers
Xamarin Java Library Binding issues
I want to use agency tango materialintroscreen library in my Xamarin.Android project.
I have created a Xamarin Android Binding Project, copy the ARR file in the Jars Folder and set Build Action to LibraryProjectZip.
Then I reference the project in…

Loïc Y. AMUZU
- 3
- 4
0
votes
0 answers
Binding to .aar does not create the classes contained, only the interfaces
I have a very basic java module that contains two interfaces (IOrder, IOrderItem) and two classes that implement those interfaces (Order, OrderItem).
After creating a xamarin binding library in VS2017 I only see the two interfaces.
Checking out the…

Jason Maxwell
- 158
- 10
0
votes
1 answer
Xamarin - .aar Java Binding - The name '[method name]' does not exist in the current context
I am trying to create binding for Facebook Notification .aar library.
However I am getting compile errors:
Severity Code Description Project File Line Suppression State
Error CS0103 The name 'CreateAsset' does not exist in the…

Jakub Holovsky
- 6,543
- 10
- 54
- 98
0
votes
0 answers
Xamarin Android Error inflating a custom widget from a java bound library
Currently I'm trying to get up and running Google VR's simple VrPanoramaView using Xamarin.
I've used this project (Xamarin Components) to manually bind the Java libraries. Binding the project, and more specifically, the PanoWidget, resulted in the…

Zomtorg
- 153
- 1
- 11
0
votes
2 answers
Failed Resolution of R$Drawable when using a bound Java Library
I am binding the java library Material CalendarView. With a set of 12 transforms in Metadata.xml I could bind the library with 0 errors and 15 warnings. I have added Support Library v4 Component ver 23.1.1 in the binding project as the jar file had…

Sreeraj
- 2,306
- 2
- 18
- 31
0
votes
1 answer
Xamarin Android .AAR results in DirectoryNotFoundException
When trying to reference a .AAR java library binding we received the following error:
Unexpected error - Please file a bug report at http://bugzilla.xamarin.com. Reason: System.IO.DirectoryNotFoundException: Could not find a part of the path…

Le-roy Staines
- 2,037
- 2
- 22
- 40
0
votes
1 answer
HERE Maps binding with Xamarin
I'm trying to build an app using the HERE Mobile SDK (SDK for Android Premium).
I would like to bind it with Xamarin. But unfortunately there is no guide for this binding, although there was a component in the Xamarin store (which is no longer…

Slade
- 43
- 7
0
votes
0 answers
Java Binding Library native Thumbnailator Lib Xamarin Android
i'm trying to add into my project this lib.
So i've added Java Binding Library to my Xamarin.Android project and after compile,i've got some problems.
Tried to resolve by my self and didn't get a luck.
So i removed packages,via remove-node that i…

XTL
- 1,452
- 2
- 17
- 40
0
votes
1 answer
Errors and warnings when Binding a Java Library in Xamarin?
I am trying to integrate the SightCall Android SDK in my Xamarin app. Since the SDK contains a jar and .so file I need to bind it as a Java Binding Library as then add it as a Reference in my project. I followed the steps of creating a Java Binding…

Ingrid Cooper
- 1,191
- 3
- 16
- 27
0
votes
1 answer
How to interact with methods that take simple interfaces as parameters in closed Java-binding SDK?
When using Xamarin and Java Binding Projects the resulting Binding Project naturally follows the java coding style. I.e. expecting the use of anonymous classes (to implement simple callback interfaces) as parameters. Here is an example of the java…

Fhl
- 1,079
- 1
- 12
- 26
0
votes
1 answer
JOGL libraries installation
I am trying to install the JOGL libraries into my eclipse. I was fortunate enough to find a question asked on stack overflow for a link towards the download however I couldn't find a up-to-date installation guide on the internet. I have downloaded…

Bula
- 2,398
- 5
- 28
- 54
0
votes
1 answer
Mono for Android binding project namespace not visible
I made a Java Binding Project for my Mono Android project.
I added Google Analytics v2 jar and made it build correctly.
I also referenced the binding project in my app project (project reference) and it shows at my references.
Only, visual studio…

Jørgen
- 2,157
- 1
- 23
- 24
0
votes
1 answer
Java.Lang.NoSuchFieldError when using Mono for Android and Java-Binding
So I'm trying out the Xamarin Facebook Simple sample which uses Java-Binding.
Facing initial issues, I had to download and compile the latest Facebook for Android SDK, (using Eclipse) and zipped it for the Facebook java-bindings project.
However,…

Magnus Johansson
- 28,010
- 19
- 106
- 164
-3
votes
1 answer
How to Convert gdaldem.cpp file into gdaldem.java?
I want to use gdaldem in java program so I want to convert gdaldem.cpp into the gdaldem.java. Please tell me a solution regarding this.
If any other solution is there to use gdaldem in java please tell me that also.
Thanks

HEMANT KUMAR
- 1
- 2