Skip to main content

All Questions

Tagged with
1 vote
0 answers
405 views

Errors when trying to create Xamarin Android binding Java Library for mapsforge/vtm

I have tried to use the Java map library mapsforge-vtm to show an offline map using a mapsforge file with Xamarin Android. Within Visual Studio 2019, I created one aar binding project as "...
user743436's user avatar
1 vote
1 answer
52 views

JNI get ConcurentHashMap

I need to get access to class field of type ConcurrentHashMap<byte[], BlockingQueue<byte[]>> I am trying to do so by JNIEnv.GetFieldID(class_ref, "queuesMap", "some_signature"); but I ...
metalowy's user avatar
  • 111
0 votes
2 answers
760 views

Xamarin aar binding issue - methods of the class are not visible

I am having a trouble to create dll for Marketingcloud sdk by Salesforce. Since the last update I am having a trouble to create bindings to access Initialization class. java lib code is as follows: ...
Danil Kurkin's user avatar
0 votes
1 answer
84 views

Xamarin ClassNotFoundException when building

I receive this error when trying to build a Xamarin.Forms project on Visual Studio 2017: java/lang/ClassNotFoundException: error in opening JAR file <Zip file open error> C:\Program Files\Java\...
Javi's user avatar
  • 949
1 vote
1 answer
165 views

Xamarin Bind Service from Eclipse Library Project -> InvalidCastException

I am very new to Xamarin and I try to build a Xamarin.Forms application which use an API for a specific Scanner. This API is from an Android java project and I created an Eclipse Library Project just ...
feldeOne's user avatar
  • 417
2 votes
2 answers
1k views

Xamarin Android bind and use Java library in Visual Studio

I want to add this Floating action button library from github into my Visual Studio project: https://github.com/Clans/FloatingActionButton I followed this description with suggested adding a Binding ...
CreateAHero's user avatar
1 vote
1 answer
500 views

Xamarin bindings java library - No package found

Im want to link an android jar library to my Xamarin project, i do everything covered by the online doc on Xamarin website. But when i compile the binding project i got a warning that say : No ...
Leze's user avatar
  • 759
1 vote
1 answer
1k views

Xamarin: Java Binding Project - Unable to change visibility of local interface

UPDATE: Thanks to jgoldberger I've solved this using <remove-node path="/api/package[@name='com.spotify.sdk.android.authentication']/interface[@name='AuthenticationClient....
Fhl's user avatar
  • 1,193
1 vote
1 answer
562 views

Xamarin JAR binding not creating a binding for derived class from android.app.IntentService

I am trying to create an Android Java binding library. I have a class that that extends IntentService and I need it to be exposed in C#. When I build the project I got the following warning: ...
Sfavilla's user avatar
  • 155
1 vote
1 answer
529 views

Xamarin Java Binding Library - Sinch

I am having issues creating a java binding library in Xamarin from the Sinch Android API. It seems like its not linking all the class files contained in the jar file. obj\Debug\generated\src\Com....
Jman's user avatar
  • 11