Skip to content Skip to sidebar Skip to footer

How To Startactivity Using Actionbar Item

public boolean onOptionsItemSelected(MenuItem item) { // Handle action bar item clicks here. The action bar will // automatically handle clicks on the Home/Up button, so lo

Solution 1:

The problem is not in this activity actually if you try to read your logcat logs, it says you are trying to use a referance without assigning it. And then it throws a NullPointerException. And here's the line

at com.example.intend.SecondClass.onCreate(SecondClass.java:28)

Post a Comment for "How To Startactivity Using Actionbar Item"