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.

2. How to get descriptions for error codes?

Right-click on the Emulator and select "Error Lookup". Enter the error code number to get the description of the error code.

3. How to do a screenshot in bada?

Screenshots: Home (OK) key + hold key press (press Home key first)
Screenshots are located in /media/images.

4. Tell me which game engine has been ported to bada?

AirPlay, a 3D game engine, has been ported to bada, and is now available for you to use.

5. Will a running bada application get key and Ui events if the phone goes into the Locked state?

No. When the phone goes into Locked mode, the running bada application goes into the Background state. Key events, such as volume up and down or the end key, are not sent to the running bada application.

6. Tell me Is there a global copy/paste feature? Can I copy text from one application and paste it into another one?

Yes, however it is only available for text. You can do this in the Edit Field to copy/paste from one bada application/native application to another (bada app/native app). Double-clicking or long pressing on some text gives you this option.

7. Tell me can an application send an event to itself and capture it?

An application can send user events to itself using Osp::App::SendUserEvent() and capture the event using Osp::App::OnUserEventReceived().

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.

9. Do you know Samsung bada promises to support multitasking. What is the maximum number of bada applications that can run simultaneously?

Depending on the memory usage of applications and the physical memory size, the number of applications that can be run at the same time may vary somewhat.

10. How to make my application multitasking enabled?

You can do it in the project properties window as shown below:
Project Properties > bada build > Application Information > check the Multitasking checkbox.

Download Interview PDF

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.

12. How to bring a multitasking enabled application, to the foreground programmatically?

You can use the LaunchApplication() method with the current application's AppId to bring your app to the foreground.

13. Suppose My application needs to store the application state, even if it is being terminated by the system. How can I do this?

In such cases the checkpoint event is fired and bada provides an event listener (IAppCheckpointEventListener) for it. You can save your application state or context within the OnAppCheckpointing() callback method. You can also save your application sate on OnAppTerminating().

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.

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.

16. Tell me which version of OpenGL is supported?

Samsung bada supports OpenGLĀ® ES 1.1 and 2.0, which are subsets of the OpenGLĀ® 3D graphics API designed for embedded devices.

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.

18. How to emulate the storage card availability in the Emulator?

You can do this with the Event Injector. Right-click on Emulator > Event Injector > Device > MMC Insert.

20. Tell me what mechanisms are available to establish communications between two different applications?

Applications can communicate asynchronously through channels (ClientChannel and ServerChannel). Channels encapsulate the underlying IPC mechanism and communication is simplified through them.

21. How to change the locale? Is there an API for it?

Samsung bada does not support changing locales within an application. However, you can change the locale by changing the language in the Settings menu.

22. Suppose I have ISO 3166-1 country code information from a server. How do I convert it to a country name that is readable by a user ?

Construct a Locale object with the required country code and get the name of the country from the Locale object

For example:
Locale locale(LANGUAGE_ENG, COUNTRY_US);
Osp::Base::String countryName;
locale.GetCountryName(countryName);

23. Suppose I am unable to get any GPS data at my work location. What are the possible reasons?

GPS values are not sensed correctly in closed environments. Check the values in an open area.
Especially in indoor environments, GPS signals cannot be sensed. In that case, network positioning can help to get proper location data. Enable the network positioning option under Settings > Location > Network position.

24. Tell me can I rotate the map?

Yes. From SDK version 2.0 onwards, it is possible to rotate maps.

Download Interview PDF

25. Tell me can I set the image file path for markers and info windows?

Yes. It is possible to set the path of an image to show in an info window as well as for markers using the SetContent() method.