This article is translated from the Bada development website of Samsung. |
Create an application file
Before you start to develop the functions of your application, you must first set your application archives. The application archives should ensure that you can fully access the following basic information services provided by Bada:
- Application name and version
- API version used by the application
- Privileged group assigned by the application
Create application files on Bada Development Network
Steps:
Start file creation Wizard: selectMy
Applications> Application ManagerAnd selectGenerate a New Application Profile.
InSet your application name(Set Application name) field, define an application name, and fill inDescribe your application(Project Description) field.
Your application name must be 4-20 bytes long and then clickNext
InSet your application version(Set the version of your application) field to set a version number for your application.
The default application version is 1.0.0. When your application is more mature and upgraded, you can modify the version of your application. The application version supported by Bada is between 0.0.1 and 35.35.1295.
InSelect your bada API version(Select the Bada API version used by your application) field and select the API version of your application.
If you select the API version 2.0, you also need to select the application typeC ++ appOrFlashapp. ClickGenerate).
Based on the Application name, version, and type information, bada will generate a unique ID, which will be used in subsequent basic settings and application lifecycle management. application life-cycle management.
ClickContinue.
Allocate privilege groups as needed,
Then clickFinish.
Some Bada APIs are called privileged APIs for processing platform and user sensitive data. to use privileged API features and services in your application. you need to assign the corresponding privileged group to your application (based on the features required by your application development)
Note: |
For flash applications, you must also declare Flash privileges (declares the flash privilege) to enable ActionScript to access privileged APIs and user sensitive data. For example, to use flash-based application templates, you must Declare the flash_service and system_service privileges for the application. |
Your application archives are now basically ready, and the archives details will be displayed in front of you. You can clickDownload
Manifest. xmlDownload manifest file.
Note: |
If you need to use server components to assign a privileged group, clickSetup now to configure Server Components (Configure the server components ). |
After creating an application file and downloading the manifest file, you can create an application project.
Manifest File
All Bada applications require a manifest file (manifest. XML). After creating the application file, you need to download the manifest file from the Bada development network and use it in your application.
You do not need to manually create or edit the manifest file. The downloaded manifest file contains the information about the application defined in the application file:
- Application ID
- Application Type
- Allocated privilege groups
- API version
Note: |
If you modify the details of your application on the Bada development website, such as assigning a new privileged group or changing the details of the target terminal model, you need to download the manifest file again and Use this new manifest file in your application |
Original English address:
Http://developer.bada.com/help_2.0/topic/com.osp.documentation.help/html/app_dev_process/creating_app_profile.htm