Testing out technologies for the CC library

Testing out technologies for the CC library

So I started looking into the Java version of the XMP tool kit that I found in the CyanogenMod repository on Github. The problem with this tool kit is still the same, there is only reading component and not a writing component.  I found some other classes in Java and a project that was using these classes that could help me.  But the whole thing is written in pure Java and uses Java classes that are not part of Android.  So I started to port over some of the code to use Android classes.

While I was porting, I got a little distracted and went back to Qt. There is an option in Qt to make a shared C++ library.  And you can pick and choose which components of the framework are included in the library so the size is controlled.

Screenshot from 2015-02-02 23:21:59

I made this small library to set the license of an image, get the license of an image, and save the image.

Screenshot from 2015-02-02 23:24:18

I made a small program that uses the library and performs all the functions that the library provides. One you select the picture the program will look like this:

Screenshot from 2015-02-02 23:25:21

At this point if you try to get license, without setting it, than an empty window will appear.  If you set the license and then get the information, it will look like this:

Screenshot from 2015-02-02 23:25:41

This is a section of the CC license for proof of concept. Now I think working with Qt will be the easiest most accessible way to complete this project.  Even working with XMP will be easier because it is written in C++.