[DEPRECATED] Apache Cordova bada

Clone this repo:
  1. 908a67d deprecation notice by Jan Piotrowski · 1 year, 5 months ago master
  2. 954520b Add github pull request template by Shazron Abdullah · 4 years ago
  3. a985b6e CB-6830 Add missing license by Marcel Kinard · 6 years ago
  4. c8fc906 CB-6818 Add license for CONTRIBUTING.md by Marcel Kinard · 6 years ago
  5. 07d3551 CB-6491 add CONTRIBUTING.md by Marcel Kinard · 6 years ago

Cordova implementation for Samsung Bada


📌 Deprecation Notice

This repository is deprecated and no more work will be done on this by Apache Cordova. You can continue to use this and it should work as-is but any future issues will not be fixed by the Cordova community.

Feel free to fork this repository and improve your fork. Existing forks are listed in Network and Forks.


DISCLAIMER: THIS IMPLEMENTATION DOES NOT WORK WITH THE BADA 2.x SDK. ONLY 1.2 is supported BY THIS IMPLEMENTATION!

Support for: Acceleration, Geolocation (native and browser), Network, Device, Compass, Camera

Missing support: File

Steps to build a Cordova app

  1. Download Source Code (clone the repository)
  2. Import in bada C++ IDE
  3. Put your HTML/CSS files in the Res/ folder
  4. Run cordova.bat under Res/cordova directory
  5. Build&Run!

Running in the simulator

  1. Right click on your project and select Build Configuration => Set Active => Simulator Debug in the Bada IDE
  2. Build&Run

Running on a target device

  1. Follow instructions
  2. Generate a new app on developer.bada.com, download the manifest.xml file and put it in the root dir of your app (overwriting the existing one).
  3. Right click on your project and select Build configuration => Set Active => Target Debug in the Bada IDE
  4. Build&Run

Known Issues with target devices:

Issue 1

Console shows ERROR and app doesn't install and run

Install Samsung Kies that somehow updates the drivers and makes it magically work.

Issue 2

Target already launched Make sure it is not already launched :) Click on console and press the red square and/or quit the app from the phone If it is but you still get the error message, close and restart the Bada IDE.

KNOWN ISSUE

alerts in callbacks freeze the application. DO NOT USE ALERT DIALOGS IN YOUR CALLBACKS

Happy Coding!