Android JSON显示在浏览器中,但不显示在移动应用程序中

Android JSON显示在浏览器中,但不显示在移动应用程序中,android,json,angularjs,cordova,Android,Json,Angularjs,Cordova,您好,我正在使用angularjs开发应用程序和 这是我使用的代码 <!DOCTYPE html> <html class="no-js" lang="en" ng-app="myBusStopApp"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />

您好,我正在使用angularjs开发应用程序和 这是我使用的代码

<!DOCTYPE html>
<html class="no-js" lang="en" ng-app="myBusStopApp">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>My bus stop - Real time data</title> 
    <link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">   
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.13/angular.min.js"></script>   
    <script type="text/javascript">
    angular.module('myBusStopApp', [])
.controller('myBusStopCtrl', ['$scope', '$http', function ($scope, $http) {
   // $scope.realTimeData;
    var url ='http://eaglenew.comoj.com/JsonReturn.php';
 //   var url = "http://reis.trafikanten.no/reisrest/realtime/getrealtimedata/3010435" + "?callback=JSON_CALLBACK";
    $http.get(url)
        .success(function(data){
            $scope.realTimeData = data;
        //console.log(data+"ddddddddddddddd");      
        });
}]);</script>
</head>
<body style="margin-top:2%;font-size:14px;font-family:Open Sans; padding-left:2%;padding-right:2%;">
<div ng-controller="myBusStopCtrl">
    <center>
    <div class="table-responsive" style="max-width:800px;">
    <table class="table table-striped">
        <thead>
            <tr class="info">
            <th>Bus#</th>
            <th>Destination</th>
            <th>Wait time</th>          
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="item in realTimeData">
                <td>{{item.id}}</td>
                <td>{{item.email}}</td>
                <td>{{item | json }}</td>            
            </tr>
        </tbody>
    </table>
</div>
</center>
</div>
</body>
</html>

我的公共汽车站-实时数据
角度。模块('myBusStopApp',[])
.controller('myBusStopCtrl',['$scope','$http',函数($scope,$http){
//$scope.realTimeData;
var url='1〕http://eaglenew.comoj.com/JsonReturn.php';
//变量url=”http://reis.trafikanten.no/reisrest/realtime/getrealtimedata/3010435“+”?回调=JSON_回调”;
$http.get(url)
.成功(功能(数据){
$scope.realTimeData=数据;
//日志(数据+“dddddd”);
});
}]);
公共汽车#
目的地
等待时间
{{item.id}
{{item.email}
{{item | json}}
在这段代码中,JSON数据显示在web浏览器中,但当我尝试在手机中启动此程序时,它不会显示任何数据

这是一个演示->

{{item.id}{{item.email}{{{item | json}}


控制台中不显示错误在这种情况下我能做什么请帮助我。。。。thanx提前

检查设备是否与Internet连接Internet是否在设备中可用您是否在webview上打开此链接………此权限在web浏览器中显示,但数据在移动应用程序中显示不正确我在问您如何在移动设备上打开此xml,如在wenview中打开或在内置浏览器中打开