Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 02-09-2010, 12:32 AM   #1 (permalink)
Registered Member
 
ama269's Avatar
 
Join Date: Jul 2009
Location: Austin, TX
Posts: 482
Default webView

I am using a webview in my app and I want to include a link on my website that goes to the iTunes Store/AppStore for my other apps that I've developed.

When I touch the link in the webview that is on my site, it does not exit the app and go to the linked app in the AppStore.

Any way to do this with a webView instead of exiting the app first to safari, THEN going to the AppStore?
__________________
Check out our app review & recommendation site: http://www.mobileappbreakfast.com

Site: http://www.mobilebuffaloapps.com

Twitter: http://twitter.com/#!/mobilebuffalo

Facebook: http://tinyurl.com/47ljsf2

Mobile Buffalo's Apps: http://tinyurl.com/2br3ul5
ama269 is offline   Reply With Quote
Old 02-09-2010, 12:57 AM   #2 (permalink)
simpsonaty Apps
 
simpsonaty's Avatar
 
Join Date: Dec 2009
Location: Australia
Posts: 93
Default

If you're using the iPhone Simulator, it won't work because there is no App Store/iTunes Store on the simulator. You will have to build the application to your device to test it out. From what I know, it should open iTunes/App Store when you click the link on the device.
__________________
http://simpsonatyapps.com
... yep, that's our site.
simpsonaty is offline   Reply With Quote
Old 02-09-2010, 08:23 AM   #3 (permalink)
Registered Member
 
ama269's Avatar
 
Join Date: Jul 2009
Location: Austin, TX
Posts: 482
Default

Quote:
Originally Posted by simpsonaty View Post
If you're using the iPhone Simulator, it won't work because there is no App Store/iTunes Store on the simulator. You will have to build the application to your device to test it out. From what I know, it should open iTunes/App Store when you click the link on the device.
Not using the simulator. I never test on that thing.

Anyone know?
__________________
Check out our app review & recommendation site: http://www.mobileappbreakfast.com

Site: http://www.mobilebuffaloapps.com

Twitter: http://twitter.com/#!/mobilebuffalo

Facebook: http://tinyurl.com/47ljsf2

Mobile Buffalo's Apps: http://tinyurl.com/2br3ul5
ama269 is offline   Reply With Quote
Old 02-09-2010, 08:56 AM   #4 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 556
Default

Hi:
You need to check how the device is reading the link. Sometimes webViews do not read them properly and you need to process the link first before sending the request to open the new web page.
Joseph
Joseph Nardone is offline   Reply With Quote
Old 02-09-2010, 12:38 PM   #5 (permalink)
Registered Member
 
ama269's Avatar
 
Join Date: Jul 2009
Location: Austin, TX
Posts: 482
Default

Quote:
Originally Posted by Joseph Nardone View Post
Hi:
You need to check how the device is reading the link. Sometimes webViews do not read them properly and you need to process the link first before sending the request to open the new web page.
Joseph
Ok - sorry for being slow...how would I go about doing so?
__________________
Check out our app review & recommendation site: http://www.mobileappbreakfast.com

Site: http://www.mobilebuffaloapps.com

Twitter: http://twitter.com/#!/mobilebuffalo

Facebook: http://tinyurl.com/47ljsf2

Mobile Buffalo's Apps: http://tinyurl.com/2br3ul5
ama269 is offline   Reply With Quote
Old 02-10-2010, 01:08 AM   #6 (permalink)
Registered Member
 
ama269's Avatar
 
Join Date: Jul 2009
Location: Austin, TX
Posts: 482
Default

Anyone?
__________________
Check out our app review & recommendation site: http://www.mobileappbreakfast.com

Site: http://www.mobilebuffaloapps.com

Twitter: http://twitter.com/#!/mobilebuffalo

Facebook: http://tinyurl.com/47ljsf2

Mobile Buffalo's Apps: http://tinyurl.com/2br3ul5
ama269 is offline   Reply With Quote
Old 02-14-2010, 11:58 PM   #7 (permalink)
Registered Member
 
ama269's Avatar
 
Join Date: Jul 2009
Location: Austin, TX
Posts: 482
Default

Ok - posting the answer to my own question just in case somebody else would like to know.

If you're using a webview inside your app, the link to one of your other apps that links to the app store should start with "itms"

The user will then be bounced into the iTunes store, then into the app store.

If it's in safari or another web browser, "http" works fine.
__________________
Check out our app review & recommendation site: http://www.mobileappbreakfast.com

Site: http://www.mobilebuffaloapps.com

Twitter: http://twitter.com/#!/mobilebuffalo

Facebook: http://tinyurl.com/47ljsf2

Mobile Buffalo's Apps: http://tinyurl.com/2br3ul5
ama269 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Stats
Members: 158,756
Threads: 89,201
Posts: 380,569
Top Poster: BrianSlick (7,129)
Welcome to our newest member, vietanh100989
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:16 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0