Hello all, i'm trying to wrap a CircularProgressBar library, i'm just trying to do this for fun, i've wrapped a few other libraries before but i'm a little confused with this library, since it requires a few xml libraries to be included. Here's what i have so far.
package com.genesis.circularprogressbar;
import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.BA.ActivityObject;
import anywheresoftware.b4a.BA.Author;
import anywheresoftware.b4a.BA.DependsOn;
import anywheresoftware.b4a.BA.Permissions;
import anywheresoftware.b4a.BA.ShortName;
import anywheresoftware.b4a.BA.Version;
import com.lylc.widget.circularprogressbar.example.CircularProgressBar;
@Version(1.0f)
@ShortName("B4ACircularProgressBar")
@ActivityObject
@Permissions(values={"android.permission.INTERNET"})
@Author("Walter F")
@DependsOn(values = { "CircularProgressBar" })
public class B4ACircularProgressBar {
public void Initialize(BA ba, String eventname){
CircularProgressBar c1 = new CircularProgressBar(ba.context);
c1.setProgress(45);
}
}
The library compiles just fine in Eclipse, but i get a Resource Not found error when I try to use it in my B4A project, of course this has to do with the xml files that are needed.
How can I call this files or include them in my project so that i get rid of this error?
I know it might be a simple answer, but my brain keeps farting at the moment.
I'd really appreciate it if anyone can point me in the right direction.
The original project can be found here.
https://github.com/ylyc/circular_progress_bar
Thanks everyone in Advance.
Cheers,
Walter