English 中文(简体)
MainScreen not pop after calls popScreen()
原标题:MainScreen not pop after calling popScreen()
  • 时间:2011-10-07 07:59:41
  •  标签:
  • blackberry

I try to pop the main screen using UiApplication.getUiApplication().popScreen(getScreen());

But after executing this line main screen not poped and my application hanged. And I received the following message from console.

FocusHistory: Focus lost; App AppName; Component net.rim.device.api.ui.component.ButtonField
问题回答

尝试使用

UiApplication.getUiApplication.popScreen(UiApplication.getUiApplication().getA ctiveScreen())

UiApplication.getUiApplication()。

        Or

UiApplication.getUiApplication().popScreen(UiApplication.getUiApplication()。





相关问题
How does AlertListener work on Blackberry API 5.0?

Does the AlertListener interface works globally on all alerts on the blackberry device, or does it only work with alerts generated by your application? In other words, can I use this interface to ...

How to buffer audio in Blackberry?

I need to learn how to buffer audio stream from a remote server in Blackberry. There is a sample buffered playback app with Blackberry api but can you tell what url may I use to test the application?

Blackberry push notification implementation

How does one implement a push notification for a blackberry app? I heard that in order to do so I need to purchase a Blackberry Enterprise Server which costs me 1400 per year. Is this true? Where is ...

热门标签