Page 1 of 2 12 LastLast
Results 1 to 10 of 11
Discuss [Req] Is it possible to launch an app from a Safari link ? at the Free Toolchain Software (Cydia App's) - Hackint0sh.org; I only use a scant few third party apps (only one regularly), and am paranoid ...
  1. #1
    Professional Array

    Join Date
    Aug 2007
    Posts
    53
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    9

    Default [Req] Is it possible to launch an app from a Safari link ?

    I only use a scant few third party apps (only one regularly), and am paranoid enough about it to want to make it look completely unhacked. Summerboard is too easily noticed if your fingers slide a little, Dock.app launches mistakenly when I try to press the tabs button in safari.. and I can't really think of any other way of hiding applications...

    I therefore wonder whether it is possible to install some sort of application onto the iphone that watches for a certain url prefix, say.. launch:// or whatever, and launches the relevant application if the link is followed. For instance launch://Installer.app would launch installer.app.

    This way Safari's bookmarks page could be used as an application launcher, and noone would ever be the wiser.

    I hear PXL manager has a similar system whereby pxl:// are noticed and acted on.

    Thoughts?

    PS. I know I'm paranoid



  2. #2
    Professional Array

    Join Date
    Sep 2007
    Posts
    76
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    Paranoid about what? o_O

    Secret AT&T police dropping from a black helicopter and giving you a painful spank with a rolled up phone bill? Steve Jobs coming up a manhole and demanding you surrender your toy because you've used it the way YOU want, not the way he wants? Squads of apple "geniuses" ambushing you behind the corner, restraining you and forcefully updating your iPhone to 1.1.1?

  3. #3
    Professional Array

    Join Date
    Aug 2007
    Posts
    53
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    9

    Default

    Quote Originally Posted by orcinus View Post
    Paranoid about what? o_O

    Secret AT&T police dropping from a black helicopter and giving you a painful spank with a rolled up phone bill? Steve Jobs coming up a manhole and demanding you surrender your toy because you've used it the way YOU want, not the way he wants? Squads of apple "geniuses" ambushing you behind the corner, restraining you and forcefully updating your iPhone to 1.1.1?
    Er.. I just want to make it so that if my iPhone seizes up, it all looks unhacked. It's paranoid sure, but not ridiculous. It means if my iPhone freezes when I'm out and about I can take it straight to an apple store and get service.

    Also, this'd be a neat feature all round. You could have websites that linked you directly back to your homescreen.
    Last edited by mnit; 10-09-2007 at 12:43 AM.

  4. #4
    Professional Array

    Join Date
    Sep 2007
    Posts
    76
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    Why not just hook it up to the nearest computer (not necessarily yours), install itunes and give it a full software/firmware restore? That way all you have to carry with you is an iPhone cable

  5. #5
    Professional Array

    Join Date
    Aug 2007
    Posts
    53
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    9

    Default

    Quote Originally Posted by orcinus View Post
    Why not just hook it up to the nearest computer (not necessarily yours), install itunes and give it a full software/firmware restore? That way all you have to carry with you is an iPhone cable
    Ah but you see, I'm not on a legitimate iPhone plan, in fact I'm not even on AT&T, so if I did that it'd ask me to activate and I'd have to break out iNdependence to reactivate. And who wants to carry a cable with them anyway.

    Lets not let this become a discussion of the WHYS please. I want HOWS.


  6. #6
    Professional Array

    Join Date
    Sep 2007
    Posts
    76
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    I'm afraid opening executables from the browser is not allowed. That is, even if access to the local filesystem (i.e. through file://) wasn't forbidden, it still wouldn't work.

    Except (i'm guessing) if someone were to write an app that could handle a MIME type for a file that would contain an application name, then read that file and run what it says. But that would still require you putting a site with the links and files somewhere on the web... Unless you'd install Apache on your iPhone and make it local.

  7. #7
    Professional Array

    Join Date
    Aug 2007
    Posts
    53
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    9

    Default

    I'm lacking proper terminology, but all thats happening here is the plugin watches for a launch:// URL being browsed to (or attempting to be browsed to, as it doesnt exist), and if so runs the script to check for the body of the URL in the Applications folder. If it's found it opens it, if not it gives the warning.. Just as the pxl plugin detects the pxl:// prefix and passes the body of the URL (in this case a real URL) to the pxl application residing on the phone, except this doesn't actually need the internet to work.

    Unless of course I'm misunderstanding how these plugins work, and they require a functional URL, not just an attempt to visit one.
    Last edited by mnit; 10-09-2007 at 01:28 AM.

  8. #8
    Professional Array

    Join Date
    Sep 2007
    Posts
    76
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    What PXL safari plugin? Safari can't open .PXL files. At least AFAIK.

    If you've meant adding PXL repositories via web browser, that's a different story. Installer.app is registered as the opener for MIME filetype application/x-apptapp-repository. When Safari runs into a file with that MIME type, it fires up Installer.app and passes it to it. But all that occurs via a normal HTTP protocol, i.e. there is no "pxl://" prefix/protocol or anything similar.
    Last edited by orcinus; 10-09-2007 at 01:36 AM.

  9. #9
    Professional Array

    Join Date
    Aug 2007
    Posts
    53
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    9

    Default

    ah so there isn't, I'd mistakenly thought it worked like the adium xtras links do, and the tel:// links in mobile safari. Ah well

  10. #10
    Professional Array

    Join Date
    Sep 2007
    Posts
    76
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    But like i said, it would still be possible (theoretically, never coded anything for the iPhone, at least yet , so i don't really know).

    You could have a web site with links to a file, i.e. "http://www.mysite.com/Finder.lnk", then have an app that registers itself as a handler for the .lnk filetype (or an equivalent MIME type). When you click on the link, the app opens, reads the .lnk file (which would containt just one line, "Finder.app", for example) Safari passes it, and runs the first application named "Finder.app".

    But, like i said, that would require having a web page with links to all your applications somewhere. Either on-line, or on the phone itself (served by Apache).


 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 07-13-2010, 08:50 PM
  2. How to launch safari in the terminal of iphone
    By quietbamboo in forum iPhone 3G
    Replies: 3
    Last Post: 10-12-2008, 02:28 AM
  3. D-Link IP Camera on Safari? Possible?
    By asasino in forum iPod Touch 1G
    Replies: 1
    Last Post: 01-03-2008, 11:00 PM
  4. Launch a URL in Safari
    By jaminguy in forum Free Toolchain Software (Cydia App's)
    Replies: 0
    Last Post: 11-29-2007, 02:26 AM
  5. email a link from Safari, link is cut off
    By aerohunter in forum General
    Replies: 0
    Last Post: 10-16-2007, 07:49 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 06:56 AM.
twitter, follow us!