Hi,
i need to creating libraries for (startapp)
according to there document
this code must be written in main class activity:
i make this code but it did not wotk:BangHead:
any help well be appreciated
Thank you
i need to creating libraries for (startapp)
according to there document
this code must be written in main class activity:
B4X:
import com.apperhand.device.android.AndroidSDKProvider;
AndroidSDKProvider.initSDK(this);
i make this code but it did not wotk:BangHead:
B4X:
package any.b4a.hanylib;
import android.app.Activity;
import android.content.Context;
import anywheresoftware.b4a.BA.ShortName;
import anywheresoftware.b4a.BA.Version;
import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.BA.ActivityObject;
import anywheresoftware.b4a.BA.Author;
import anywheresoftware.b4a.BA.Events;
import anywheresoftware.b4a.BA.Permissions;
import anywheresoftware.b4a.BA.DependsOn;
import anywheresoftware.b4a.BA.DontInheritEvents;
import anywheresoftware.b4a.objects.ViewWrapper;
import com.apperhand.device.android.AndroidSDKProvider;
@ActivityObject
@Author("HanyElmehy")
@ShortName("HanyLib")
@Version(1)
public class HanyLib {
private BA ba;
public void Initialize(BA ba)
{
AndroidSDKProvider.initSDK(this.ba);
}
}
Thank you