简体   繁体   English

OTA问题iPhone

[英]OTA problem iphone

MIME type OTA(Over the AIR) for iphone.... iPhone的MIME类型OTA(空中)。

I have created simple application in iphone 3.0. 我已经在iPhone 3.0中创建了简单的应用程序。 I want to upload my exe(file) in local webservice. 我想在本地网络服务中上传我的exe(文件)。 Now i want to download this from that site and install in iphone .... 现在,我想从该站点下载此文件并安装在iphone中。

How can i did this ? 我该怎么做?

Is it possible ? 可能吗 ?

Can anyone help me? 谁能帮我?

Thanks in advance.............. 提前致谢..............

First, NO iPhone will run an EXE file. 首先,没有iPhone会运行EXE文件。

Second, NO iphone will allow an "install" like a computer would. 其次,没有iphone会像计算机那样允许“安装”。 You can bring files into your app, and your app can do what it likes with them, but you will not be able to install an entire app this way. 您可以将文件带入您的应用程序,并且您的应用程序可以对它们执行所需的操作,但是您将无法以这种方式安装整个应用程序。

Third, to answer your question, you can use 第三,回答您的问题,您可以使用

+[NSData dataWithContentsOfURL:]

to get the file from your server into the phone, then use this data to write to file, or do whatever you will. 以便将文件从服务器发送到手机中,然后使用此数据写入文件或执行任何操作。

You use Xcode to install your app. 您使用Xcode安装您的应用程序。 Not a webservice. 不是网络服务。 Why are you uploading and downloading? 为什么要上传和下载?

Brings me back to the question I asked you in your last (duplicate) post . 让我回到上一篇(重复的) 帖子中我问过的问题。

If you've switched to using iOS 4 since this post was created, you can distribute your apps wirelessly to devices. 如果自从创建此帖子以来您已切换到使用iOS 4,则可以将您的应用程序无线分发到设备。 See the "Installing Apps Wirelessly" section of this document: 请参阅本文档的“无线安装应用程序”部分:

http://developer.apple.com/library/ios/#featuredarticles/FA_Wireless_Enterprise_App_Distribution/Introduction/Introduction.html http://developer.apple.com/library/ios/#featuredarticles/FA_Wireless_Enterprise_App_Distribution/Introduction/Introduction.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM