I was trying to go to another page using button, but it always fail.
button
Here is my First Class with its XML:
public class Fin
If you can get a View in that fragment, you can access the context from there:
View
view.getContext().startActivity(intent);