If you are an Mobile OS expert then this is for you. Let us know if you looking for a job change? Then do not worry, we’ve a right answer for your job interview preparation. If you are preparing for Bada Mobile OS job interview then go through Wisdomjobs interview questions and answers page. Bada Mobile OS is the OS of Korean mobile devices. Bada means ocean in Korean. This OS is used in many high end configure mobile devices. Though this is not currently producing but company is re launching the product with extra features. Recruitment is on for this technology and is currently high in market. Below are the Bada Mobile OS interview questions and answers which makes you comfortable to face the interviews:
Question 1. Can I Set The Image File Path For Markers And Info Windows?
Answer :
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.
Question 2. Can I Rotate The Map?
Answer :
Yes. From SDK version 2.0 onwards, it is possible to rotate maps.
Answer :
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.
Answer :
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);
Question 5. How To Change The Locale? Is There An Api For It?
Answer :
Samsung bada does not support changing locales within an application. However, you can change the locale by changing the language in the Settings menu.
Answer :
Applications can communicate asynchronously through channels (ClientChannel and ServerChannel). Channels encapsulate the underlying IPC mechanism and communication is simplified through them.
Answer :
If you want to check for a file in the Home folder, use File::IsFileExist().
Question 8. How To Emulate The Storage Card Availability In The Emulator?
Answer :
You can do this with the Event Injector. Right-click on Emulator > Event Injector > Device > MMC Insert.
Question 9. How To Secure Or Encrypt My Files And Databases?
Answer :
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.
Question 10. Which Version Of Opengl Is Supported?
Answer :
Samsung bada supports OpenGL® ES 1.1 and 2.0, which are subsets of the OpenGL® 3D graphics API designed for embedded devices.
Question 11. How To Insert Emoticons In Text?
Answer :
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.
Question 12. How To Support Multiple Languages?
Answer :
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.
Answer :
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().
Question 14. How To Bring A Multitasking Enabled Application, To The Foreground Programmatically?
Answer :
You can use the LaunchApplication() method with the current application's AppId to bring your app to the foreground.
Question 15. How To Change My Application Settings?
Answer :
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.
Question 16. How To Make My Application Multitasking Enabled?
Answer :
You can do it in the project properties window as shown below:
Project Properties > bada build > Application Information > check the Multitasking checkbox.
Answer :
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.
Answer :
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.
Question 19. Can An Application Send An Event To Itself And Capture It?
Answer :
An application can send user events to itself using Osp::App::SendUserEvent() and capture the event using Osp::App::OnUserEventReceived().
Answer :
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.
Answer :
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.
Question 22. Which Game Engine Has Been Ported To Bada?
Answer :
AirPlay, a 3D game engine, has been ported to bada, and is now available for you to use.
Question 23. How To Do A Screenshot In Bada?
Answer :
Screenshots: Home (OK) key + hold key press (press Home key first)
Screenshots are located in /media/images.
Question 24. How To Get Descriptions For Error Codes?
Answer :
Right-click on the Emulator and select "Error Lookup". Enter the error code number to get the description of the error code.
Question 25. What You Know About Bada?
Answer :
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.
Question 26. How To Upgrade My Firmware?
Answer :
You can upgrade your firmware by connecting your phone to Kies.
Answer :
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:
Question 28. How To Load A Local Html File On The Device With A Web Control?
Answer :
Samsung bada currently supports the "/Home" virtual path, which is readable and writable, as well as the "/Res" virtual path, which is readable for loading local HTML files. Make sure to store local HTML files in the Home or Res folder as per your (reading and writing) requirements, and specify the file path as "/Home/ .html" or "/Res/ .html".
Answer :
Create a new ScrollPanel and attach it to a Form; the corresponding ScrollPanel resource is automatically created. Double-clicking the ScrollPanel allows you to then edit the ScrollPanel resource.
Question 30. What Types Of Layout Are Supported?
Answer :
The following layouts are supported:
Question 31. How To Find The Heap Memory Usage For The Currently Running Application?
Answer :
You can get the available heap memory using the Osp::System::RuntimeInfo class.
Question 32. How To Check The Firmware Version On A Test Phone?
Answer :
Currently there is no method to do this. However, you can check the firmware version of your device by going to Settings > General > About Phone > Version.
Question 33. How To Make The Result Of Getmaxtransactioncount() Larger Than One?
Answer :
When constructing a session, instead of using NET_HTTP_SESSION_MODE_NORMAL, use NET_HTTP_SESSION_MODE_PIPELINING.
For example:
r = pSession->Construct(NET_HTTP_SESSION_MODE_PIPELINING, &proxyAddr, hostAddr, null);
Question 34. How To Get The Subnet Mask?
Answer :
Use the Osp::Net::NetConnectionInfo::GetSubnetMaskAddress() method to get the subnet mask.
Question 35. How To Get The Ip Address Of A Device (both Dynamic Ip And Static Ip)?
Answer :
You can use NetConnectionInfo::GetLocalAddress() to get the IP addresses (both).
Question 36. Explain What Are The Different Http Session Modes?
Answer :
HTTP supports NORMAL and PIPELINING session modes. All transactions within these sessions are submitted through the same connection. While only one transaction is processed at a time in normal mode, multiple transactions can be pipelined in pipelining mode. In normal mode, you must wait for the end of the previous transaction in order to submit the next transaction.
Question 37. How To Enable Http Chunked Mode?
Answer :
Question 38. Can We Use The Local Loopback (127.0.0.1)?
Answer :
Samsung bada does not support it out of the box. However, if you create a socket with your own system IP address, that can act like the local loopback for you.
Question 39. Explain Does Bada Provide Apis For Ssl, Encryption, And Decryption?
Answer :
Applications can create secure connections by using the Osp::Net::Http class and Osp::Net::Sockets::SecureSocket class. The SecureSocket class uses the SSL protocol to make connections.
The Osp::Security namespace provides all the encryption and decryption classes.
Question 40. How To Simulate Locations?
Answer :
Right click on the Emulator and select Event Injector > Locations
You can provide the input as a text file or select points on the map.
To use a text file:
To use the map:
I built the 'Navigator' sample and tried to test it in the Emulator. The program seems to work, but it could not render the map.To use the default location service, the client name and password must be provided in the ROUTE_SVC_EXTRA_INFO defined in the NavigatorConstants.h file.
Question 41. How To Zoom In And Zoom Out On The Map?
Answer :
You can zoom in by double tapping and zoom out can with 2-finger touch. Pinch-to-zoom (multi-touch) is supported for both zoom in and zoom out.
Answer :
From 2.0 onwards, you do not need to use the deCarta ads library for free maps. Instead, you can use the Ad namespace with Navteq for the advertising network. In this case, the only privilege needed is AD_SERVICE.
Question 43. Is There Any Way For Bada To Set Gps Info While Capturing?
Answer :
Yes. Samsung bada provides a method to set GPS information. Use the SetExifGpsCoordinates() method to set GPS coordinates in the EXIF field in the captured data.
Question 44. Can I Use Ui Builder To Design Map Applications?
Answer :
Yes, from bada version 2.0 onwards, the map control is available in UI Builder.
Bada Mobile OS Related Tutorials |
|
---|---|
Android Tutorial | Mobile Testing Tutorial |
Javascript Advanced Tutorial | Mobile computing Tutorial |
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.