I am not sure just trying to find out is there any way we can send data from main project to library project ? Below code giving me classnotfound exception here LockScreenActivity is my library project activity. I am calling this code from the main project.
Intent myIntent = null;
try {
myIntent = new Intent(this,Class.forName("nseit.com.lockscreenusingservice.LockScreenActivity"));
} catch (ClassNotFoundException e) {
e.printStackTrace();
}
myIntent.putExtra("exam_id",exam_id);
myIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(myIntent );