![]() I.putExtra(". Note: Modify this generic code to match the API being used. Sample usage of these parameters is shown below. When using SEND_RESULT, the COMMAND_IDENTIFIER is used to match the result code with the originating intent. The scanner state can be retrieved using Get Scanner Status or Register for. Suspend / Resume - much quicker but can be called only when the scanner is in the SCANNING or WAITING state. I.putExtra(".ENABLE_DATAWEDGE", false) Ĭommand and configuration intent parameters determine whether to send result codes (disabled by default). A: There are two methods to temporarily disable the barcode scanner in an app using the Scanner Input Plugin: Enable / Disable - can be called at any time. Use logcat from an ADB shell to view the log messages: $ adb logcat -s DWAPIĮrror messages are logged for invalid actions and parameters. Return ValuesĮrror and debug messages are logged to the Android logging system, which then can be viewed and filtered by the logcat command. See Example, below.Īlso see the Result Codes guide for more information. I.putExtra(".ENABLE_DATAWEDGE", ) ĪCTION : .ACTIONĮXTRA_DATA : .ENABLE_DATAWEDGEĭataWedge returns the following error codes if the app includes the intent extras RECEIVE_RESULT and COMMAND_IDENTIFIER to enable the app to get results using the DataWedge result intent mechanism. ![]() ![]() Boolean value used to enable (true) or disable (false) DataWedge on the device. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |