Raj Kamal
Raj Kamal

Reputation: 149

What is the meaning of the exception "Deprecated API access logged: UiApplication.popScreen()"

When I clicked on the ListField in the popup menu it gives this exception "Deprecated API access logged: UiApplication.popScreen()"

Upvotes: 1

Views: 100

Answers (1)

Rupak
Rupak

Reputation: 3674

You are using a deprecated method. Use popScreen(net.rim.device.api.ui.Screen) of the UiApplication instead of popScreen().

public final void popScreen(Screen screen)

    Removes a screen from the display stack, and updates the screen.

    Specified by:

        popScreen in interface UiEngine

    Parameters:

        screen - Screen to remove.

    Throws:

        IllegalArgumentException - If your screen is not on the stack.

Upvotes: 1

Related Questions