Here I want to make a whole android project as jar file which is further used in Unity. My android project is like http://www.truiton.com/2015/05/capture-record-android-screen-using-mediaprojection-apis/ .
http://answers.unity3d.com/questions/330809/integration-of-jar-file-using-jni.html
And main things is that how can I make this whole project as jar file.
// How can i do that
package jni;
public class TestClass
{
private String a;
public TestClass()
{
a="Hi all";
}
public String func()
{
return a;
}
}