English 中文(简体)
How to write a WOL app for iPhone? [closed]
原标题:

Closed. This question needs to be more focused. It is not currently accepting answers.


Want to improve this question? Update the question so it focuses on one problem only by editing this post.

Closed 9 years ago.

Wake on LAN so cool, just want to write a iPhone app to WOL my PC, but have no idea to code, any one can point me the way?

问题回答

If you ve no experience of programming, then this is a very large first step. (More of a sheer vertical incline really.)

As such, you might want to take a step back and have a look a some basic (or indeed BASIC) programming tutorials. (Google is your friend.)

Alternatively, Apple has good online documentation regarding Objective C and the Cocoa (the language and framework that iPhone applications are written in.) A good place to start for this would be Apple s Introduction to The Objective-C Programming Language.

Basically you need to send a magic packed as described here, to do that you ll need basic programming knowledge and some knowledge on socket programming, here is a good book on the subject. There are numerous examples of that.

But in the end perhaps I could persuade you to purchase one of several iPhone applications that do exactly that, or grab the free one?

You ll need an understanding of bsd sockets as well as the user interface kit framework to put the necessary controls on the screen.

Or of course download an existing free app like this one which does it already, automatically detects your mac address, and also tells you whether your machines are on or off:

http://itunes.apple.com/us/app/wake/id396566137?mt=8

All the best for your projects.





相关问题
Code sign Error

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

• 如何将搜查线重新定位?

我正试图把图像放在搜索条左边。 但是,问题始于这里,搜索条线不能重新布署。

热门标签