Share: jquery mobile development, phonegap accessing mobile app

Source: Internet
Author: User

Jquery Mobile:

1.Official introduction

A uniied, HTML5-based User Interface System for all popular mobile device platforms, built on the rock-solid jquery and jquery UI Foundation. its lightweight code is built with progressive enhancement, and has a flexible, easily themeable design.

Address: http://jquerymobile.com

2.Supports the following smartphone platforms

3. Building phonegap apps with jquery mobile

Phonegapis an HTML5 app platform that allows developers to author native applications with Web technologies and get access to APIs and app stores. applications are built as normal HTML pages and packaged up to run as a native application within a uiwebview or webview (A chromeless browser, referred to hereafter as a webview ). since phonegap is frequently used in conjunction with jquery mobile, we wanted to offer a few tips and recommendations to help you get staretd.

The initial application document is loaded by the phonegap application by a local file: // URL. this means that if you want to pull in pages from your company's remote server (phone home) You will have to refer to them with absolute URLs to your server. because your document originates from a file: // URL, loading pages or assets from your remote server is considered a cross-domain request that can be blocked in certain scenarios.

Your ability to access cross-domain pages from within a phone gap jquery mobile application is controlled by two key things:$. Support. CORSAnd$. Mobile. allowcrossdomainpages, And can also be influenced by the white list feature in later builds of phonegap.

Address: http://phonegap.com

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.