access data type in the jar library from C++ wrraper

Post here your questions about the Java client / Android API for SFS2X

Moderators: Lapo, Bax

elivnat70
Posts: 3
Joined: 06 Aug 2012, 15:02

access data type in the jar library from C++ wrraper

Postby elivnat70 » 06 Aug 2012, 16:57

Hello all,
I'm trying to access the SFSArray from C++ wrapper in Eclipse on the client side for android..
I added the jar libraries to the Eclipse project as instructed in MAC OS X 10.6.
So through the code how can access the SFSArray?
What is the jar and class is required?
What should I add to the code to get access to the jar library?
The C++ code is:
struct LVSFSArrayWrapper::Impl
{
SFSArray* sfsArray;
};
In the MAC OS X we use the Framework and include theSmartFox2XClient.h header file from the Framework.
Thank you.
ThomasLund
Posts: 1297
Joined: 14 Mar 2008, 07:52
Location: Sweden

Re: access data type in the jar library from C++ wrraper

Postby ThomasLund » 10 Aug 2012, 12:43

Just wanted to reply that I have no idea - never used C++ wrapper with a java library

*looks around for others to reply*

/Thomas
Full Control - maker of Unity/C# and Java SFS API and indie games
Follow on twitter: http://twitter.com/thomas_h_lund
User avatar
Lapo
Site Admin
Posts: 21012
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: access data type in the jar library from C++ wrraper

Postby Lapo » 23 Aug 2012, 13:39

Hi,
I am no C++ expert. All I can suggest is to check a couple of JNI tutorials and the official JNI doc from Sun/Oracle.
That should solve most of the mystery.
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Java / Android API”

Who is online

Users browsing this forum: No registered users and 1 guest