Awesome
<!-- # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. # -->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
- Download Source Code (clone the repository)
- Import in bada C++ IDE
- Put your HTML/CSS files in the Res/ folder
- Run cordova.bat under Res/cordova directory
- Build&Run!
Running in the simulator
- Right click on your project and select Build Configuration => Set Active => Simulator Debug in the Bada IDE
- Build&Run
Running on a target device
- Follow instructions
- 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).
- Right click on your project and select Build configuration => Set Active => Target Debug in the Bada IDE
- 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!