Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.
Skinning / Themes Discussionforums, a part of the
Design and Media For the iPhone / iPod Touchsection;
Hi! I'm working on modifying an iPhone theme, and for one of the icons on the Springboard, I'm hoping to get it to launch to a specific website in Safari...
01-31-2012, 07:55 PM #1Launching a website directly from the Springboard?
I'm working on modifying an iPhone theme, and for one of the icons on the Springboard, I'm hoping to get it to launch to a specific website in Safari when pressed (as opposed to opening up an app or Safari in general). That is, I want to have a "Google News" button that I can press and it'll open Safari to that page.
Though I'm really new to this, I've learned a little bit about bundle identifiers, and was wondering if there's basically something I can change one to in order to achieve this?
If it's relevant, I'm using an iPod Touch 4g and the theme I'm modifying is Boxor HD.
01-31-2012, 09:09 PM #2
1) Go to the website you want it to open to in safari
2) tap the middle button with the arrow at the bottom of the safari browser
3) tap add to home screen
If this isnt what you want sorry lol thought it would help though
01-31-2012, 09:35 PM #3
Not quite. I do know how to do that for the standard springboard, but for a modified theme which basically uses its own custom icons I'm a little less sure.
Here's the Boxor webpage, you see how they have large icons for Camera, Gmail, etc? I'd like to set one so that, when pressed, it launches Safari to Google News.
Whereas for the others I can just change it to "launch <xxx>.<yyyy>.<zzzz>" to launch whatever app I want, I'm not sure how to set that (or anything else) so that it'll open up that URL in Safari.
01-31-2012, 09:41 PM #4
I'm in the process of learning dreamboard lol so I'm not too sure. I'll let you know if I find anything
02-08-2012, 01:10 PM #5
Still no real luck. I tried calling a function that at least launches Safari when clicked, but didn't have much luck with that either.
<dict> <key>Actions</key> <array> <string>function openURLp</string> </array> <key>Frame</key> <string>165,295,145,100</string> <key>Image</key> <string>$ROOT/SBicons/News.png</string> <key>ViewType</key> <string>Button</string> </dict>
<key>OpenURLp</key> <array> <string>launch com.apple.mobilesafari</string> </array>
02-08-2012, 01:25 PM #6
02-10-2012, 03:08 PM #7
So I tweaked the function slightly and now it does open up Safari. Now I just need to set it to open up the specified URL.