Building Mobile Enterprise Applications : Using webMethods Mobile Designer : Project Properties Reference : Cross-Compiler Properties : Extra Libraries and Custom Code
Extra Libraries and Custom Code
project.handset.hook.startup
Specifies whether you want Mobile Designer to invoke the startup hook, which is a native function, when the application is starting before the J2ME initialization occurs.
When creating the code to invoke, implement the following function in your native code or patch in the created StubInfo.cpp file:
void hookStartUp(void);
Caution:  
Mobile Designer invokes the native code before setting up the J2ME environment, for example, before initializing static data or generating system output streams. Do not include code related to the J2ME library or to the mobile application in the native code.
Platforms
All
Value
*true to invoke native code before the J2ME application code is started.
Mobile Designer invokes hookStartUp() at the beginning of the application in these locations:
*In iOS at the start of applicationDidFinishLaunching
*On all other platforms at the start of main or its equivalent
*false if you do not want Mobile Designer to invoke native code before the J2ME application code is started.
Default
false
project.handset.push.notifications
Specifies whether the application receives push notifications.
Note:  
Use of this property requires the Wireless Messaging API (WMA) library for J2ME and the project.handset.uses.WMA property set to true.
Platforms
Android
iOS
Windows Phone 8
Value
*true if the application receives push notifications.
*false if the application does not receive push notifications.
Default
false
project.handset.uses.camera
Specifies whether the application uses Mobile Media API (MMAPI) to access the camera functionality.
Platforms
All
Value
*true if the application uses MMAPI to access the camera.
*false if the application does not use MMAPI to access the camera.
Default
false
project.handset.uses.Database
Specifies whether your mobile application uses the com.softwareag.mobile.runtime.database classes, which Mobile Designer provides. For more information, see Run-Time Database Classes.
Platforms
All
Value
*true if your application uses the database classes.
*false if your application does not use the database classes.
Default
false
Note:  
If you specify a value for the mobilesupportclient.runtime.dir property, the value of this property is automatically set to true because the Mobile Support Client library requires the com.softwareag.mobile.runtime.database classes.
project.handset.uses.FCPIM
Specifies whether your application uses the Personal Information Management (PIM) library for J2ME.
Platforms
Android
iOS
Windows Phone 8
Value
*true if your application uses the PIM library.
When you set this property to true, necessary permissions or requests are added to native builds.
*false if your application does not use the PIM library.
Note:  
If your applications uses the PIM library, but you set this property to false (or it defaults to false), your application will fail to compile.
Default
false
project.handset.uses.libJPEG
Deprecated. Specifies whether you want Mobile Designer to include the libjpeg library in the project.
Platforms
All
Value
*true if an application uses the JPEG images that are loaded using the Image.createImage methods.
*false if an application does not require loading JPEG images using the Image.createImage methods.
Important:  
When the property is false, attempting to load an image using an Image.createImage method causes the method to return a null value.
Default
true
project.handset.uses.Location
Specifies whether an application requires the Location API library for J2ME to compile and that you want Mobile Designer to initialize static values for the library.
Platforms
All
Value
*true if an application uses the Location library.
*false if an application does not use the Location library. Specifying false reduces the final size of your project’s binaries.
Important:  
If an application uses the Location library, and you set the property to false, Mobile Designer cannot compile the application.
Default
true
project.handset.uses.Sensors
Specifies whether an application requires the Mobile Sensor API library for J2ME to compile and that you want Mobile Designer to initialize static values for the library.
Platforms
All
Value
*true if the application uses the Sensors library.
*false if the application does not use the Sensors library. Specifying false reduces the final size of your project’s binaries.
Important:  
If the application uses the Sensors library, and you set the property to false, Mobile Designer cannot compile the application.
Default
true
project.handset.uses.WebServices
Specifies whether an application requires the Web Service API library.
Note:  
The JSON library is also part of the Web Service API library.
Platforms
All
Value
*true if the application uses the Web Service API library.
*false if the application does not use the Web Service API library.
Default
false
project.handset.uses.WMA
Specifies whether an application requires the Wireless Messaging API (WMA) library for J2ME to compile and that you want Mobile Designer to initialize static values for the library. WMA enables sending Short Message Service (SMS), Multimedia Messaging Service (MMS), and Cell Broadcast Service (CBS) formats.
Platforms
All
Value
*true if the application uses the WMA library.
*false if the application does not use the WMA library. Specifying false reduces the final size of your project’s binaries.
Important:  
If the application uses the WMA library, and you set the property to false, Mobile Designer cannot compile the application.
Default
true
Copyright © 2007-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback