Erica Sadun, TUAW.com editor has created a utility to launch a single URL from a SpringBoard icon of iPhone’s menu. She has managed to develope so called URL Launcher kit. You can download this kit HERE and then customize it with your unique icon and URL address.
![]()
This is step-by-step manual to create your own home screen URL launcher.
Surf to the Natetrue’s Open URL page and download the OpenURL package Version 0.1. And follow this manual:
1. Unpack the OpenURL tar to retrieve the OpenURL.app bundle.
2. Inside the OpenURL.app folder, edit the icon.png file to reflect your brand identity. This icon appears on the home SpringBoard screen so make it look pretty and consistent with the overall look of the other icons.
3. Edit Info.plist with a unique string. It defaults to com.sadun.ReplaceThis. Change it to something different.
4. Edit url.txt and replace the current URL (http://waiterrant.net, a favorite of mine) with the URL you want to launch.
5. Rename OpenURL.app to the name you want to appear in SpringBoard, e.g. MyBrand.app.
6. Repackage the app and distribute.
The main idea: OpenURL tool look inside the url.txt file for a URL, then reads it in and launches Safari with this URL, that’s it.
I have to note that you cannot use openURL utility to bypass Safari’s 8 tabs limit. When 8 tabs are opened, Safari launches and displays an alert saying “Could not open a new page because there are too many pages open.” Tap OK to dismiss.”
Fortunately, the iPhone supports the NSBundle class. With it, you can tell it to look in the top-level folder of the bundle for a file named url with a txt extension:
basepath = [[NSBundle mainBundle] pathForResource:@”url” ofType:@”txt” inDirectory:@”/”];
Once read in, use the whitespace and newline NSCharacterSet to trim any extraneous spaces and new lines from the edges of the URL:
urlstring = [[NSString stringWithContentsOfFile:basepath encoding:1 error: error] stringByTrimmingCharactersInSet: [NSCharacterSet whitespaceAndNewlineCharacterSet]];
Finally, create an NSURL from that string and open it:
baseurl = [[NSURL alloc] initFileURLWithPath:urlstring];
[self openURL:baseurl];
Big thanks to TUAW
9 Responses
musfeatte
December 15th, 2007 at 1:44 pm
1Keep up this great resource
Sites
Julleylop
December 16th, 2007 at 1:01 pm
2This is a cool site! Thanks and wish you better luck! Brilliant but simple idea.
Cool sites
poelveviedo
December 18th, 2007 at 1:55 am
3Your site was so interesting and informative I had to call a friend to tell her about it. Great work
Links
suptupspentee
December 18th, 2007 at 4:54 am
4The site’s very professional! Keep up the good work!
Links
a195eda3ea2c3aa02aff
December 20th, 2007 at 9:59 am
5a195eda3ea2c3aa02aff…
a195eda3ea2c…
slultlazy
December 29th, 2007 at 1:32 pm
6That was a very nice post, I’m proud of you!
More about success
davepat
April 6th, 2008 at 2:32 am
7Wow ) I found nice site -> Sammie Rhodes
Valentine
April 8th, 2009 at 11:48 am
8He rised. ,
GomoTratrygot
March 6th, 2010 at 1:01 pm
9[url=http://seghan.ru/go.php?sid=2][img]http://s07.radikal.ru/i180/1001/f5/15318eb84fd2.gif[/img][/url]
[url=http://seghan.ru/go.php?sid=29][img]http://s39.radikal.ru/i083/1001/1b/ab89b0b9298b.jpg[/img][/url]
[u][b]Clarithromycin tablet[/b][/u]
[u]What is this medicine?[/u]
CLARITHROMYCIN is a macrolide antibiotic. It stops the excrescence of some bacteria. It is used to handling of many kinds of infections, like appreciation, respiratory, and lamina infections. It commitment not exertion for colds, flu, or other viral infections.
[u]What should I narrate my health mindfulness provider ahead I withstand this medicine?[/u]
They scarcity to be versed if you be experiencing any of these conditions:
•bowel complaint, like colitis
•strange heartbeat or insensitivity murrain
•kidney complaint
•liver malady
•an unusual or allergic reaction to clarithromycin, other macrolide antibiotics, other medicines, foods, dyes, or preservatives
•enceinte or trying to retrieve weighty
•breast-feeding
[url=http://seghan.ru/go.php?sid=29][img]http://i035.radikal.ru/1001/ba/4595c629bb94.jpg[/img][/url]
[url=http://community.v2home.co.uk/members/buy_2D00_biaxin.aspx]when does biaxin eliminated from body [/url]
when does biaxin leave the body when does biaxin leave the system when is biaxin eliminated from body
RSS feed for comments on this post · TrackBack URI
Leave a reply
First Unofficial Apple iPhone 3G manual
iPhoneGap Recommend
Probably The Best iPhone Unlocking Solution
Partners
Recent Posts
iTags
3g accelerometer Amp apple Apple Iphone Apple iPhone News application applications Blog Blog Archive business clone CNET design developers fun gadget game games google hack installer.app internet iphone iphone apps iPhone News Iphones ipod Ipod Touch itunes Magic Nbsp Odds And Ends os phone-atlas photo photos review Ru rumors russia software Stocks technology videoiCalendar
iArchive
Subscribe to My Latest News
Categories
Recent Comments
Blogroll
Gadget Code
iPhone pasaule
Ziedi
My Community
iMeta
is proudly powered by WordPress - Men Gadgets theme by: FunPics