javascript - AngularJS + jQuery + mobile angular ui + phonegap = fail -
I'm trying to create my first mobile app which I'm using: < Strong> AngularJS, Mobile Collier UI, jQuery and PhoneGrap .
My code:
& lt; ! Doctype html & gt; & Lt; Html & gt; & Lt; Top & gt; & Lt; Script src = "// ajax.googleapis.com/ajax/libs/angularjs/1.2.15/angular.min.js"></script> & Lt; Script src = "// ajax.googleapis.com/ajax/libs/angularjs/1.2.15/angular-route.min.js"></script> & Lt; Script src = "// ajax.googleapis.com/ajax/libs/angularjs/1.2.15/angular-touch.min.js"></script> & Lt; Script src = "// ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> & Lt; Link rel = "stylesheet" href = "/ mobile-angular-ui / dist / css / mobile-angular-ui-base.min.css" /> & Lt; Link rel = "stylesheet" href = "/ mobile-angular-ui / dist / css / mobile-angular-ui-desktop.min.css" /> & Lt; Link rel = "stylesheet" href = "/ css / demo.css" /> & Lt; Script src = "/ mobile-angular-ui / dist / js / mobile-angular-ui.min.js" & gt; & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body ng-app = "MyApp" ng-controller = "chief controller" & gt; Here is the HTML code & lt; Script & gt; All logic here & lt; / Script & gt; & Lt; / Body & gt; & Lt; / Html & gt;
All work fine in all browsers, but when I get PhoneGap from APK file and it has my Nexus 4 (< Strong> Android ) I white screen : * (
Seeing you at the beginning of the head tag
Comments
Post a Comment