I am using application which is of landscape mode which can capture user aadhar data by using RD Service but when i am connecting morpho device to the tab then 'Morpho SCL-RDService' application can register the morpho device which can make my current activity to portrait mode and then landscape mode.So is there any work around to fix the orientation which can not be changed due interference of any other application.Thanks in advance.
Add this in Manifest.xml file
<activity android:name=".MainActivity"
android:screenOrientation="landscape"
android:configChanges="keyboardHidden|orientation|screenSize"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>