Go Back   Android Forums > Android Development > Application Development
Application Development Dev Lounge for the Coder Folks
Gamers - Check out our new sister sites!
Nintendo Wii U!    |    OUYA - $99 Android System!

test: Reply
 
LinkBack Thread Tools
Old June 18th, 2012, 10:18 PM   #1 (permalink)
Senior Member
Thread Author (OP)
 
jonbonazza's Avatar
 
Join Date: Jul 2010
Gender: Male
Posts: 1,923
 
Device(s): Nexus 4, Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Carrier: ATT

Thanks: 235
Thanked 461 Times in 284 Posts
Default A number of popular c++ libraries ported to android

I have created a public github repository that includes a number of popular open source C and C++ libraries that I have ported to android. The github page can be found here:
https://github.com/jonbonazza/common-android-native-libs


Currently, the following libraries are included:
-FreeImage - this is a more compact version of FreeImage that only includes support for BMP, GIF, ICO, JPEG, PCX, PSD, TIFF, PNG, and TGA filetypes.
-FreeSLW - port of Lukas Heise's OpenAL wrapper library, FreeSLW, that supports WAV and OGG Vorbis audio file loading and playback.
-GLU ES This is a port of the OpenGL GLU library to OpenGL ES. This port was not done by me, however I had to do a bit of tweaking to get it to compile for android.
-Lua - This was not done by me, however I thought I would include it here anyway since it can be a pain to find.
-Luabind - This one is my baby. I was not able to find this anywhere else and took a lot of hacking to make it work.

I will add more libraries as they come along and if anyone has one that they would like to contribute, please feel free to email me!

Enjoy!

jonbonazza is online now  
Last edited by jonbonazza; July 26th, 2012 at 03:06 PM.
Reply With Quote
The Following User Says Thank You to jonbonazza For This Useful Post:
jonathanrz (June 26th, 2012)
Sponsors
Old June 20th, 2012, 07:35 AM   #2 (permalink)
Senior Member
Thread Author (OP)
 
jonbonazza's Avatar
 
Join Date: Jul 2010
Gender: Male
Posts: 1,923
 
Device(s): Nexus 4, Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Carrier: ATT

Thanks: 235
Thanked 461 Times in 284 Posts
Default

If someone wants to contribute to this by writing some Java JNI wrappers for any of these libraries let me know. It's something that should be done, but it isn't needed for my project, so I don't really have the time to devote to it.
jonbonazza is online now  
Reply With Quote
Old June 26th, 2012, 12:56 AM   #3 (permalink)
New Member
 
Join Date: Jun 2012
Posts: 8
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dose this software support the functionality of cloud storage?
lasdogin is offline  
Reply With Quote
Old June 26th, 2012, 07:17 AM   #4 (permalink)
Senior Member
Thread Author (OP)
 
jonbonazza's Avatar
 
Join Date: Jul 2010
Gender: Male
Posts: 1,923
 
Device(s): Nexus 4, Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Carrier: ATT

Thanks: 235
Thanked 461 Times in 284 Posts
Default

Whay do you mean? Which library are you referring to?
jonbonazza is online now  
Reply With Quote
Old June 29th, 2012, 11:36 AM   #5 (permalink)
Senior Member
Thread Author (OP)
 
jonbonazza's Avatar
 
Join Date: Jul 2010
Gender: Male
Posts: 1,923
 
Device(s): Nexus 4, Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Carrier: ATT

Thanks: 235
Thanked 461 Times in 284 Posts
Default

Working on a couple more options, including:
-CEGUI an OpenGL GUI Library (Useful for game development)
-PCRE a regular expression library (It was required for CEGUI, so I thought I would include it as well. I will also be hosting a port of freetype2 that was done by someone else for convenience.
jonbonazza is online now  
Reply With Quote
Old July 4th, 2012, 07:33 PM   #6 (permalink)
Senior Member
Thread Author (OP)
 
jonbonazza's Avatar
 
Join Date: Jul 2010
Gender: Male
Posts: 1,923
 
Device(s): Nexus 4, Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Carrier: ATT

Thanks: 235
Thanked 461 Times in 284 Posts
Default

OK, so PCRE has been completely ported, but CEGUI is still in the process of being so. It's close, just haven't had time to finish it. I will upload them both when both are complete.

If anyone is interested in writing some Java binding code for any of the libraries, let me know. I don't necessarily need them for my project, but it would be something nice to include.
jonbonazza is online now  
Reply With Quote
Old July 6th, 2012, 11:45 AM   #7 (permalink)
Senior Member
Thread Author (OP)
 
jonbonazza's Avatar
 
Join Date: Jul 2010
Gender: Male
Posts: 1,923
 
Device(s): Nexus 4, Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Carrier: ATT

Thanks: 235
Thanked 461 Times in 284 Posts
Default

Unfortunately, CEGUI makes use of the GLEW library and many OpenGL extensions. The GLEW library does not support OpenGL ES, nor do many of the extensions used by CEGUI. Because of this, CEGUI would require major modifications to be sucessfully ported to Android. This is not a job for me, but someone who actually helps maintain CEGUI.

The PCRE library was, however, successfully ported and I will upload it the minute I get a chance.
jonbonazza is online now  
Reply With Quote
Old July 26th, 2012, 03:06 PM   #8 (permalink)
Senior Member
Thread Author (OP)
 
jonbonazza's Avatar
 
Join Date: Jul 2010
Gender: Male
Posts: 1,923
 
Device(s): Nexus 4, Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Carrier: ATT

Thanks: 235
Thanked 461 Times in 284 Posts
Default

The FreeSLW library has been completely tested and seems to be working as intended. It is no longer considered experimental and is safe to use in production code. The original post has been updated to reflect this.
jonbonazza is online now  
Reply With Quote
Old August 5th, 2012, 06:32 AM   #9 (permalink)
Junior Member
 
moviemastersdk's Avatar
 
Join Date: Feb 2012
Posts: 49
 
Device(s): HTC Hero, LG Optimus 2x
Carrier: Not Provided

Thanks: 5
Thanked 1 Time in 1 Post
Default

will any of these libraries make XML parsing easier?
moviemastersdk is offline  
Reply With Quote
Old August 5th, 2012, 08:32 AM   #10 (permalink)
Senior Member
Thread Author (OP)
 
jonbonazza's Avatar
 
Join Date: Jul 2010
Gender: Male
Posts: 1,923
 
Device(s): Nexus 4, Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Carrier: ATT

Thanks: 235
Thanked 461 Times in 284 Posts
Default

No, but i can make one if you wish. I use TinyXml for that, but the librart is so small that i normally just include tge source files in my project directly.
jonbonazza is online now  
Reply With Quote
Sponsors
Reply


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:52 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.