Bada

  Home  Smartphone OS  Bada


“Bada frequently Asked Questions by expert members with experience in Bada. These questions and answers will help you strengthen your technical skills, prepare for the new job test and quickly revise the concepts”



44 Bada Questions And Answers

1⟩ Tell us what you know about Bada?

Bada is an operating system for mobile devices such as smartphones and tablet computers. It is developed by Samsung Electronics. Its name is derived from ocean or sea in Korean. It ranges from mid- to high-end smartphones.

 180 views

8⟩ Suppose when a user presses the End button to kill the application, I want to stop this from happening so that the user can be prompted whether they want to save the state or not?

No, the application cannot stop itself from being terminated. If you must save the data, you can save it in the onAppTerminating () method, but you cannot provide any UI elements as the application is terminating. An alternative is to provide a settings page to get the user's preferences and use the appropriate logic in the onAppTerminating() method.

 198 views

11⟩ How to change my application settings?

Under the menu bada Developers > My Applications > Application Manager you will find a list of your existing applications. Click on the name of the application you wish to modify, then the version. On the details page, click [Modify] button.

 155 views

14⟩ How to support multiple languages?

You can use string resources with resource IDs where each string corresponding to an entry for each language can be added and identified using its respective resource ID. The same can be accessed in your application using the GetAppResource()->GetString( >string id> ) method.

 171 views

15⟩ How to insert emoticons in text?

EnrichedText is the best candidate for this. By using EnrichedText, you can easily mix various styles and resources in text. In this case, you can insert bitmaps into text with the Osp::Graphics::EnrichedText::Add(const Osp::Graphics::Bitmap & bitmap) method.

 195 views

17⟩ How to secure or encrypt my files and databases?

You can encrypt files using Construct() with the secureMode parameter.

For example, if you want to create secure files, use File::Construct(const Osp::Base::String &filePath, const Osp::Base::String &openMode, bool secureMode, bool createParentDirectories).

If you want to create secure database files, use Database:: Construct (const Osp::Base::String &databasePath, long openMode, bool secureMode, long option).

Also, bada provides methods for converting normal files and databases to secure, encrypted ones with the ConvertToSecureFile() and ConvertToSecureDatabase() methods.

 172 views