Abstract
Many MIDP applications are built to run on many different devices without modification. This is particularly difficult in the area of the user interface because devices have screens of all sizes, in grayscale and in color. Furthermore, devices vary widely in their input capabilities, from numeric keypads to alphabetic keyboards, soft keys, and even touch screens. The minimum screen size mandated by MIDP is 96×54 pixels, with at least one bit of color depth.1 As for input, MIDP is fairly open ended: devices are expected to have some type of keyboard, or a touch screen, or possibly both.
Color depth is the number of bits that determine the color of a pixel on the screen. One bit allows for two colors (usually black and white). Four bits allows for 16 colors, which could be different levels of gray or a palette of other colors. In general, N bits allow 2 to the power of N colors or levels of gray.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2005 Sing Li and Jonathan Knudsen
About this chapter
Cite this chapter
(2005). Creating a User Interface. In: Beginning J2ME: From Novice to Professional. Apress. https://doi.org/10.1007/978-1-4302-0020-8_5
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0020-8_5
Publisher Name: Apress
Print ISBN: 978-1-59059-479-7
Online ISBN: 978-1-4302-0020-8
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)