Hi! I need run android activity from c# code. I try do this:
public class Test : Activity
{
public void Start()
{
StartActivity(typeof(MyActivity));
}
}
}
Then from Update() i calling Start(). But i have error: java null pointer exception. When i write this( StartActivity(typeof(MyActivity))
) into MainActivity.cs all works good
Help me, please