Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Prebuilt C/C++ Library in an Android App(Accessing C/C++ library in Android App without the library's source code)
Prebuilt C/C++ Library in an Android App [message #902612] Sat, 18 August 2012 22:53
Ted Jackson is currently offline Ted JacksonFriend
Messages: 3
Registered: August 2012
Junior Member
Hello,

I'm trying to build an Android app. I want to make use of a C/C++ callable library that is distributed without the library's source code but with a necessary header file. To be exact, it's the Voyant (formerly LeckyIntegration) Vision library, which includes a sweet single-font trainable OCR engine that seems to be exactly what I will need (and is much simpler to get running than, for example, Tesseract). The distribution includes a C/C++ source file that demos the OCR functions. That and other compilable demos are made available in both a Linux distribution (with included Netbeans support files) and in a Windows distribution. I'm able to compile and run the Windows OCR demo using the Eclipse IDE (with the CDT plugin). I've also built a sample Android Java app and gotten it running on an actual Android device (a Samsung Galaxy S II) using Eclipse and its Android build support.

The difficulty is in figuring out if it is even possible to use that library in an Android app (to somehow bring the two projects together). Can anyone definitively tell me if it's even possible to do that? As I understand it, I'd have to call the necessary library functions ultimately from Java code that includes the necessary Android sdk support in Eclipse. Any help or advice would be appreciated. I'll provide whatever details may help.

Thanks so much, Ted.
Previous Topic:who knows how to use Microsoft visual c++ compiler in Eclipse?
Next Topic:Indexer workaround for partial includes
Goto Forum:
  


Current Time: Sat Dec 21 16:44:11 GMT 2024

Powered by FUDForum. Page generated in 0.03206 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top