Motorola C550, C450, C370 technical manual Lcdui

Page 3

Table of Contents

 

HTTP

33

TCP SOCKETS

34

UDP SOCKETS

34

IMPLEMENTATION NOTES

34

NOTES

35

7 LCDUI

36

LCDUI API

36

8 GAMING API AND SOUND

38

FUNCTIONAL DESCRIPTION

38

CLASS HIERARCHY

38

BACKGROUNDMUSIC CLASS

39

BackgroundMusic Methods

39

Using BackgroundMusic

39

GAMESCREEN CLASS

40

GameScreen Fields

40

GameScreen Methods

41

Using GameScreen

43

IMAGEUTIL CLASS

44

ImageUtil Fields

44

ImageUtil Methods

44

Using ImageUtil

45

PALLETEIMAGE CLASS

46

PalleteImage Constructor

46

PalleteImage Methods

46

Using PalleteImage

47

PLAYFIELD CLASS

48

Using Static and Animated Tiles

48

Using Sprites

49

Defining View Windows

49

PlayField Constructor

49

PlayField Methods

51

Using PlayField

54

SOUNDEFFECT CLASS

55

SoundEffect Methods

55

Using SoundEffect

55

SPRITE CLASS

55

Animation Frames

56

Sprite Drawing

56

Sprite Constructor

56

Sprite Methods

57

Using Sprite

60

FILEFORMATNOTSUPPORTEDEXCEPTION

60

FileFormatNotSupportedException Constructors

61

JAVA GAMING SOUND API

61

MAX MIDI EXTENSION SUPPORT

61

9 VIBE AND BACKLIGHT

62

VIBE AND BACKLIGHT API

62

10 SMS MO

63

3

Image 3
Contents Technical Manual Table of Contents Lcdui JAD Attributes Disclaimer IntroductionPurpose AudienceReferences Acronym Description Revision HistoryDefinitions, Abbreviations, Acronyms Date Name ReasonDocument Overview Introduction Java 2 Platform, Micro Edition J2ME J2ME IntroductionResources Available Motorola J2ME PlatformJava VM Description DisplayNetworking File & RMSDeveloping and Packaging J2ME Applications Guide to Development in J2MEIntroduction to Development Page OTA Procedure InstallationDownloading Applications Program and Data space notes Java Application Installer/De-Installer Jaid Starting ApplicationsExiting Applications Error Checks Launching Web Session for Http DownloadDownloading MIDlets XML Screen Renderings BombMan is back, now on your Taichi series of handsets Taichi handset New Games MIDlet Lifecycle Application ManagementMIDlet Suite Installation MIDlet Suite De-installation DestroyApp MIDlet Suite UpdatingCaller Purpose MethodStartApp or the pauseApp Using startApp MIDlet Control of MIDlet State Transitions Java SystemPage Network Connections Network APIClass Descriptions URL Format IOException when it detects a time-out conditionTCP Sockets UDP SocketsImplementation Notes Network API Description LcduiLcdui Gaming API and Sound Functional DescriptionClass Hierarchy Gaming API containing a sound API Using BackgroundMusicBackgroundMusic Class BackgroundMusic MethodsGameScreen Fields GameScreen ClassPublic int getKeyStates GameScreen MethodsInformation, disabling key events can improve performance GameScreen Using GameScreenImageUtil Class ImageUtil FieldsImageUtil Methods RgbData Using ImageUtilPalleteImage Class PalleteImage ConstructorPalleteImage Methods Public void setTransparentIndexint index throws Using PalleteImagePlayField Class Using Static and Animated TilesUsing Sprites Defining View WindowsPlayField Constructor 2N+1 2N + Public void addSpriteSprite s throws PlayField MethodsPage Public boolean collidesWithAnyTileSprite s throws PlayField Using PlayFieldSoundEffect Methods Using SoundEffectSoundEffect Class Sprite ClassAnimation Frames Sprite DrawingSprite Constructor Sprite Methods Page Public final void drawGraphics g throws Using Sprite FileFormatNotSupportedExceptionSprites Java Gaming Sound API Java Gaming Sound APIMax Midi Extension Support FileFormatNotSupportedException ConstructorsVibe and Backlight API Vibe and BacklightCreating a Message OverviewPermissions Sending a MessageJAD Attributes JAD AttributesMandatory attributes for manifest files MIDlet-Name RecordStore Record Management SystemClass Description Code ExamplesCaveats TipsPhonebook Access API Phonebook AccessSample of code to create object of PhoneBookRecord class Phonebook Access API PermissionsSimmemory Sample of code for calling of ‘getMaxEmailLength ’ method Sample of code for calling of ‘isPrimaryint speedNo’ method Sample of code for calling of ‘getNumberCategories’ method Sample of code for calling of ‘setCategoryView’ method Sample of code for calling of ‘getUsedRecords’ method Int index = ReceivedRecord.getRecord1 Intelligent Keypad Text Entry API ITAPKey Mapping for the C370, C450, and C550 Appendix a Key MappingCenter Select END Available Memory Appendix B Memory Management CalculationAppendix C Online FAQC370, C450, and C550 Spec Sheets Appendix D Spec SheetsMotorola Developer Information Tools DocumentationReferences Purchase Motorola Developer Information Tools Motorola, Inc
Related manuals
Manual 110 pages 1.04 Kb