Use the code given below to get the application name :
describeTabSetResult [] = binding.describeTabs();
Use the describeTabs() call to obtain information about the standard and custom apps to which the logged-in user has the access. The describeTabs call returns the minimum required metadata that can be used to render apps in another user interface. This call is used by partner applications to render Salesforce.com data in another user interface.
I think you're confused in that, despite this being the Apex section, what he posted is not Apex code. You'd use that code in something like Java or .NET. Unfortunately, that doesn't help Apex developers...it seems like SFDC supports you more if you're NOT using their technology.
Use the code given below to get the application name :
describeTabSetResult [] = binding.describeTabs();
Use the describeTabs() call to obtain information about the standard and custom apps to which the logged-in user has the access. The describeTabs call returns the minimum required metadata that can be used to render apps in another user interface. This call is used by partner applications to render Salesforce.com data in another user interface.
Hope this helps.
This solution throws a compile error.
I think you're confused in that, despite this being the Apex section, what he posted is not Apex code. You'd use that code in something like Java or .NET. Unfortunately, that doesn't help Apex developers...it seems like SFDC supports you more if you're NOT using their technology.