Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 7, 2010, 03:22 AM   #1
robj
macrumors regular
 
Join Date: Dec 2009
Location: Madrid, Spain
Download files using iPad Safari. Protocol Plugin?

Hi!

I don't know if you have tested it, but when you want to download a file while you are browsing the web using the iPad's Safari, it shows you somethign like a webpage with a button to download the file using GoodReader.

Other way to do the same is to put a 'g' before the URL of the file you want to download, like in "ghttp://someserver.com/somefile.mp3"

I'm interested in how this work.

Is goodreader installing some kind of "protocol management plugin" in Safari?

How can GoodReader detect I'm downloading a file using Safari as It cannot be running in background?

Is There any way to add a plugin to Safari to intercept file downloads?

Thanks for your help
__________________
http://zbutton.wordpress.com
-- Blog de tecnología y programación
robj is offline   0 Reply With Quote
Old Jul 7, 2010, 05:02 AM   #2
robbieduncan
Moderator
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
Any application can register a URL protocol that it handles with the system. This is covered in the documentation. I suggest you take some time to read the entirety of the document I have linked to. All iPhone developers should have read it all and be familiar with it before even thinking about writing any code.
robbieduncan is offline   0 Reply With Quote
Old Jul 7, 2010, 06:02 AM   #3
robj
Thread Starter
macrumors regular
 
Join Date: Dec 2009
Location: Madrid, Spain
Quote:
Originally Posted by robbieduncan View Post
Any application can register a URL protocol that it handles with the system. This is covered in the documentation. I suggest you take some time to read the entirety of the document I have linked to. All iPhone developers should have read it all and be familiar with it before even thinking about writing any code.
Thank you for pointing me to that doc!

I love the Apple developer site (and its lovely to read it in the iPad also )

I read this doc long time ago and I couldn't remember that this info was within this doc
__________________
http://zbutton.wordpress.com
-- Blog de tecnología y programación
robj is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
SMB2 is the new default protocol for sharing files in OS X Mavericks Sky Blue OS X Mavericks (10.9) 41 Oct 14, 2013 06:21 PM
Safari 6.0.5 has no quicktime plugin Miguel Cunha OS X 10.8 Mountain Lion 0 Oct 8, 2013 04:28 PM
Download torrent files directly on the iPad getstuff4less iPad Tips, Help and Troubleshooting 1 Jun 7, 2013 05:45 AM
How to redirect download files in Safari to USB flash drive vigorito MacBook Pro 20 Mar 3, 2013 08:45 AM
Need help on clicktoflash extension and plugin on Safari 5.1.7 squaremon Mac OS X 10.7 Lion 4 Jul 18, 2012 10:56 AM

Forum Jump

All times are GMT -5. The time now is 04:30 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC