Rename Profile

DataWedge 6.3

RENAME_PROFILE

Used to rename an existing DataWedge Profile.

Function Prototype

Intent i = new Intent();
i.setAction("com.symbol.datawedge.api.ACTION");
i.putExtra("com.symbol.datawedge.api.RENAME_PROFILE", <values>);

Parameters

ACTION [String]: "com.symbol.datawedge.api.ACTION"

EXTRA_DATA [String]: "com.symbol.datawedge.api.RENAME_PROFILE"

String[ ] <values>: Profile name to be renamed, New Profile name

Return Values

(None)

Error and debug messages are logged to the Android logging system, which can be viewed and filtered by the logcat command. Use logcat from an ADB shell to view the log messages:


$ adb logcat -s DWAPI

Error messages are logged for invalid actions and parameters

Example

Intent i = new Intent();
i.setAction("com.symbol.datawedge.api.ACTION");
String[] values = {"Old profile","Renamed Profile"};
i.putExtra("com.symbol.datawedge.api.RENAME_PROFILE", values);
context.this.sendBroadcast(i);

SEE ALSO:

Zebra Support Central | Integrator Guides, Product Manuals, Software Downloads and Support

LaunchPad | Zebra Developer Community

Intent | Android Developers

Intents and Intent Filters | Android Developers

Android Intents | Tutorial