Skip to main content
  • 206 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints 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

Publish with us

Policies and ethics