One of the sample apps has a bug in it!
While you are free to use all or some of the code we provide as sample applications [see: Smart Operation Panel > Sample Applications > Development Guide (Sample application)] please note that they are provided without any guarantee of fitness or suitablility.
Why do calls to get the device name from RicohJavaDevice sometimes return the empty String?
RicohJavaDevice
provides methods for retrieving the device model name, but it can be observed that the model name is often empty [or "unavailable" if you use the RicohJavaDevice#debug()
interface to log all the known device info]. Why is the device model name sometimes empty?
What are the factors that may cause API failures?
What are the factors that may cause API failures?
Latency with connectivity, specially after device is coming back from an extended sleep mode or a device reboot, may be caused by services that may have not reached their ready state. The device hardware may also play a role as the Smart Operational Panel boots up faster than the device’s controller.
To mitigate possible issues with connectivity it is recommended that the application retry the API multiple times even if the requests fails or exceptions are thrown.
The steps to follow are:
Why I'm not able to get host name from SDK/J platform?
Which version should I set minSdkVersion and targetSdkVersion of SOP application?
Q.
Which version should I set minSdkVersion and targetSdkVersion of SOP application?
[Reference] Smart Operation Panel > Development Guide > Common > 80. Description Items in Manifest File (common)
A.
The rule is same as Android SDK. We recommend that you use the same targetSdkVersion as long as possible to prevent a complete test which will be required even in case of changing targetSdkVersion.
What are some good resources to learn Android development?
The following reference is good for studying Android programming
Android Developers (Programming environment )
If there is a way to check the remaining space of Flash Memory?
For the latest information, please review the following pages?
SDK/J Resource CD --> Important description --> sdkj_important_eRxxx.pdf
- Notes on SDK/J Application Installation Location (P.61)
- Notes on Using Machine Flash Memory from SDK/J Application (P.62)
How do I find device’s code (Model code) for a specific MFP?
Device’s code (Model code) information/documentation is available on SDK/J developer resource CD.
1. Go to current Embedded Software Architecture Ver. xxxx index page on SDK/J developer resource CD: your_SDKJ_devCD_location/html/index_english.html
2. Under section “Model Information” click on the corresponding version link
Example using Ver12:
ver12 Model information/Matrix of machines and versions
Why does the Android Servlet implementation use an incorrect chunked encoding format?
As documneted in the following page on the SmartSDK resource: \en\guide_ml\400-02-0102.htm the current SmartSDK does not support chuncked transfer.
3-2. Response body
See the specification document for each web application.
- Chunked transfer is not available. Add Content-Length header.
This spec/limitation comes from controller network module's current capability. So, each servlet application needs to set content-length by itself. Servlet Sample application also set content-length when sending file as a response.
Is there a capability parameter in the WebAPI that all devices would have?
No, there is no capability parameter that all devices have. Your application must be prepared to find a capability parameter or a possible value missing in the capability list from some devices. The Copy, Printer, Scanner, and Fax have their own jobSettingCapability to describe the acceptable (possible) values for various setting parameters.