Git Product home page Git Product logo

jqm-cordova-template-project's Introduction

jqm-cordova-template-project

A cordova project using jQuery Mobile suitable for starting a new app. Learn how this template works on http://app-o-mat.com

Pre-requisites

A working cordova toolchain with your platforms set up. See http://cordova.apache.org for installation instructions

Dependencies

This template includes all dependencies in www/lib. They are:

Instructions

  1. Create your cordova app normally

    cordova create yourapp com.example.yourapp 'Your App'
    cd yourapp
    
    # recommended minimal plugins
    cordova plugin add org.apache.cordova.console
    cordova plugin add org.apache.cordova.dialogs
    cordova plugin add org.apache.cordova.splashscreen
    cordova plugin add org.apache.cordova.statusbar
    
    # add platforms 
    cordova platform add ios
    cordova platform add android
  2. Copy the www subdirectory from this project, overwriting the default one

  3. Edit www/config.xml (follow the comments). Match widget id to the one in cordova create. [Note: for Cordova 3.5, the config.xml was moved from www to the root of the project. In 3.5, move the one from www over the one in the project root, and then edit it there]

  4. Run the app

    # In a browser
    cordova serve
    # Then, navigate to http://localhost:8000/ios/www/ (replace `ios` with any platform you installed)
    
    # In an emulator (replace `ios` with an installed platform)
    cordova emulate ios
    
    # On the device (replace `ios` with an installed platform)
    cordova build ios
    cordova run ios

jqm-cordova-template-project's People

Contributors

loufranco avatar jstncarvalho avatar

Watchers

Ming Chen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.