As far as I know, in android \"release build\" is signed APK. How to check it from code or does Eclipse has some kinda of secret defines?
I need thi
Another option, worth mentioning. If you need to execute some code only when debugger is attached, use this code:
if (Debug.isDebuggerConnected() || Debug.waitingForDebugger()) { //code to be executed }