HomeQuestions and AnswersArticlesSamplesLibrariesForumsNewsLinks

Why does my application crash when I press the Back hardware key?

By Alexander Shargin, May 29, 2002.

Question

I've created a very simple application. But I noticed that it crashes when I press the Back hardware key. This behaviour is detected only when the application is running under debugger. I don't handle the Back key in my application. How can I fix this?

Answer

It seems to be a bug in the debugger. It appears if you use long window class names in your application (more than 25 characters). Use shorter class names to avoid this problem.

Discuss

Discuss this QA. Here you can write your comments and read comments of other developers.

  © 2002 Smartphone Developer Network | Want to be an author? | Contact Us