5 Replies Latest reply on Jul 12, 2017 1:28 AM by YanHua Shi

    ZEBRA MC36 data capture

    YanHua Shi

      My Device is MC36.How I can get data By Scan Config of Intent output. I tried to get intent on onNewIntent(Intent intent) ,but onNewIntent() never called. The app of SCANDEMO in device can get data by Scan config of intent output.

        • Re: ZEBRA MC36 data capture
          Darryn Campbell

          onNewIntent is only called if your application is set to have launchMode 'singleTop', see Activity | Android Developers .

           

          I suspect you just want to call getIntent() in your application's onCreate method if the scan config is set to output intents via startActivity.

            • Re: ZEBRA MC36 data capture
              YanHua Shi

              I set activity launchMode ‘singleTop’ or 'singleTask' but ThirdActivity's onNewIntent() method still can not be called. And I am not found setting of output intents in scan config.

                             <activity
                               android:name=".ThirdActivity"
                               android:launchMode="singleTop">
                               <intent-filter>
                                   <action android:name="com.syh.app.zebrascantest.ACTION.SCAN" />
              
              
                                   <category android:name="com.syh.category.DEFAULT" />
                               </intent-filter>
                           </activity>
              

               

              Prefs.xml

              <map>
                  <boolean name="UPCE1" value="false" />
                  <string name="powerMode">1</string>
                  <string name="qrcode_inverse">0</string>
                  <string name="code39_length1">0</string>
                  <boolean name="code39_report_dig" value="false" />
                  <boolean name="UPCE0" value="true" />
                  <boolean name="Discrete_2of5" value="false" />
                  <string name="datamatrix_inverse">0</string>
                  <string name="intent_action">com.syh.app.zebrascantest.ACTION.SCAN</string>
                  <boolean name="Chinese_2of5" value="false" />
                  <string name="i2of5_length1">14</string>
                  <string name="i2of5_length2">10</string>
                  <boolean name="EAN13" value="true" />
                  <string name="d2of5_length2">55</string>
                  <boolean name="GS1_DataBar" value="true" />
                  <string name="d2of5_length1">12</string>
                  <string name="keystroke_prefix_to_data"></string>
                  <boolean name="US4state" value="false" />
                  <boolean name="keystroke_output_enabled" value="false" />
                  <string name="msi_length2">55</string>
                  <boolean name="keystroke_send_enter_key" value="false" />
                  <string name="code11_verify_check_dig">0</string>
                  <string name="msi_length1">4</string>
                  <boolean name="bookland" value="false" />
                  <boolean name="code39_code32" value="false" />
                  <string name="msi_check_dig_scheme">1</string>
                  <string name="code39_length2">55</string>
                  <boolean name="m2of5_report_dig" value="false" />
                  <string name="pickList">0</string>
                  <string name="intent_category">com.syh.category.DEFAULT</string>
                  <string name="code128_concatenation">0</string>
                  <string name="code11_length2">55</string>
                  <boolean name="upce1_upca" value="false" />
                  <string name="code11_length1">4</string>
                  <string name="compositeAB_ucclink">0</string>
                  <boolean name="Japanese_Postal" value="false" />
                  <boolean name="Code93" value="false" />
                  <boolean name="QRCode" value="true" />
                  <boolean name="US_Planet" value="false" />
                  <string name="upce0_preamble">1</string>
                  <boolean name="led_feed_back" value="true" />
                  <boolean name="intent_basic_data_formatting_enabled" value="true" />
                  <boolean name="usplanet_check_dig" value="false" />
                  <boolean name="intent_send_data" value="true" />
                  <boolean name="msi_report_dig" value="false" />
                  <string name="retry_count">10</string>
                  <boolean name="ez_extend" value="false" />
                  <boolean name="Interleaved_2of5" value="true" />
                  <boolean name="m2of5_verify_dig" value="false" />
                  <boolean name="UPCA" value="true" />
                  <string name="intent_suffix_to_data"></string>
                  <boolean name="intent_send_tab_key" value="false" />
                  <string name="encoding">UTF-8</string>
                  <string name="upcean_security_level">0</string>
                  <string name="code93_length1">0</string>
                  <string name="upca_preamble">1</string>
                  <boolean name="code39_full_ascii" value="false" />
                  <string name="codabar_length1">6</string>
                  <string name="code93_length2">55</string>
                  <boolean name="Code11" value="false" />
                  <string name="codabar_length2">55</string>
                  <boolean name="intent_send_as_hex" value="false" />
                  <string name="inverse1DMode">0</string>
                  <boolean name="code128_gs1" value="true" />
                  <boolean name="code128_isbt" value="true" />
                  <string name="supplemental_mode">0</string>
                  <boolean name="EAN8" value="true" />
                  <boolean name="intent_output_enabled" value="true" />
                  <boolean name="Code128" value="true" />
                  <boolean name="Matrix_2of5" value="false" />
                  <string name="lcdMode">0</string>
                  <boolean name="US4state_FICS" value="false" />
                  <string name="audio_feed_back">content://media/internal/audio/media/97</string>
                  <boolean name="GS1_DataBar_Expanded" value="true" />
                  <boolean name="PDF417" value="true" />
                  <string name="action_key_character">0</string>
                  <boolean name="upca_check_dig" value="true" />
                  <string name="illuminationBrightness">10</string>
                  <boolean name="intent_send_enter_key" value="false" />
                  <boolean name="Datamatrix" value="true" />
                  <boolean name="US_Postnet" value="false" />
                  <string name="hanxin_inverse">0</string>
                  <boolean name="code39_verify_dig" value="false" />
                  <string name="linearSecurityLevel">0</string>
                  <boolean name="MSI" value="false" />
                  <string name="i2of5_check_dig">0</string>
                  <boolean name="keystroke_send_tab_key" value="false" />
                  <boolean name="TLC39" value="false" />
                  <string name="m2of5_length1">55</string>
                  <string name="m2of5_length2">0</string>
                  <boolean name="ukpostal_check_dig" value="false" />
                  <boolean name="Code39" value="true" />
                  <string name="msi_check_dig">0</string>
                  <boolean name="Maxicode" value="true" />
                  <boolean name="code11_report_dig" value="false" />
                  <boolean name="upce0_check_dig" value="false" />
                  <boolean name="codabar_clsi" value="false" />
                  <string name="volume_type">0</string>
                  <boolean name="GS1_DataBar_Limited" value="true" />
                  <boolean name="Codabar" value="false" />
                  <boolean name="barcode_input_enabled" value="true" />
                  <string name="upce1_preamble">0</string>
                  <string name="code128_length1">0</string>
                  <string name="code128_length2">55</string>
                  <string name="associated_list">com.symbol.scanconfig.ScanDemoActivity,com.symbol.scanconfig;*,com.android.quicksearchbox;*,com.android.browser;*,com.android.email;*,com.android.mms;com.syh.app.zebrascantest.ThirdActivity,com.syh.app.zebrascantest;</string>
                  <boolean name="quick_launch" value="false" />
                  <boolean name="code39_prefix" value="false" />
                  <boolean name="Composite_C" value="false" />
                  <boolean name="convert_upcean" value="false" />
                  <boolean name="m2of5_redundancy" value="false" />
                  <boolean name="haptic_feed_back" value="false" />
                  <string name="beamTimer">5000</string>
                  <boolean name="Korean_3of5" value="false" />
                  <string name="code_id">0</string>
                  <boolean name="Aztec" value="true" />
                  <boolean name="upce1_report_dig" value="true" />
                  <boolean name="upce0_upca" value="false" />
                  <boolean name="MicroQR" value="true" />
                  <boolean name="Composite_AB" value="false" />
                  <boolean name="coupon" value="false" />
                  <boolean name="Australian_Postal" value="false" />
                  <boolean name="keystroke_basic_data_formatting_enabled" value="true" />
                  <boolean name="i2of5_report_dig" value="false" />
                  <boolean name="MicroPDF" value="false" />
                  <boolean name="code128_isbt_table" value="false" />
                  <boolean name="keystroke_send_data" value="true" />
                  <boolean name="UK_Postal" value="false" />
                  <string name="coupon_rm">2</string>
                  <string name="keystroke_suffix_to_data"></string>
                  <string name="bookland_format">0</string>
                  <boolean name="codabar_notis" value="false" />
                  <boolean name="keystroke_send_as_hex" value="false" />
                  <string name="decode_led_time">75</string>
                  <string name="intent_prefix_to_data"></string>
                  <boolean name="Trioptic39" value="false" />
                  <string name="aztec_inverse">0</string>
                  <boolean name="HAN_XIN" value="true" />
                  <boolean name="i2of5_itf14_ean13" value="false" />
              </map>