Only show menu item in debug mode?

Viewed 5017

In my app I have created a test page with some code that only will be available for the developer. This page/activity can only be reached via a menu-item. Is there a way to determine if an android app is running in debug mode, and only show the menu-item when this is true?

regards, Goldhorn

3 Answers
Related