Need some advice on this. I have a Java project Manifest files that has the following:
I have added the above in my B4A project's manifest as follows:
Is this correct or am I missing something?
B4X:
<activity
android:name="com.qs.acivity.MainActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.qs.acivity.NfcActivity" android:screenOrientation="portrait"/>
<activity android:name="com.qs.acivity.PrintActivity" android:screenOrientation="portrait" />
<activity android:name="com.qs.acivity.PsamActivity" android:screenOrientation="portrait"/>
<activity android:name="com.qs.acivity.IcActivity" android:screenOrientation="portrait"/>
<activity android:name="com.qs.acivity.ScanActivity" android:screenOrientation="portrait"/>
<activity android:name="com.qs.acivity.PosUpdateActivity" android:screenOrientation="portrait"/>
<!-- 按键广播 -->
<!-- <receiver
android:name="com.qs.service.RemoteControlReceiver"
android:permission="ismart.intent.scandown" >
<intent-filter android:priority="1000" >
<action android:name="ismart.intent.scandown" />
</intent-filter>
</receiver> -->
<!-- 广播接收 -->
<receiver android:name="com.qs.service.StartReceiver" >
<intent-filter android:priority="996" >
<action android:name="android.intent.action.BOOT_COMPLETED" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</receiver>
<!-- 扫描服务 -->
<service android:name="com.qs.service.ScanService" >
</service>
I have added the above in my B4A project's manifest as follows:
B4X:
AddApplicationText(<activity
android:name="com.qs.acivity.MainActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
>
</activity>
<activity android:name="com.qs.acivity.NfcActivity" android:screenOrientation="portrait"/>
<activity android:name="com.qs.acivity.PrintActivity" android:screenOrientation="portrait" />
<activity android:name="com.qs.acivity.PsamActivity" android:screenOrientation="portrait"/>
<activity android:name="com.qs.acivity.IcActivity" android:screenOrientation="portrait"/>
<activity android:name="com.qs.acivity.ScanActivity" android:screenOrientation="portrait"/>
<activity android:name="com.qs.acivity.PosUpdateActivity" android:screenOrientation="portrait"/>
<receiver android:name="com.qs.service.StartReceiver" >
<intent-filter android:priority="996" >
<action android:name="android.intent.action.BOOT_COMPLETED" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</receiver>
<service android:name="com.qs.service.ScanService" >
</service>)
Is this correct or am I missing something?