“I bought this guide a few days ago to prepare for my interview with Oracle. Many of the questions they asked me were from this guide. I found this book absolutely great!”
The Mobile Information Device Profile (MIDP) has two APIs for modifying the user interface (UI), referred to as the high-level and low-level APIs.
The high-level API requires you to use task-oriented abstractions to define what the user interface does. You have no real control over what gets drawn on the screen — the java virtual machine selects the best approach for the device. The User interface, buttons are standard and no modification can be done.
The low-level API is aimed squarely at j2me game developers. Unlike the high-level API, the low-level API gives you complete access to the screen and to input events. The game developer can modify the screen or UI as required.
The game developer can either the high-level API or the low-level API, but not both.
J2me package for low level UI is javax.microedition.lcdui.*;
High level UI means GUI developed by using SCREEN class. It called high level GUI bcoz the methods in the subclasses of the screen class handle the drawing on screen. They call paint() method internally. Programmer dont have to worry abt writing paint metod for drawing on screen.
While Low level UI is nothig but CANVAS based UI, which gives pixel level control of the screen. Programmer have to write routine for the paint() method and call the paint method by repaint().
The Mobile Information Device Profile (MIDP) has two APIs for modifying the user interface (UI), referred to as the high-level and low-level APIs.
The high-level API requires you to use task-oriented abstractions to define what the user interface does. You have no real control over what gets drawn on the screen — the java virtual machine selects the best approach for the device. The User interface, buttons are standard and no modification can be done.
The low-level API is aimed squarely at j2me game developers. Unlike the high-level API, the low-level API gives you complete access to the screen and to input events. The game developer can modify the screen or UI as required.
The game developer can either the high-level API or the low-level API, but not both.
J2me package for low level UI is javax.microedition.lcdui.*;
High level UI means GUI developed by using SCREEN class. It called high level GUI bcoz the methods in the subclasses of the screen class handle the drawing on screen. They call paint() method internally. Programmer dont have to worry abt writing paint metod for drawing on screen.
While Low level UI is nothig but CANVAS based UI, which gives pixel level control of the screen. Programmer have to write routine for the paint() method and call the paint method by repaint().
Leave an Answer/Comment