The forum will experience an outage sometime between February 10 at 7:00pm EST and February 12 at 11:59 EST for installation of security updates. The actual time and duration of the outage are unknown but attempts will be made to minimize the downtime. We apologize for any inconvenience.

Hello, I need to use UltraliteJ database in a Monodroid project. Can you direct me to any sample or tell me how can I do that? Do I have to import UltraLiteJNI12.jar or there is a DLL that can be used ?

asked 13 Aug '12, 02:55

katalun4o's gravatar image

katalun4o
331121521
accept rate: 85%


There is no official direct way to access UltraliteJ inside Mono. What I've done is create a data access layer in Java and then sent the serialized results, in a custom class using ProtoBuf, through JNI. Once inside then you can use ProtoBuf.Net to deserialize the results.

Regards, Jonathan

permanent link

answered 13 Aug '12, 08:20

J%20Chapman's gravatar image

J Chapman
3413612
accept rate: 66%

Is it posible to convert java classes to C# classes?

(17 Aug '12, 11:00) gregsyb
Replies hidden

Since the classes are usually simple there is no need to convert the Java class to c#. The easiest way is to use the ProtoBuf.Net mechanism to create the same class on the C# side.

(21 Aug '12, 08:47) J Chapman
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×59

question asked: 13 Aug '12, 02:55

question was seen: 809 times

last updated: 01 Apr '13, 05:48