Monday, January 31, 2011

How to install the Samsung Bada?




What is bada?

bada, (bada, the Korean word for “ocean”,) is a new smartphone platform that allows developers to create feature-rich applications that elevate the user experience in mobile spaces.
Install the bada Software Development Kit (SDK). The bada SDK installation also contains the bada IDE.

Getting Started with the SDK

Hardware and software requirement:
  • Microsoft Windows® XP, Windows® Vista or Windows® 7 operating system.
  • At least 1.4 GB of RAM memory.
  • At least 1.8 GB of free disk space.
  • Local administrator rights.
  • The bada Simulator screen size is 480 * 800. If the screen resolution of your computer monitor is under 800, the Simulator does not show normally for applications that use OpenGL®.

* Open Source
 The bada SDK includes copyright software licensed under open source licenses. A copy    of the open source software and Toolchains is available at Samsung Open Source Release Center.

1. Installing the bada SDK

If you have installed the SDK before and are now upgrading to a new version, first uninstall the previous version.
  • 1. Download the SDK installer, bada_SDK_.exe.
  • 2. Run the SDK installer.
    The SDK installation wizard starts.
  • 3. Select the required language packs and click Next.
  • 4. Click Install.
    The SDK is now installed and configured on your computer.
The installer downloads the needed language packs during the installation, and the download can fail due to firewall issues or unstable network connections. In that case, download the SDK full package, unzip it, and run the unzipped bada_SDK_.exe file. The full package includes the supported language packs, so no downloads are required during the actual installation.
To add more language packs to your SDK later on:
  1. Run the SDK installer.
  2. In the Program Maintenance window, select Modify and click Next.
  3. In the Choose Components window, select the required language packs and click Next.
  4. Click Install.

Que :What is Simulator
Ans : The Simulator is a tool that simulates the target environment running bada applications. It enables you to test your application before deploying it to the real target device. The Simulator provides a fast and efficient testing environment right on your local machine.
The Simulator supports the simulation of the real devices:
  • Multi-point touch
  • Camera
  • OpenGL® ES
You can launch the Simulator by debugging and running applications in the bada IDE. You can also launch the Simulator independently by selecting Start > All Programs > bada SDK > Simulator_annex.

  • Event Injector: You can launch the Event Injector from the Simulator menu.
  • Rotate: You can switch between portrait and landscape modes. The application must implement this feature in order to support rotation.


 
  • Error Lookup: You can retrieve a system error message based on the entered value.
  • Update Content DB: You can register newly added data files (images, sounds, videos, themes, and other additional media data) in the Media directory. (This option only works on the idle screen.)
  • Option: The “Always on Top” option sets the z-order to the top, and the “Size” option allows you to adjust the Simulator size.





Changing the Proxy Address

To change the proxy address, select Settings > Connectivity > Network > Connections > bada > Proxy address.

Changing the Display Language

To change the language used on the display, select Settings > General > Display language.



To add new languages for the keyboard (so that more languages are available when toggling the language selection), select Settings > General > Keyboard language


Changing the Keyboard Language

You can toggle the language selection for the keyboard by pressing the language button on the virtual keyboard.



The bada IDE is based on the Eclipse CDT (C/C++ Development Tools). Eclipse provides a set of code editing tools in its text editor.
The bada IDE consists of the following components:
  • Application Wizard
    Creates applications based on templates.
  • Output
    Shows the log, debug, and exception messages.
  • Resource Explorer
    Shows the resources included in a project.
  • Resource Monitor
    Shows the usage of resources in a running application.
  • UI Builder
    Helps to design the UI for bada applications.

Installing Plug-ins for the bada IDE

To install new plug-ins for the bada IDE:
  1. In the bada IDE, select Help > Install New Software.
  2. From the Work with drop-down list, select http://static.bada.com/feature-update/ as the software site.
  3. Select the plug-ins to install and click Next to continue and complete the installation process.
To create a bada application using the wizard:
  1. Make sure that the current perspective is bada C++.
  2. In the IDE, select File > New > bada Application Project.
The new application project automatically fills in basic code and lets you configure the project for different build configurations and devices.
  1. The project creation process in the IDE consists of multiple windows: in each window, check and set settings, and click the Next button.

create the Hello World project:
  1. Launch the IDE by selecting Start > Programs > bada SDK > badaIDE.
  2. In the IDE, select File > New > bada Application Project.
If the option bada Application Project is not visible, make sure that your perspective is bada c++.
  1. In the New bada C++ project window, define the project details:
    1. Define HelloWorld as the name of your project.
    2. Define the location for your application project or use the default location.
    3. Select the project type as Frame Based Application and click Next.
For more information on the project types, see bada Project Templates.
    1. Make sure that the path for bada SDK Root matches with the location where you have installed the SDK and that the destination model for developing your application is correct, and click Next.
The SDK root path points to the latest installed SDK instance by default. You can also change the SDK root and the destination model later through the application project settings.
    1. Select the Default manifest file check box to use the default device configuration, or browse for the location where you have stored the manifest.xml file that you downloaded from the bada developer site, and click Next.
  1. Check that the name and version of the project are correct and click Next.
You can also add vendor information and a project description if you wish.
  1. Select the device configurations on which the application is to be deployed and click Next.
You can add additional configurations after the project creation by clicking the Manage configurations button on the toolbar or on the property pages.
  1. Check that all the information in the Summary for the project is correct and click Finish.




No comments:

Post a Comment