Oracle Java Wireless Client

com.sun.ams
Interface AMSRequestListener


public interface AMSRequestListener

A listener interface for processing system requests to AMS.


Method Summary
 void selectForegroundRequest()
          Notifies AMS front end that request to select foreground application has arrived.
 void switchToAMSRequest()
          Notifies AMS front end that request to switch to the main AMS screen has arrived.
 

Method Detail

selectForegroundRequest

void selectForegroundRequest()
Notifies AMS front end that request to select foreground application has arrived. It is expected that UI with possibility to select one application from the list of running applications will be shown. After particular application is selected, AMS front-end MIDlet is responsible for requesting foreground for it. This notifiation will be delivered only to one particular MIDlet which was registered to be the main AMS front-end MIDlet.


switchToAMSRequest

void switchToAMSRequest()
Notifies AMS front end that request to switch to the main AMS screen has arrived. It is expected that AMS front-end MIDlet will set its' main screen as a current displayable. This notifiation will be delivered only to one particular MIDlet which was registered to be the main AMS front-end MIDlet.


Oracle Java Wireless Client

Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.