12-15-2011 07:48 AM
hello group,
i have just taken my fist steps into the blackberry application development by writing a few small test application with the help of the eclipse plugin (eclipse 3.6.2 ; blackberry java plug-in 1.5.0.201110141512).
experimenting a little bit with the different application types (e.g. blackberry application, midlet and library) i stumbled upon something i can't quite understand: if i build an application of type library where does the value of the field midlet-name in the created jad-file come from? the midlet-name is by the way exactly what my library is listed by in the application management list on the device (Curve 9300, OS 6.0.0.570)?
i was trying to change the midlet-name of my libray by adjusting the title field in blackberry_app_descriptor.xml, however, to no success. i even changed my eclipse project name, java package names, Main class name etc. nothing seems to help. any suggestions?
thanks,
emma
12-19-2011 08:51 PM - edited 12-19-2011 08:53 PM
Hello Emma,
The title within your blackberry_app_descriptor.xml will change what your application is called on the home screen, but not what it shows up as under Application Management.
The Application Management name will come from the MIDlet-Name, which is derived from your project name. To modify the name there, you can right-click on your project in the Project Explorer and select Refactor > Rename... to modify the value after a project has been created.
You can also modify the .JAD file directly; though there are two caveats:
EDIT: Small addition, with the latest plug-in, Eclipse's Load Project(s) on Device is a .JAD load.
Let me know if you have any questions about anything up there, or if refactoring doesn't work out.
Erik Oros
BlackBerry Development Advisor