我开始创建一个类似于layar的应用程序,我知道它非常棘手。但是从我得到的例子中,所有信息都是从诸如以下的页面中检索出来的。
OR
我的问题是这些页面中包含的内容,我想创建自己的页面,包含我选择的GEO位置,你能给我一个完整的例子来说明这些.json文件中包含的内容以及我应该用来从Android应用程序拨打电话的网址。
谢谢。
答案 0 :(得分:1)
这是完整的a.json文件;
{
"status": "OK",
"num_results": 3,
"results": [
{
"id": "2827",
"lat": "43.246061",
"lng": "-79.807346",
"elevation": "32.29999923706055",
"title": "Penegal",
"distance": "9.756",
"has_detail_page": "1",
"webpage": "http%3A%2F%2Fwww.buiud.com"
},
{
"id": "2821",
"lat": "43.546095",
"lng": "-79.807346",
"elevation": "0",
"title": "Gantkofel",
"distance": "9.771",
"has_detail_page": "0",
"webpage": ""
},
{
"id": "2829",
"lat": "43.446095",
"lng": "-79.807346",
"elevation": "21",
"title": "Roen",
"distance": "17.545",
"has_detail_page": "1",
"webpage": "http%3A%2F%2Fwww.suedtirolerland.it%2Fapi%2Fmap%2FgetMarkerTplM%2F%3Fmarker_id%3D2829%26project_id%3D15%26lang_id%3D9"
}
]
}
像魅力一样!