Programacion blackberry
UI and Navigation Version: 7.1 Beta
Development Guide
Published: 2011-11-15 SWD-1602921-1115040101-001
Contents
1 UI....................................................................................................................................................................... Types of UIAPIs................................................................................................................................................ BlackBerry UI APIs...................................................................................................................................... MIDPAPIs.................................................................................................................................................. SVG APIs..................................................................................................................................................... Graphics Utility API.................................................................................................................................... Advantages of BlackBerry UIAPIs..................................................................................................................... Creating a UI that is consistent with standard BlackBerry UIs.......................................................................... 2 Fundamental UI components...........................................................................................................................Fields................................................................................................................................................................. Box model..................................................................................................................................................Managers.......................................................................................................................................................... Vertical field manager............................................................................................................................... Horizontal fieldmanager........................................................................................................................... Flow field manager.................................................................................................................................... Screens.............................................................................................................................................................. Screenclasses............................................................................................................................................ Developing applications for different screen sizes.................................................................................... 3 Drawing directly on a screen............................................................................................................................ Contextstack.................................................................................................................................................... Drawing shapes................................................................................................................................................. Draw shapes on thescreen............................................................................................................................... Code sample: Drawing shapes on the screen............................................................................................ 4 UI life cycle...........................................................................................................................................................
Regístrate para leer el documento completo.