ShiVa3D
Integrating a 3rd party jar library into Eclipse project
Google Play Store, Amazon Kindle, Nook, and so many moreIntegrating a 3rd party jar library into Eclipse project
by redmotion » 25 Apr 2012, 21:36
I've got an eclipse project exported, I need to add a .jar library which contains an API that I need Shiva to send and recieve data from.
Do I need to create a plugin for this that will act as a wrapper or is there another way?
If yes, (I've never made a wrapper before), would the right approach be to create a Shiva plugin in Shiva, add the 3rd parties API commands as new shiva commands, then add calls to the library functions inside the exported plugin functions?
Thanks.
J.
Do I need to create a plugin for this that will act as a wrapper or is there another way?
If yes, (I've never made a wrapper before), would the right approach be to create a Shiva plugin in Shiva, add the 3rd parties API commands as new shiva commands, then add calls to the library functions inside the exported plugin functions?
Thanks.
J.
Re: Integrating a 3rd party jar library into Eclipse project
by giggsy » 26 Apr 2012, 07:28
There are 3 options I know of:
1)Plugin
2)Events
3)system.callClientFunction
1)Depending on what you do, it is not done with creating a plugin.
You probably also have to modify e.g. the Android manifest.
2)We use this a lot, maybe check out http://www.stonetrip.com/developer/forum/viewtopic.php?f=42&t=23252
3)It's there, but I havent really played with that.
1)Plugin
2)Events
3)system.callClientFunction
1)Depending on what you do, it is not done with creating a plugin.
You probably also have to modify e.g. the Android manifest.
2)We use this a lot, maybe check out http://www.stonetrip.com/developer/forum/viewtopic.php?f=42&t=23252
3)It's there, but I havent really played with that.
-

giggsy - Platinum Boarder

- Posts: 1006
- Location: Austria
3 posts
• Page 1 of 1