How to enable Custom Authentication when running the Custom Auth sample app
In order to successfully run the Custom Auth Sample Application bundled with the SmartSDK development kit, the User Authentication Management Setting in WIM must be set to either "LDAP" or "Custom Authentication". The latter is more common on recent firmware releaes.
How to release logged in user permissions?
Incident Properties
Question
Which user is needed to authenticate on the equipment panel and use the installed and native applications of the equipment? Using CustomAuthSample, when I log in with a device administrator user, I cannot access the device's native functions after logging in, such as copying and printing. What steps should I take to release access permissions to the user logged in to my CustomAuthSample?
How does the Web Application work?
Incident Properties
Question
I would like to know what the difference is between an Embedded Application (Android App) SmartSDK and a Web Application? What are the limitations of each one, and how does the signing and licensing process for a Web Application work, and what is the process for hosting a Web Application on the equipment?
How to install CustomAuthFramework?
Incident Properties
Question
I wanted to modify and install the CustomAuthFramework that is in the documentation on the device, however I cannot generate an apk to install on the device, because this project, as it came in the documentation, is missing something that makes it installable as an apk. What should I do to install it on the equipment? Or is it installed within CustomAuthSample? Because I was already able to install CustomAuthSample on the device.
CUSTOM AUTHENTICATION ERROR
Incident Properties
Question
Hi, I'm still trying to perform the Custom Authentication that you advised me on, but I'm having some problems... I'm removing the Login from our PrintSafe application and placing it in another application that will only be responsible for the Custom Authentication, but I'm having some problems as shown below. The application does not open, nor does anything appear on the screen when clicking to log into the device, however this error appears in the logs, from what I researched it would be something related to data manipulation in memory in this main thread, if this is what you recommend it to be done? I need to save and fetch data in memory during the login process, can I create another thread just to do this in Custom Authentication?
Here is the error message that appears in the logs:
StrictMode policy violation; ~duration=108 ms: android.os.StrictMode$StrictModeDiskReadViolation: policy=279 violation=2
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1107)
06-07 15:16:57.367 2884 2884 D StrictMode: at libcore.io.BlockGuardOs.open(BlockGuardOs.java:106)
06-07 15:16:57.367 2884 2884 D StrictMode: at libcore.io.IoBridge.open(IoBridge.java:400)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.io.FileInputStream.<init>(FileInputStream.java:78)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.io.FileInputStream.<init>(FileInputStream.java:105)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.wm.WindowManagerService.readKeyboardList(WindowManagerService.java:11727)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.wm.WindowManagerService.computeScreenConfigurationLocked(WindowManagerService.java:7300)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.wm.WindowManagerService.updateOrientationFromAppTokensLocked(WindowManagerService.java:4164)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.wm.WindowManagerService.updateOrientationFromAppTokens(WindowManagerService.java:4134)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.am.ActivityManagerService.setRequestedOrientation(ActivityManagerService.java:2706)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:878)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1679)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Binder.execTransact(Binder.java:351)
06-07 15:16:57.367 2884 2884 D StrictMode: at dalvik.system.NativeStart.run(Native Method)
06-07 15:16:57.367 2884 2884 D StrictMode: # via Binder call with stack:
06-07 15:16:57.367 2884 2884 D StrictMode: android.os.StrictMode$LogStackTrace
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.StrictMode.readAndHandleBinderCallViolations(StrictMode.java:1656)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Parcel.readExceptionCode(Parcel.java:1415)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Parcel.readException(Parcel.java:1384)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityManagerProxy.setRequestedOrientation(ActivityManagerNative.java:2922)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.Activity.setRequestedOrientation(Activity.java:4324)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.launcher2.Launcher.unlockScreenOrientation(Launcher.java:5667)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.launcher2.Launcher.onCreate(Launcher.java:636)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.Activity.performCreate(Activity.java:5104)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2161)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2247)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3718)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.access$700(ActivityThread.java:142)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1245)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Handler.dispatchMessage(Handler.java:99)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Looper.loop(Looper.java:137)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.main(ActivityThread.java:5067)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.lang.reflect.Method.invokeNative(Native Method)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.lang.reflect.Method.invoke(Method.java:511)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
06-07 15:16:57.367 2884 2884 D StrictMode: at dalvik.system.NativeStart.main(Native Method)
06-07 15:16:57.367 2884 2884 D StrictMode: StrictMode policy violation; ~duration=106 ms: android.os.StrictMode$StrictModeDiskReadViolation: policy=279 violation=2
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1107)
06-07 15:16:57.367 2884 2884 D StrictMode: at libcore.io.BlockGuardOs.read(BlockGuardOs.java:148)
06-07 15:16:57.367 2884 2884 D StrictMode: at libcore.io.IoBridge.read(IoBridge.java:432)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.io.FileInputStream.read(FileInputStream.java:179)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.io.InputStreamReader.read(InputStreamReader.java:244)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.io.BufferedReader.fillBuf(BufferedReader.java:130)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.io.BufferedReader.readLine(BufferedReader.java:354)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.wm.WindowManagerService.readKeyboardList(WindowManagerService.java:11729)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.wm.WindowManagerService.computeScreenConfigurationLocked(WindowManagerService.java:7300)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.wm.WindowManagerService.updateOrientationFromAppTokensLocked(WindowManagerService.java:4164)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.wm.WindowManagerService.updateOrientationFromAppTokens(WindowManagerService.java:4134)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.am.ActivityManagerService.setRequestedOrientation(ActivityManagerService.java:2706)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:878)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1679)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Binder.execTransact(Binder.java:351)
06-07 15:16:57.367 2884 2884 D StrictMode: at dalvik.system.NativeStart.run(Native Method)
06-07 15:16:57.367 2884 2884 D StrictMode: # via Binder call with stack:
06-07 15:16:57.367 2884 2884 D StrictMode: android.os.StrictMode$LogStackTrace
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.StrictMode.readAndHandleBinderCallViolations(StrictMode.java:1656)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Parcel.readExceptionCode(Parcel.java:1415)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Parcel.readException(Parcel.java:1384)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityManagerProxy.setRequestedOrientation(ActivityManagerNative.java:2922)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.Activity.setRequestedOrientation(Activity.java:4324)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.launcher2.Launcher.unlockScreenOrientation(Launcher.java:5667)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.launcher2.Launcher.onCreate(Launcher.java:636)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.Activity.performCreate(Activity.java:5104)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2161)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2247)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3718)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.access$700(ActivityThread.java:142)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1245)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Handler.dispatchMessage(Handler.java:99)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Looper.loop(Looper.java:137)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.main(ActivityThread.java:5067)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.lang.reflect.Method.invokeNative(Native Method)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.lang.reflect.Method.invoke(Method.java:511)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
06-07 15:16:57.367 2884 2884 D StrictMode: at dalvik.system.NativeStart.main(Native Method)
06-07 15:16:57.367 2884 2884 D StrictMode: StrictMode policy violation; ~duration=105 ms: android.os.StrictMode$StrictModeDiskReadViolation: policy=279 violation=2
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1107)
06-07 15:16:57.367 2884 2884 D StrictMode: at libcore.io.BlockGuardOs.read(BlockGuardOs.java:148)
06-07 15:16:57.367 2884 2884 D StrictMode: at libcore.io.IoBridge.read(IoBridge.java:432)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.io.FileInputStream.read(FileInputStream.java:179)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.io.InputStreamReader.read(InputStreamReader.java:244)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.io.BufferedReader.fillBuf(BufferedReader.java:130)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.io.BufferedReader.readLine(BufferedReader.java:390)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.wm.WindowManagerService.readKeyboardList(WindowManagerService.java:11729)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.wm.WindowManagerService.computeScreenConfigurationLocked(WindowManagerService.java:7300)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.wm.WindowManagerService.updateOrientationFromAppTokensLocked(WindowManagerService.java:4164)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.wm.WindowManagerService.updateOrientationFromAppTokens(WindowManagerService.java:4134)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.am.ActivityManagerService.setRequestedOrientation(ActivityManagerService.java:2706)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:878)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1679)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Binder.execTransact(Binder.java:351)
06-07 15:16:57.367 2884 2884 D StrictMode: at dalvik.system.NativeStart.run(Native Method)
06-07 15:16:57.367 2884 2884 D StrictMode: # via Binder call with stack:
06-07 15:16:57.367 2884 2884 D StrictMode: android.os.StrictMode$LogStackTrace
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.StrictMode.readAndHandleBinderCallViolations(StrictMode.java:1656)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Parcel.readExceptionCode(Parcel.java:1415)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Parcel.readException(Parcel.java:1384)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityManagerProxy.setRequestedOrientation(ActivityManagerNative.java:2922)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.Activity.setRequestedOrientation(Activity.java:4324)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.launcher2.Launcher.unlockScreenOrientation(Launcher.java:5667)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.launcher2.Launcher.onCreate(Launcher.java:636)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.Activity.performCreate(Activity.java:5104)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2161)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2247)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3718)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.access$700(ActivityThread.java:142)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1245)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Handler.dispatchMessage(Handler.java:99)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Looper.loop(Looper.java:137)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.main(ActivityThread.java:5067)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.lang.reflect.Method.invokeNative(Native Method)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.lang.reflect.Method.invoke(Method.java:511)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
06-07 15:16:57.367 2884 2884 D StrictMode: at dalvik.system.NativeStart.main(Native Method)
06-07 15:16:57.367 2884 2884 D StrictMode: StrictMode policy violation; ~duration=89 ms: android.os.StrictMode$StrictModeDiskReadViolation: policy=279 violation=2
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1107)
06-07 15:16:57.367 2884 2884 D StrictMode: at libcore.io.BlockGuardOs.open(BlockGuardOs.java:106)
06-07 15:16:57.367 2884 2884 D StrictMode: at libcore.io.IoBridge.open(IoBridge.java:400)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.io.FileInputStream.<init>(FileInputStream.java:78)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.io.FileInputStream.<init>(FileInputStream.java:105)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.wm.WindowManagerService.readKeyboardList(WindowManagerService.java:11751)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.wm.WindowManagerService.computeScreenConfigurationLocked(WindowManagerService.java:7300)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.wm.WindowManagerService.updateOrientationFromAppTokensLocked(WindowManagerService.java:4164)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.wm.WindowManagerService.updateOrientationFromAppTokens(WindowManagerService.java:4134)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.am.ActivityManagerService.setRequestedOrientation(ActivityManagerService.java:2706)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:878)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1679)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Binder.execTransact(Binder.java:351)
06-07 15:16:57.367 2884 2884 D StrictMode: at dalvik.system.NativeStart.run(Native Method)
06-07 15:16:57.367 2884 2884 D StrictMode: # via Binder call with stack:
06-07 15:16:57.367 2884 2884 D StrictMode: android.os.StrictMode$LogStackTrace
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.StrictMode.readAndHandleBinderCallViolations(StrictMode.java:1656)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Parcel.readExceptionCode(Parcel.java:1415)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Parcel.readException(Parcel.java:1384)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityManagerProxy.setRequestedOrientation(ActivityManagerNative.java:2922)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.Activity.setRequestedOrientation(Activity.java:4324)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.launcher2.Launcher.unlockScreenOrientation(Launcher.java:5667)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.launcher2.Launcher.onCreate(Launcher.java:636)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.Activity.performCreate(Activity.java:5104)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2161)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2247)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3718)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.access$700(ActivityThread.java:142)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1245)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Handler.dispatchMessage(Handler.java:99)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Looper.loop(Looper.java:137)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.main(ActivityThread.java:5067)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.lang.reflect.Method.invokeNative(Native Method)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.lang.reflect.Method.invoke(Method.java:511)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
06-07 15:16:57.367 2884 2884 D StrictMode: at dalvik.system.NativeStart.main(Native Method)
06-07 15:16:57.367 2884 2884 D StrictMode: StrictMode policy violation; ~duration=86 ms: android.os.StrictMode$StrictModeDiskReadViolation: policy=279 violation=2
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.StrictMode$AndroidBlockGuardPolicy.onReadFromDisk(StrictMode.java:1107)
06-07 15:16:57.367 2884 2884 D StrictMode: at libcore.io.BlockGuardOs.read(BlockGuardOs.java:148)
06-07 15:16:57.367 2884 2884 D StrictMode: at libcore.io.IoBridge.read(IoBridge.java:432)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.io.FileInputStream.read(FileInputStream.java:179)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.io.InputStreamReader.read(InputStreamReader.java:244)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.io.BufferedReader.fillBuf(BufferedReader.java:130)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.io.BufferedReader.readLine(BufferedReader.java:354)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.wm.WindowManagerService.readKeyboardList(WindowManagerService.java:11753)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.wm.WindowManagerService.computeScreenConfigurationLocked(WindowManagerService.java:7300)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.wm.WindowManagerService.updateOrientationFromAppTokensLocked(WindowManagerService.java:4164)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.wm.WindowManagerService.updateOrientationFromAppTokens(WindowManagerService.java:4134)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.am.ActivityManagerService.setRequestedOrientation(ActivityManagerService.java:2706)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:878)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1679)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Binder.execTransact(Binder.java:351)
06-07 15:16:57.367 2884 2884 D StrictMode: at dalvik.system.NativeStart.run(Native Method)
06-07 15:16:57.367 2884 2884 D StrictMode: # via Binder call with stack:
06-07 15:16:57.367 2884 2884 D StrictMode: android.os.StrictMode$LogStackTrace
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.StrictMode.readAndHandleBinderCallViolations(StrictMode.java:1656)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Parcel.readExceptionCode(Parcel.java:1415)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Parcel.readException(Parcel.java:1384)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityManagerProxy.setRequestedOrientation(ActivityManagerNative.java:2922)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.Activity.setRequestedOrientation(Activity.java:4324)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.launcher2.Launcher.unlockScreenOrientation(Launcher.java:5667)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.launcher2.Launcher.onCreate(Launcher.java:636)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.Activity.performCreate(Activity.java:5104)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2161)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2247)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3718)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.access$700(ActivityThread.java:142)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1245)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Handler.dispatchMessage(Handler.java:99)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.os.Looper.loop(Looper.java:137)
06-07 15:16:57.367 2884 2884 D StrictMode: at android.app.ActivityThread.main(ActivityThread.java:5067)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.lang.reflect.Method.invokeNative(Native Method)
06-07 15:16:57.367 2884 2884 D StrictMode: at java.lang.reflect.Method.invoke(Method.java:511)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
06-07 15:16:57.367 2884 2884 D StrictMode: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
06-07 15:16:57.367 2884 2884 D StrictMode: at dalvik.system.NativeStart.main(Native Method)
Issue with "CustomAuthSample" and senders email address
Incident Properties
Question
We have an issue when the “Custom Authentication” is enabled and the "CustomAuthSample" is installed when scanning to email, the Senders email address is being overwritten by that of the logged in user when that user has an email address populated in the address book.
Configuration Steps
- Configure the Authenticated SMTP Email settings on the device.
- Ensure the “AutoAuto Specify Senders Name” is enabled.
- Configure authentication method on the device as “Custom Authentication”.
- Install the “CustomAuthSample” app.
- Reboot the device.
Working example
- Login as a test user who does not have an email address set in the address book.
- Perform a native "Scan to email", by entering the “to” email address manually.
- Check the received email and you will see the "sender’s" email address is the one specified in the devices email configuration.
Issue reproduction.
- Login as a test user who does have an email address set in the address book.
- Perform a native Scan to email, by selecting the “freq” button to populate the “to” email address.
- Check the received email and you will see the "sender’s" and “to” email address is now the one from the logged in user.
Custom Authentication
Incident Properties
Question
I wanted to create a customized login within our application, so that I block the equipment's resources and applications and the login was a screen of my application, after logging into the application I can access the resources that were blocked. I tested the 2 example codes from the documentation (CustomAuthSample and CustomAuthTrackingSample) and both do not modify anything on the equipment after installation, no errors occur in the process, but once completed, nothing changes on the equipment. Am I doing something wrong? What is the correct way to implement and test the documentation authentication sample codes? And is my goal mentioned above, of blocking resources and unlocking them via a login on a screen in my application, possible? If it's possible, am I on the right track, will these example authentication codes meet my needs?
DEFAULT ORIGINAL ORIENTATION REQUEST
Incident Properties
Question
Hello Team,
Regarding the below incident, We can able to get and set the original orientation in scan.
https://ricoh-ridp.com/ridp/support-system/incident/ricoh-sdc-canada/1712685156/1612848864/5187
Thanks for the documentation.
Is it possible to detect the original orientation in scan?
TLS / SSL Certificate Installation Issues
Incident Properties
Question
While we have everything running for our Scan Receipt application, we're running
into an issue on some devices in the field related to the security certificate.
Our lab device (an IM 5000) did not have this issue, as the proper cert was already
installed at the system level. We're not sure if the cert was installed because of a
firmware update performed on 4/10/23, or if it was there before.
The underlying issue appears to be a change in the certificate hierarchy DigiCert
uses to issue their certificates (We've been told it was on 3/8/2023), and the MFPs
not automatically trusting certificates issued from that ‘new’ chain.
As a one-off fix, for an MP C4504ex device, we have manually exported the cert
from a web browser and installed it from an SD drive onto an MFP (as a user) and
that fixed the issue. The cert we exported is attached.
It seems this issue would potentially impact a wide range of Ricoh’s customers and
partner developers, and we wanted to know if a remediation strategy had already
been developed that we could leverage.
Would you be able to:
1. Verify if the proper cert is included in a firmware update
2. If not in firmware, then
a. Confirm the proper certificate to install to minimize future issues
b. Know a way to push a cert to devices remotely so we don't have to
physically be at the device using the SD card method?
Let us know if there are any questions or clarification needed. We can pull other
into a quick call if it would help.
Thanks, see attachment for screen shot
Scan Receipt - Production API Endpoints
Incident Properties
Question
This is in reference of ticket https://ricoh-ridp.com/ridp/support-system/incident/moser-consulting-inc/1693920502/2126753199/5018
We are requesting a production signature for our application. The signed apk (v1.1.35) does not contain the endpoints for our production servers, attached is an unsigned compiled of our release variant that only contains a configuration endpoint change needed for our release (v1.1.36). We can happily change this version to 1.1.35 if needed.
Thank You!