Samsung Launches Bada 2.0 SDK With Many Features

Written By Sam on 28 August 2011

Samsung has recently launched an updated version of Bada SDK with many new features. The latest Bada v2.0 SDK features Multitasking, UI 2.0, Layout Management, Support for Near Field Communication, Enhanced Inter-application Communication, Support for Speech-to-Text, Text-to-Speech, Wi-Fi Direct, OpenAL, In-app Ads, Push Notifications, More Framework Features, New Development tools, Profiler and Web Application Framework.

The new Bada v2.0 SDK is available for download from > Dev Tools > SDK download. If you are a Bada Developer then go ahead and get the latest SDK which features many significant improvements.


From bada 2.0 onwards, the OS supports multitasking. When multiple bada applications are running simultaneously, only one bada application can run in the foreground. The rest must run in the background. The user can switch application perspectives and determine which application is running in the foreground at any given moment.

UI 2.0

bada 2.0 introduces three new navigation styles: Header, Footer, and TabBar. The Header control acts as a placeholder for displaying descriptive content at the top of the screen. Headers can contain a title, description text, and items, such as buttons, for performing various user-defined tasks. The Footer control displays at the bottom of the screen, and is used to switch between different views or to host buttons for performing user actions. It can also display badge icons for tab items to notify the user of the number of new content items in a specific view. Both the Header and Footer controls can be made translucent.

The TabBar is a horizontal menu that can be placed anywhere within the body area of the screen. The TabBar control contains multiple items, possibly more than can fit into the screen simultaneously. The TabBar is also scrollable. More controls such as SearchBar and Gallery are also introduced for convenient implementation of UI functions. The SearchBar is a simple control that provides an editable search field for entering keywords and an optional button that is displayed in the input mode.The Gallery control allows you to display a collection of images in a slideshow format, with various options to control transitions.

From this version onwards, you can use the new Osp::Ui::Animation namespace. The Animation namespace offers classes that can help introduce a variety of fantastic animations into your application. Animations can be attached to Form or controls for various effects including screen transition. Animation types include size, transparency, rotation, position and more.

Layout Management

Samsung bada 2.0 supports three different screen resolutions: WVGA [480×800], HVGA [320×480] and WQVGA [240×400]. To help you design UI independent of screen resolution and aspect ratio, we have introduced a concept called the Layout. You can position various controls on the screen using three different Layout styles: Linear, Grid and Relative.

In the Linear Layout style, a UI control is added relative to the previous one. There are two variants of this style: Horizontal and Vertical. In the horizontal style, a new control gets added to the left/right of the previous one. While in the vertical style, the new control gets added above or below the previous one.

In the Grid style, each control is positioned in a cell of a 2-dimensional grid. Each cell of the grid is sized based on the height and width of the control placed in it.

In the Relative style, each control’s size and position is a function of other controls added to the container. The difference between Relative and Linear is that in the former, you can choose which other control the newly added control should be related to. Whereas in the latter, the new control is always related to the most recently added control.

Support for Near Field Communication

The Near Field Communication (NFC) service is a set of short-range wireless technology services. It also includes the contactless card technology, vicinity card (known as RFID) technology, and near field communication technology. It enables devices to share information within a distance of less than 4 centimeters with a maximum communication speed of up to 424 kbps. The NFC service has three operating modes. NFC enabled devices can change the mode of operation to card emulation mode, read/write mode, or peer-to-peer mode. Currently, the bada NFC API only supports read/write mode.

Enhanced Inter-application Communication

To support more interaction between multiple bada Applications, we have introduced two classes: ServerChannel and ClientChannel. An application can send a request to another application using ClientChannel. The request is handled by the ServerChannel of the recipient application, which can control the response to be delivered.

Support for Speech-to-Text, Text-to-Speech

This version supports a Speech-to-Text class that recognizes speech and converts it to text, so that your application can implement voice-driven features, such as dictating a note, controlling your application by voice, and voice chatting. It also supports various properties, such as locale, grammar, silence detection, profanity filter, and punctuation override.

Meanwhile, a Text-to-Speech class synthesizes speech from a given piece of text and plays it. As a result, this feature can enable your application to implement voice-driven features, such as a note reader and talking dictionary. It also supports various properties, such as locale, voice type, and speech rate.

Wi-Fi Direct

The Wi-Fi Direct protocol allows communication between multiple Wi-Fi enabled devices without the need for a controller device, such as a hotspot. Imagine 5 bada device owners in a train competing in a high end racing game, or, transferring your entire album of photos from your recent trip to Marseille to your friend’s device in seconds. That is the kind of inter-device communication channel that this protocol opens up.

Samsung bada offers a set of Wi-Fi Direct classes that allow you to manage the Wi-Fi Direct device, create a Wi-Fi Direct group, scan Wi-Fi Direct devices, and associate with a Wi-Fi Direct group owner.


The OpenAL namespace within the Media namespace enables your application to create 3D sounds through OpenAL (Open Audio Library). OpenAL is a cross-platform 3D audio API appropriate for use with gaming applications and many other types of audio applications. The library models a collection of audio sources moving in a 3D space that are heard by a single listener somewhere in that space.

In-app Ads

From v2.0, bada platform offers a set of easy-to-use APIs to insert targeted Ads into your application. These APIs allow you to choose the content type and dimensions of the Ad, determine how often they should be refreshed and control the action sequence when the User touches an Ad control.

The Ad control supports two types of Ads: Image Banner, and Text Banner. When the user touches the Ad, one of the following actions is triggered:

  • Click-to-Brower: Opens a web page, set by the Advertiser, in the default browser.
  • Click-to-Call: Automatically dials a number set by the Advertiser
  • Click-to-Store: Launches Samsung Apps Store with the product page defined by the Advertiser.

Push Notifications

From bada 2.0, you can offer various forms of notification support in your app. You can use a combination of any of these notification types: Ticker, Quick Panel, Badge Number and Sound. The Ticker model informs users when applications on their bada devices have data updates waiting for them. The device informs the user of the data on the server that the client application needs to process. If the user has enabled this feature and the application is properly registered to receive the update notifications, the notification is delivered to the device and handled by the application. From the user’s perspective, it appears as though the client application is always active in the background, waiting for notifications.


Profiler is another tool which is available in the IDE which helps you to fine-tune your application. The Profiler calculates the application method call count and execution time, and determines the code fragments that take the maximum time to execute. This information further helps you to optimize your application code by identifying the bottlenecks in the code blocks.

Web Application Framework

From bada 2.0 onwards, you can build your entire application using web technologies.

  • JavaScript Framework: You can create rich UIs which have the same look and feel as a native bada app.
  • HTML5: You can take advantage of support for an application cache, web storage, canvas, geolocation, video, audio, WebSockets, cross-document messaging, and server-sent events.
  • WAC API: You can also use device APIs such as PIM, Device, Messaging, Camera, Accelerometer, Orientation, and File System.

Leave your response!