[haiku-3rdparty-dev] Re: App Name from App Signature string?

  • From: Brian Hill <perelandra777@xxxxxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Sun, 15 Apr 2012 07:54:55 -0400

hey68you,
You can use the Roster's FindApp function to get the entry_ref to the 
application:

entry_ref ref;
be_roster->FindApp(signature, &ref);

-Brian

On Apr 15, 2012, at 7:21 AM, hey68 you wrote:

> Hello - is there an easy way to know the App name if I only know the App 
> signature string (and the App is NOT currently running)?
> 
> If the app is running I can use the function, and then look at that 
> appInfo.ref.name;
> 
> But what if the App is not running?
> 
> Thanks in advance,
> hey68you

Other related posts: