Re: LSGetApplicationForURL() failed Error -10814

2013-04-29 Thread Jerry Krinock
On 2013 Apr 27, at 01:39, Dhiraj Bhor wrote: > I am developing an application tool that requires a function which will > give me users default browser name. See the two methods… +defaultBrowserBundleIdentifier +defaultBrowserDisplayName in here https://github.com/jerrykrinock/ClassesObjC/bl

Re: LSGetApplicationForURL() failed Error -10814

2013-04-29 Thread Nick Zitzmann
On Apr 27, 2013, at 2:39 AM, Dhiraj Bhor wrote: > This code works well when i am normal user. But when i ran same code as > super user, it give me error > > that > > > *LSGetApplicationForURL() failed. Error:(-10814)* > > > > Why this

LSGetApplicationForURL() failed Error -10814

2013-04-28 Thread Dhiraj Bhor
l when i am normal user. But when i ran same code as super user, it give me error that *LSGetApplicationForURL() failed. Error:(-10814)* Why this happened? I read about Launch Services Database. Now i am seeking for a solution to get default browser name. Is there no other way to get default