• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Bundle identifiers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bundle identifiers


  • Subject: Bundle identifiers
  • From: "Yves Peneveyre" <email@hidden>
  • Date: Sat, 11 May 2002 09:51:30 +0200

Hello all !

I would like to launch an application with its bundle identifier.
Or, at least, I would like to know where is the application corresponding to
a bundle identifier.

I tried to use the Core Foundation but it does not work.
For example, I tried the following code :

CFBundleRef myBundle;
CFURLRef myRef;

myBundle = CFBundleGetBundleWithIdentifier(CFSTR("com.apple.calculator"));
myRef = CFBundleCopyBundleURL(myBundle);

In this code, CFBundleGetBundleWithIdentifier return a null value.
Why ?
And, finally, does it exist a way to do that with Cocoa ?


Thank you very much for your help.

Best Regards

Yves Peneveyre

----------------------------------------------------------------
Yves Peneveyre direct line : ++41 21 802 5754
Software Engineer fax : ++41 21 802 5751
LooKware development Ltd phone : ++41 21 802 5750
6B, ch du Trisi email: email@hidden
CH - 1028 Priverenges web: http://www.lookware.ch
----------------------------------------------------------------
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Bundle identifiers
      • From: Douglas Davidson <email@hidden>
    • Re: Bundle identifiers
      • From: Charles Srstka <email@hidden>
  • Prev by Date: NSTimers starting, stopping, pausing...
  • Next by Date: Little question on AuthorizationExecuteWithPrivileges
  • Previous by thread: Re: NSTimers starting, stopping, pausing...
  • Next by thread: Re: Bundle identifiers
  • Index(es):
    • Date
    • Thread