Android Tutorial & Lessons 16: hardware menu button & Menu inflater items
Top Comments
All Comments (60)
-
managed to sort it out. NOt sure how. Time to carry on with the tutorials. Thanks again and thanks so much for not charging for all this. A lot of people would I'm sure. LEGEND!!!!!!!
-
hi travis thanks for the vids. Having a problem with this one. Am getting error of unreachable code on the line MenuInflater inflater = getMenuInflater();
Have imported Menuinflater and all my code seems to match yours. I realise error must mean the code will never be called but not sure what i am doing wrong and cant move on with the error. Any help from anyone would be great.
-
I'm having that same Resource issue some of you other guys are having... anything with 'R' is not registering. Its weird how this just pops up and won't go away. Saves and Cleans don't do the trick. Did anyone find a fix to that yet?
-
YES FINALLY!!!!
thx man!
-
can i have your babies Travis??
-
@blu3fish479 can you link it ?
I cant find the fix
-
@1smawley awesome found it. thanks a lot! :)
-
@blu3fish479 yea... it was something small, go to the mybringback site and look for travis android help under the blog section
I have a question: when I press the menu option "Start activity sweet", the activity doesn't begin, where is the error???
bollit0 9 months ago 8
@shiningstar237 , hi zaheer,I faced same problem but I got a solution through searching on net. public boolean onCreateOptionsMenu(Menu menu),public boolean onOptionsItemSelected(MenuItem item) these 2 methods should be overriden.so, put the comments on these 2 methods in program and make these 2 methods by the, right click->source->overriden methods and choose those 2 methods, make change in these 2 methods as shown in tutorial.@ override statement do not delete.I dont know actual work of dat
amey630 4 months ago 2