小编Mah*_*abu的帖子

如何将本地保存的xml文件保存到.plist文件中

我需要根据节点编写和更新XML文件.

为此,我发现我需要将本地XML文件转换为plist文件.

然后我可以根据需要更新,读取和写入plist文件.

但我没有找到任何关于此的示例代码.

任何人都可以发布一些代码,关于如何将本地xml文件保存到plist文件中

如何读取,写入和更新本地保存的plist文件

xml iphone objective-c plist

11
推荐指数
1
解决办法
1095
查看次数

使用第三方移动应用程序开发工具开发的应用程序是否为各自市场所接受

我正在尝试实现支持android,iphone,blackberry,windows mobile,symbian,webos(palm)的应用程序.

为此我在这里使用第三方应用程序.

然而,经过研究,我发现Android市场不接受在总交叉工具上开发的应用程序.

同样的iphone使用在总交叉移动设备上完成的应用程序必须被监禁.

所以,现在我很困惑的是,那些使用第三方移动应用程序开发工具开发的移动应用程序是可以接受他们受尊敬的marckets.

例如,如果我在android上使用phonegap工具开发应用程序,android市场会接受该应用吗?

iphone mobile android mobile-phones

6
推荐指数
1
解决办法
327
查看次数

聊天功能的框架,支持所有移动平台和.net Web应用程序

我们的应用程序与移动应用程序集成Web.

在iPhone,Android,黑莓,Windows手机中开发.net和移动应用程序中的Web应用程序.

现在我的要求是我需要在Web应用程序和移动应用程序之间提供聊天设置.

我发现xmpp框架,但我不知道所有移动平台都支持xmpp.我正在检查xmpp不支持iphone 3.0模拟器,而我正在执行相同的框架,它可以解决iphone 4.0中的任何错误.

专家可以为我的问题建议解决方案,这是支持我的要求的最有效的框架.

非常感谢你

asp.net iphone mobile android windows-mobile

6
推荐指数
1
解决办法
530
查看次数

在运行我的应用程序时预先验证类错误

我正在尝试运行示例项目,但我在控制台上收到此错误,并且应用程序未运行.我不明白这个错误意味着什么.

Packaging project ScheduleAir
C:\Eclipse\plugins\net.rim.ejde.componentpack4.5.0_4.5.0.28\components\bin\rapc.exe -quiet codename=deliverables\Standard\4.5.0\scheduleair deliverables\Standard\4.5.0\scheduleair.rapc -sourceroot=C:\Documents and Settings\20041\workspace\ScheduleAir\src\com\intellisoft\schedule_air;C:\Documents and Settings\20041\workspace\ScheduleAir\src;C:\Documents and Settings\20041\workspace\ScheduleAir\res -import=C:\Eclipse\plugins\net.rim.ejde.componentpack4.5.0_4.5.0.28\components\lib\net_rim_api.jar C:\Documents and Settings\20041\workspace\ScheduleAir\bin
Error preverifying class com.intellisoft.schedule_air.AppSettingScreen
    VERIFIER ERROR com/intellisoft/schedule_air/AppSettingScreen.()V:
Illegal type in constant pool
Error!: Error: preverifier failed: C:\Eclipse\plugins\net.rim.ejde.componentpack4.5.0_4.5.0.28\components\bin\preverify.exe -d C:\DOCUME ...
Packaging project ScheduleAir failed (took 0.437 seconds) 

blackberry java-me

5
推荐指数
1
解决办法
2158
查看次数

找出两个地方之间的路线数量

我需要使用Google maps API找出从源到目的地的路线数量,然后找出哪一条是最短的路线.

我可以使用此代码获得一个路由

-(NSArray*) calculateRoutesFrom:(CLLocationCoordinate2D) f to: (CLLocationCoordinate2D) t {
    NSString* saddr = [NSString stringWithFormat:@"%f,%f", f.latitude, f.longitude];
    NSString* daddr = [NSString stringWithFormat:@"%f,%f", t.latitude, t.longitude];

    NSString* apiUrlStr = [NSString stringWithFormat:@"http://maps.google.com/maps?output=dragdir&saddr=%@&daddr=%@", saddr, daddr];
    NSURL* apiUrl = [NSURL URLWithString:apiUrlStr];
    NSLog(@"api url: %@", apiUrl);
    NSString *apiResponse = [NSString stringWithContentsOfURL:apiUrl];
    NSString* encodedPoints = [apiResponse stringByMatching:@"points:\\\"([^\\\"]*)\\\"" capture:1L];

    return [self decodePolyLine:[encodedPoints mutableCopy]];
}
Run Code Online (Sandbox Code Playgroud)

但是我无法获得多条路线.

我是新手使用Google Maps API; 我按照本教程.

我怎样才能做到这一点?任何人都可以发布一些示例代码或教程吗?

cocoa-touch google-maps objective-c core-location ios

5
推荐指数
1
解决办法
2951
查看次数