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
1
vote
1 answer

Draw end position get Item rect size

I'm trying to use ImGui (Java bindings) to fill up a empty space or fill the entire width of some UI but I can't seem to figure out how to/when to ask ImGui for the Item Rect Max and in some situations I end up with a small space that isn't filled…
1
vote
1 answer

Java Event Binding Issue Binding Library

I transfered this https://github.com/blazsolar/HorizontalPicker Library into Java Binding Library. The Library implements an OnItemSelected Event whicht is used like this in Java. @Override public void onItemSelected(int index) { …
Olias
  • 401
  • 5
  • 17
1
vote
0 answers

z3 building java binding error

I got the error message below when compiling the z3 source code (37c9a31 commit) for Java binding on Mac. The OS X I am using is El Capitan and the Java version is 1.8.0_91. Does anyone know how to fix it? Another question: Is String currently…
Paul
  • 21
  • 1
1
vote
0 answers

net.rtccloud.sdk.exception.RtccRuntimeException: Unable to load native library in Xamarin

I am trying to integrate the SightCall SDK in my Xamarin Android app. I have created a Java Binding Library Project and created a Jars folder and placed the rtcc jar (Embedded Jar) in it and created a libs folder and armeabi, armeabi-v7a and x86…
Ingrid Cooper
  • 1,191
  • 3
  • 16
  • 27
1
vote
1 answer

Binding project inconsistent accessibility on inner classes but can't get transform syntax right

I've been trying to create a binding project for this token auto complete text view project on GitHub (https://github.com/mattwhetton/TokenAutoComplete). I'm basically trying to port it to us in Xamarin / Mono (C#) I've been immediately getting the…
Matt Whetton
  • 6,616
  • 5
  • 36
  • 57
1
vote
0 answers

How to use ogr2ogr in java gdal

I would like to code ogr2ogr -f "GeoJSON" destination.geojson source.geojson -s_srs EPSG:3068 -t_srs EPSG:4326 in java-gdal. I tried to understand how it should work by looking at this example but since ogr2ogr has many many uses I could not quite…
Selphiron
  • 897
  • 1
  • 12
  • 30
1
vote
1 answer

Xamarin.Android - Java Binding depends on Google Play Services

We use several different types of Ad networks that we have to write our own Java bindings for. Since Google has made a new "advertising" id, all these libraries now have a dependency on Google Play Services. The problem is, I can't get these binding…
jonathanpeppers
  • 26,115
  • 21
  • 99
  • 182
1
vote
0 answers

JDBC statements performance (setObject vs setInt , setString)

I have a program in which I bind the variables in a loop all using: // Loop Start on i=1 preparedStatement.setObject(i , Val); i++; //Loop End Some values are INT some are String etc. I just want to know is is bad performance wise ? In other words…
Noman K
  • 277
  • 1
  • 5
  • 15
1
vote
1 answer

Mono for Android Binding - Jagged array

We are binding a Java library that has a method like this: void onDataReceived(java.lang.String fromNode, java.lang.String fromChannel, java.lang.String payloadType, byte[][] payload) Notice the byte[][] payload parameter. Everything compiles fine,…
jonathanpeppers
  • 26,115
  • 21
  • 99
  • 182
1
vote
1 answer

Xamarin.Android using a java binding library with MultiImageChooser

I've tried using a Java Binding Library in order to use MultiImageChooser (https://github.com/derosa/MultiImageChooser). These are the steps I've taken : Loaded the MultiImageChooser project in eclipse and exported a gallery.jar. Created a Java…
kobigurk
  • 731
  • 5
  • 14
0
votes
0 answers

Cannot create Xamarin.Android Java Bindings Library for Microsoft Engagement Insights SDK

I am trying to integrate Android SDK for Microsoft Customer Insights Engagement Insights in my Xamarin Android app and would need to create a Xamarin.Android Java Bindings Library since the SDK provides a pre-release aar file. I created an Android…
SnapADragon
  • 536
  • 7
  • 21
0
votes
0 answers

Binding AAR library to Xamarin.Android, metadata.xml template

I am creating a binding library for Xamarin.Android from a java AAR file. Here is the code actually generated after the compilation : public interface IParent { } public interface IChild : IParent { } public interface IGetter …
Maxime Esprit
  • 705
  • 1
  • 8
  • 29
0
votes
1 answer

Binding aar library to Xamarin.Android

I am creating a Binding Library from a AAR lib in order to generate a dll that I would be able to use in a Xamarin.Android project. I have an issue because of a Java authorized syntaxe which is not authorized in C# How would you write this Java code…
Maxime Esprit
  • 705
  • 1
  • 8
  • 29
0
votes
0 answers

Is there a way to bind 2 java libraries with same namespace, same function names but different functionalities

I am creating an android App to read BLE devices of specific manufacturer. I have 2 jar libraries for 2 different BLE devices, but since the manufacturer is same for both the devices, I don't know why, but they have kept the namespace same for both…
anurag_it
  • 27
  • 1
  • 5
0
votes
1 answer

xamarin android bindings changing a classes final int field to a c# enum

I've been writing a Xamaring Bindings Library for a third party Android JAR and become stumped at how to convert an int field in a class to an enum. I've created a C# enum for the int fields using EnumFields.xml and have also got this successfully…
MJJames
  • 735
  • 6
  • 22