Sending application to background on tapping "Escape key".
Code Snippet
protected boolean keyChar(char c, int status, int time) {
if(c == Characters.ESCAPE)
{
UiApplication.getUiApplication().requestBackground();
return true;
}
return super.keyChar(c, status, time);
}
Code Snippet
protected boolean keyChar(char c, int status, int time) {
if(c == Characters.ESCAPE)
{
UiApplication.getUiApplication().requestBackground();
return true;
}
return super.keyChar(c, status, time);
}
Hello, this post has really very good information about blackbeery application.
ReplyDeleteiPhone Application Development