Questions tagged [java-binding]

Java Bindings describes a technique for loading and using .jar libraries within other languages/environments like C# and Mono

44 questions
11
votes
1 answer

Xamarin Android Java Binding: Missing class (XMLReader)

I'm facing some warnings nearly always when I'm on a Xamarin.Android project, and using a Java Binding Library. I obtain the following warnings: 7>BINDINGSGENERATOR : warning BG8800: Unknown parameter type System.Xml.XmlReader in method…
webo80
  • 3,365
  • 5
  • 35
  • 52
6
votes
1 answer

Xamarin.Android binding Call java Object method

I created java binding library via visual studio extension called Xamarin.GradleBinding. I added ru.rambler.android:swipe-layout:1.0.14 package and while using its SwipeLayout, it all works well. But unfortunately it did not created corresponding C#…
mister_giga
  • 560
  • 1
  • 15
  • 37
5
votes
2 answers

Monodroid sliding menu

Has anyone imported this sliding menu project https://github.com/jfeinstein10/SlidingMenu in their Monodroid application? I've imported the jar file (com.slidingmenu.lib.slidingmenuactivity.jar) in a new JavaLibraryProject. I've created a new…
Mihai
  • 2,740
  • 31
  • 45
4
votes
1 answer

Java Binding: The type `...' does not exist in the namespace `...'. Are you missing an assembly?

I am trying to create a Xamarin Java Binding to the Spotify Android SDK. The SDK is now separated into two parts, one for authentication and one for the player. The former java binding works, however, the seconds gives me an error. The original…
Fhl
  • 1,079
  • 1
  • 12
  • 26
3
votes
1 answer

'warning BG8102: Class X has unknown base type Y' warning while binding java code in xamarin

I'm currently trying to get the SDK, that's written in java (.jar file), to work with Xamarin.Android. Therefore, I'm trying to bind the .jar file by following the official tutorial…
Jonas Petraška
  • 130
  • 1
  • 9
3
votes
1 answer

Packaging GDAL with Java

I have a Java project that uses GDAL bindings on Win7. The problem is that due to the nature of the bindings, it requires setting environment variables to work, specially PATH, GDAL_DATA, GDAL_DRIVER_PATH, and PROJ_LIB. I mean they're easy enough…
wowohweewah
  • 429
  • 5
  • 16
3
votes
2 answers

Warning BG8102: has unknown base type android.app.IntentService. (BG8102). When Binding a Java android Library to Xamarin

I am Working on BLE project on Xamarin. Currently I am working on the Over-The-Air Device Firmware Upgrade (OTA-DFU) part. I am planing to use the native java Android DFU Library on Xamarin. I am following the documentation on binding Java library…
ding
  • 278
  • 4
  • 13
3
votes
0 answers

Binding an Android Library Project without source in Xamarin

I've been trying this for quite a long time. I must have tried hundreds of different ways to make it work, but haven't had success yet. Let me describe what I'm trying to do. I have got an Android Library Project called "androidservice" provided by…
shshchch88
  • 453
  • 1
  • 7
  • 17
3
votes
0 answers

how to change binding of a property name in java binding library

I have this Java code, with CaptureApiError property in SignInResultHandlerSignInError: [global::Android.Runtime.Register ("com/janrain/android/Jump", DoNotGenerateAcw=true)] public partial class Jump : global::Java.Lang.Object { …
WriteEatSleepRepeat
  • 3,083
  • 3
  • 33
  • 56
2
votes
0 answers

How to bind generic Java classes in Android binding project in Xamarin?

I have to bind generic Java class in Android binding project in Xamarin. Below is the code for normal class binding I added in metadata.xml.
Ramesh
  • 392
  • 1
  • 12
  • 39
2
votes
0 answers

Xamarin Binding issue : Cannot find symbol

I'm trying to bind a native Java library. This jar file has previously been integrated into a binding project and I am attempting to update the jar with the latest version. I'm getting the following issues during…
ASandyBear
  • 21
  • 3
2
votes
1 answer

JavaBeans ActiveX Bridge for Java 8?

There used to be a JavaBeans ActiveX Bridge but AFAIK this is no longer supported under Java 8. I want to call my JavaBeans from Excel, so what is the way to go with Java 8? The problem is I have some legacy JavaBean packaged in a dll that I use…
Roland
  • 7,525
  • 13
  • 61
  • 124
2
votes
1 answer

The type 'GroupExpandedEventArgs' already contains a definition for 'P0' Xamarin Android Java Bindings for Thoughtbot ExpandableRecyclerView

I am trying to create Xamarin Android bindings for this library, https://github.com/thoughtbot/expandable-recycler-view. I have added the following to the Metadata.xml
Joseph
  • 5,793
  • 4
  • 34
  • 41
2
votes
1 answer

Xamarin Android Binding Library Custom Namespace Not Recognized

I am creating a Xamarin Android binding library for an existing JAR that contains a single class and following the Xamarin binding library documentation, I am able to successfully rename the namespace using:
Adam
  • 4,590
  • 10
  • 51
  • 84
2
votes
2 answers

Binding Jar Library

I'm trying to bind a jar library (jCIFS) on MFA, but i'm stuck on some errors, like this one: 'Jcifs.Util.MD4' does not implement inherited abstract member 'Java.Security.MessageDigestSpi.EngineDigest() After some research, i found some topics about…
Juliano
  • 153
  • 2
  • 10
1
2 3