Changes

Jump to: navigation, search

BlackBerry : Develop Simple Apps

751 bytes added, 12:56, 24 February 2011
no edit summary
== Read Code from the BlackBerry Samples ==
[http://docs.blackberry.com/en/developers/subcategories/?userType=21&category=Sample+Applications Here are some of the most important BlackBerry Samples]
''The content from BlackBerry developer site has been used for these notes for which a grateful acknowledgment is made.''
---------------------------
[http://docs.blackberry.com/en/developers/deliverables/7721/Custom_buttons_sample_app_overview_546026_11.jsp Overview]
'''The custom buttons sample application demonstrates how to extend the Field class to create a variety of different button UI components.'''
The sample application demonstrates how to create the following types of buttons:
In addition to creating and displaying these custom buttons, the sample application also demonstrates how to attach listeners to these custom buttons. Listeners are components that execute code when an event occurs. In the sample application, when you click one of these buttons, a dialog box appears with text specifying which of the buttons you clicked.
----------------------
 
=== Decor ===
[http://docs.blackberry.com/en/developers/deliverables/9076/Decor_sample_app_overview_672047_11.jsp Overview]
 
'''The decor sample application demonstrates how to create custom fields by specifying their border, padding, color, and background attributes.'''
 
You can use the sample application to create fields that have the following attributes:
 
* solid rounded border with a solid background
* dotted rounded border with a transparent background
* dashed simple border with a gradient background
* dotted simple border with no padding
* beveled border with an image as a background

Navigation menu