Rolling Windows and Sticky Bytes

<tagline type="clever"/>

Debugging an Android Action Bar Menu Issue

on 2014-11-27

I’ve been working through the University of Maryland Programming Mobile Applications for Android Handheld Systems course and recently ran into an issue during one of the labs. I could not figure out why one of my views was not calling its onClick handler. Turns out, the handler was being called but log messages were not being recorded in LogCat.

I eventually determined that the issue was that the location had not been set in the mock location provider included in the lab. For some reason, the action bar overflow button was not appearing, meaning I did not have access to the location provider settings that should have appeared under this button.

I eventually learned on the course forums that you can force the action bar overflow menu to appear by pressing the Page Up key on your keyboard. Once I was able to summon the menu, everything worked as expected.

 


Leave a Reply

Your email address will not be published. Required fields are marked *