Reputation: 51
Is it possible to call getApplicationName()
in some way in Blackberry?
Upvotes: 1
Views: 518
Reputation: 869
ApplicationDescriptor appDesc = ApplicationDescriptor.currentApplicationDescriptor().getName();
You should use getName. It is possible that the module name may not reflect the actual app name. If you created a project and refactor(renamed) it, you can have module names with the original title, even though you have an app name that has changed.
Upvotes: 0
Reputation: 15313
try this.
String moduleName = ApplicationDescriptor
.currentApplicationDescriptor().getModuleName();
Upvotes: 4