使用osmDroid绘图API的Andr​​oid映射API、osmDroid、oid、Andr

由网友(热情喂给风)分享简介:我想用与离线和在线capabilites osmDroid地图API来Android的下发展地图应用,但我无法找到很多教程有关,所以如果任何一个有任何链接到使用osmdroid地图API脱机或联机教程。我有写一个小的应用程序只显示来自默认的提供者,但是,应用程序运行地图,地图没有显示(仅squers)什么是错的?在co...

我想用与离线和在线capabilites osmDroid地图API来Android的下发展地图应用,但我无法找到很多教程有关,所以如果任何一个有任何链接到使用osmdroid地图API脱机或联机教程。我有写一个小的应用程序只显示来自默认的提供者,但是,应用程序运行地图,地图没有显示(仅squers)什么是错的?在code:

I want to develope android mapping app using osmDroid mapping api with offline and online capabilites, but I couldn't find many tutorials about it, so If any one have any link to tutorials that use osmdroid mapping api offline or online. I have write a small app just to display the map from the default provider but, the application run but no map is displayed (only squers) what is wrong?? the code:

MapView map = new MapView(this, 256);
    map.setClickable(true);
    map.setBuiltInZoomControls(true);
    setContentView(map);

该控件显示!!!!!!

the controls are displayed!!!!!!

推荐答案

或许缺少INTERNET(或其他)在manifest文件权限?

Or maybe missing the INTERNET (or another) permission in the manifest file?

HowToUseJar

阅读全文

相关推荐

最新文章