List of all Iphone and Blackberry Development codes in a one click Iphone,objective C,xcode,blackberry Development,iOS Development
Showing posts with label Title bar. Show all posts
Showing posts with label Title bar. Show all posts

Thursday, June 27, 2013

Title bar in Blackberry

Use a title bar to provide BlackBerry device users with information at the top of your application. Most title bars contain only a title, but title bars can display the following items:
  • application icon, descriptive title, and time
  • application notifications, such as a new message indicator
  • wireless connection indicators, including the wireless coverage level, network coverage, GPS indicator, Bluetooth indicator, and Wi-Fi connection indicator
  • battery power indicator
  • active call indicator 
StandardTitleBar myTitleBar = new StandardTitleBar()
            .addIcon("my_logo.png")
            .addTitle("Title Bar")
            .addClock()
            .addNotifications()
            .addSignalIndicator();
myTitleBar.setPropertyValue(StandardTitleBar.PROPERTY_BATTERY_VISIBILITY,
            StandardTitleBar.BATTERY_VISIBLE_LOW_OR_CHARGING);
setTitleBar(myTitleBar);