EasyManuals Logo
Home>Zebra>PDA>MC93 Series

Zebra MC93 Series Integrator Guide

Zebra MC93 Series
186 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #142 background imageLoading...
Page #142 background image
DataWedge
142
Error messages will be logged for invalid actions, parameters and failures, for example, Profile not found or
associated with an application.
Example
Comments
The API command will have no effect if the specified Profile does not exist or if the specified Profile is already
associated with an application. DataWedge will automatically switch Profiles when the activity is paused, so it
is recommended that this API function be called from the onResume method of the activity.
Zebra recommends that this Profile be created to cater to all applications/activities that would otherwise default
to using Profile0. This will ensure that these applications/activities continue to work with a consistent
configuration.
Reset Default Profile
Use the resetDefaultProfile API function to reset the default Profile back to Profile0.
$ adb logcat -s DWAPI
// define action and data strings
String setDefaultProfile = "com.symbol.datawedge.api.ACTION";
String extraData = "com.symbol.datawedge.api.SET_DEFAULT_PROFILE";
public void onResume() {
// create the intent
Intent i = new Intent();
// set the action to perform
i.setAction(setDefaultProfile);
// add additional info (a name)
i.putExtra(extraData, "myProfile");
// send the intent to DataWedge
this.sendBroadcast(i);
}

Table of Contents

Other manuals for Zebra MC93 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Zebra MC93 Series and is the answer not in the manual?

Zebra MC93 Series Specifications

General IconGeneral
BrandZebra
ModelMC93 Series
CategoryPDA
LanguageEnglish

Related product manuals