Re: Open my Application via safari
Re: Open my Application via safari
- Subject: Re: Open my Application via safari
- From: Yorh <email@hidden>
- Date: Thu, 2 Nov 2006 12:17:36 +0100
I searched a lot on the web and I found some answeres about it... but
none works for me.
I read something about LSRegisterURL() ... maybe I can use this
function to force LaunchServices to read and register my application?
I tried with a new app too (to check if this is a problem of my app
or a OS problem), and it doesn't works with other apps too... but my
Adium copy works great... so I'm making something wrong.
Let me explain my steps:
Changed info.plist file by hand
Clean all on xcode
Rebuild
Moved my application in /Applications folder
... but nothing changed if I go to check my launchservices I cannot
see my application listed...
I really need help
Thank you all
Yorh
On 02/nov/06, at 09:55, Yorh wrote:
Hi Mike,
Sigh... If I try to click on myApp:// link my app isn't launched.
If I check in my LaucheServices.plist I cannot find the new
definitions...
I cannot understand why.
Thank you
Yorh
On 01/nov/06, at 18:25, Mike Abdullah wrote:
So at the moment, does a link of the form myLink://something not
work at all? I mean there's two levels to which this can work:
1. The app simply launches but doesn't open anything
2. The app launches at gets content from the URL.
Is neither happening here, or have you reached level 1 and want to
progress to 2?
Mike.
On 1 Nov 2006, at 11:31, Yorh wrote:
Thank you for support,
I moved my built release in my Applications folder without any
success... I tried to increase the bundleversion but without any
other success too...
I can't understand why the Finder doesn't read my info.plist file :(
Anyone has some information about it?
Thank you all
Yorh
On 31/ott/06, at 19:06, Sherm Pendley wrote:
On Oct 31, 2006, at 12:20 PM, Yorh wrote:
Hello again,
I have in my info.plist file this:
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLIconFile</key>
<string>myApp</string>
<key>CFBundleURLName</key>
<string>my URL</string>
<key>CFBundleURLSchemes</key>
<array>
<string>myLink</string>
</array>
</dict>
</array>
But it seems wrong because if I have in a web page myLink://
something .... nothing happen :(
Where is the mistake?
Try copying your built app to a new folder. That should cause
Finder to read the app's Info.plist and update the Launch
Services database.
sherm--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden