I have just started android.
I just want to know that how can i call activity class from other java class.
i just want to pass class object to activity class
import android.content.Context;
import android.content.Intent;
public class Genfunctions {
public void menuActions(String title,Context ct){
//this.context=context;
switch (title){
case "ENTRIES":
Intent intent = new Intent(ct, RptentrylistActivity.class);
ct.startActivity(intent);
break;
}
}//end of functions
}