0 Replies Latest reply on Apr 11, 2019 3:10 AM by Ambar Qomariyah

    Using Intent Output With DataCapture Profiles

    Ambar Qomariyah

      I have alreadey follow instruction from Using Intent Output With DataCapture Profiles - Zebra Technologies Techdocs ,

      It's work when run activity without option menu.

      But not work when i try it from option menu.

       

      Example, when i set cuttingActivity as default, its work.

      But when i set mainActivity as default, then i call cuttingActivity from option menu its not work.

       

      How to solve it?

       

      Bellow the code of manifest.

       

      <?xml version="1.0" encoding="utf-8"?>
      <manifest xmlns:android="http://schemas.android.com/apk/res/android"
         package="biz.barkode.data_collection">

       

        <uses-permission android:name="com.symbol.emdk.permission.EMDK" />

       

        <application
         android:allowBackup="true"
         android:icon="@mipmap/ic_launcher"
         android:label="@string/app_name"
         android:roundIcon="@mipmap/ic_launcher_round"
         android:supportsRtl="true"
         android:theme="@style/AppTheme">

        <uses-library android:name="com.symbol.emdk" />

       

        <activity android:name=".MainActivity"
         android:launchMode="singleTask">

        <intent-filter>

        <action android:name="android.intent.action.MAIN" />

       

        <category android:name="android.intent.category.LAUNCHER" />

        </intent-filter>

        <intent-filter>

        <action android:name="com.symbol.emdksample.RECVR"/>

        <category android:name="android.intent.category.DEFAULT"/>

        </intent-filter>

        </activity>

        <activity android:name=".cuttingActivity"/>

        <activity android:name=".MovingActivity" />

        <activity android:name=".Main2Activity"></activity>

        </application>

       

      </manifest>