从 Air for iOs 应用程序发送到第二个应用程序的链接
我的问题很简单,在 de ios sdk 中,您可以为您的应用程序创建一个自定义 url 方案,在文档中简单说明如下:
NSURL *myURL = [NSURL URLWithString:@"todolist://www.acme.com?Quarterly%20Report#200806231300"];
[[UIApplication sharedApplication] openURL:myURL];
我的本机应用程序设置了这样的方案系统,但是,该应用程序必须是从空中调用 ios(flash)应用程序。我对堆栈的问题是,我如何从actionscript中调用这个url,并且(如果这不可能),我是否可以从ios应用程序内部本地执行此操作?
谢谢您的宝贵时间!
My question is simple, in de ios sdk you can create a custom url scheme for your application, simply illustrated in the docs as so:
NSURL *myURL = [NSURL URLWithString:@"todolist://www.acme.com?Quarterly%20Report#200806231300"];
[[UIApplication sharedApplication] openURL:myURL];
My native application has this such a scheme system set up, however, the app is going to have to be called from an air for ios (flash) application. My question to the stack is this, how would I call this url from actionscript, and (if this is not possible), is there anyway I can do this natively from inside the air for ios application?
Thank you for your time!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这应该只需要在 AS3 中使用 navigatorToURL 即可。
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/package.html?filter_flash=cs5&filter_flashplayer=10.2&filter_air=2.6#navigateToURL()
This should work just using navigateToURL within AS3.
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/package.html?filter_flash=cs5&filter_flashplayer=10.2&filter_air=2.6#navigateToURL()