Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to include HTML file in PhoneGap

    • 0
    • 1
    • 1
    • 1
    • 0
    • 0
    • 0
    • 0
    • 1.30k
    Comment on it

    Follow the below steps to include a PhoneGap HTML file.-
    1-The format-detection this meta tag smiply disables the abilty for device.
    2- The msapplication-tap-highlight" meta tag is a only tag which disable tap highlighting for links.
    3-The "viewport" tag property controls the zoom level when the page is first loaded. The maximum-scale, minimum-scale, and user-scalable properties control how users are allowed to zoom the page in or out.

    scripts include -
    1-pubnub.min.js holds the heart of the javascript PubNub communication library.
    2-pubnub-crypto.min.js holds encryption features.
    3-angular.min.js allows us to use some awesome AngularJS features in our JS and HTML. Youll see the wicked consequences in a minute!
    4-pubnub-angular.js extends the pubnub functionalities for AngularJS.
    5-bootstrap.min.css to have that nice bootstrap look.


    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="msapplication-tap-highlight" content="no" />
    
    <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
    <script src="https://cdn.pubnub.com/pubnub.min.js"></script>
    <script src="https://cdn.pubnub.com/pubnub-crypto.min.js"></script>
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.8/angular.min.js"></script>
    <script src="http://pubnub.github.io/pubnub-angular/lib/pubnub-angular.js"></script>
    <link rel="stylesheet" href=  "https://netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css">
    
    <title>PubNub Angular Mobile Chat</title>
    
    </head>
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: