Click here to Skip to main content
12,954,601 members (55,499 online)
Rate this:
Please Sign up or sign in to vote.
I want to start a small project on C++ for android. I don't like that ugly c-style JNI. Is there some good C++ wrappers ?
Posted 6-Aug-12 8:44am
Agree with you, it would be much better.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Hi Sergey,
You can see the SWIG (Simplified Wrapper and Interface Generator):[^][^]
I hope this will help you
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

Also I hade found this one[^]
pasztorpisti 7-Aug-12 19:01pm
+5 didn't know about this and it looks like a usable wrapper.
m-ric 4-Sep-12 15:19pm
I found out this one too. It looks pretty neat. How large is the generated lib? Also my need is slightly different: I have some xml files describing the API to be JNI'ed. Here is an example: I am looking for some sort of xml2jnicpp wrapper for Android. I already have a dbusxx-xml2cpp used for the desktop version of the software. I am looking for a jni version of it for the android version of the software. Do you know where I can find inspiration?

After looking more deeply into swig, I will give it a safe bet.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Did you try this one:[^],[^]?

By documentation, it looks good, but unfortunately, it's commercial. And I never tried it.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 6,539
CHill60 3,490
Maciej Los 3,143
ppolymorphe 2,030
Jochen Arndt 1,975

Advertise | Privacy | Mobile
Web02 | 2.8.170525.1 | Last Updated 6 Aug 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100