PDA

View Full Version : Send URL help




TheDozer
Oct 15, 2009, 07:35 AM
Hi all

I'm totally green on iphone dev but I'm learning slowly.

Can some kind soul please help me create an app with one button
that sends an URL "http://xxx.xxx.xxx.xxx/id=1" and does nothing more no return no nothing just sends the URL.

Please help me.

Cheers all.



KoolStar
Oct 15, 2009, 07:37 AM
It depends on what the button is to do, where is it sending the url?

TheDozer
Oct 15, 2009, 07:52 AM
nothig

or just for the fun of it change the button name

jeremy.king
Oct 15, 2009, 09:33 AM
NSURLConnection (http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSURLConnection_Class/Reference/Reference.html)

http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhone101/Articles/05_ConfiguringView.html

TheDozer
Oct 16, 2009, 03:21 AM
As I mention I'am new to this would someone care to post a code exampel
Please


Cheers'

dejo
Oct 16, 2009, 09:37 AM
As stated in the NSURLConnection Class Reference, you can find some sample code in the SeismicXML (http://developer.apple.com/iphone/library/samplecode/SeismicXML/index.html#//apple_ref/doc/uid/DTS40007323), Top Songs (http://developer.apple.com/iphone/library/samplecode/TopSongs/index.html#//apple_ref/doc/uid/DTS40008925), URLCache (http://developer.apple.com/iphone/library/samplecode/URLCache/index.html#//apple_ref/doc/uid/DTS40008061), and XMLPerformance (http://developer.apple.com/iphone/library/samplecode/XMLPerformance/index.html#//apple_ref/doc/uid/DTS40008094) sample apps.