When developing my User Interface on Android or Web BrowserNX, is there any UI guidelines that I need to follow?
Yes, in the Resource CD there are two guidelines that highlight information on the best practices with regards to developing your User Interface on the Ricoh SmartSDK.
Resource CD reference: Common Information > Overview > Design Guidelines >
UI Design Guidelines
URL location: ([root location of CD]/doc/en/common/142-01-0200.htm?ssdk_v2)
How to correctly paint an ImageIcon from a URL?
private void getImageIconFromURL(String urlOfIcon) throws IOException {
ImageIcon imageIcon = null;
URL url = new URL(urlOfIcon );
URLConnection connection = url.openConnection();
int length = connection.getContentLength();
InputStream is = connection.getInputStream();
byte[] bytes = new byte[length];
int totalRead = 0;
while( totalRead length )
{
int numberRead = is.read( bytes, totalRead, length - tota
How do I listen for the Logout button with my SDK/J application running in the SmartOp Panel?
Instead of implementing something like this:
Does the Smart Operation Panel support custom icons with SDK/J applications?
Unfortunately, the Smart Operation Panel is not able to display the customized icon of a SDK/J application.
I tried calling SysEventManager.getInstance().requestVisibleXlet(productId) to change to my xlet but I always get a GetOwnerShipResultException. What can I do?
Seems like the UI is busy and the application will have to retry to make the switch.
I'm able to replicate in my lab with a quick switch to button and at times it may take up too 5 tries. Can you create the workaround to attempt a retry until successful or until a timeout occurs.
See code snippet below:
What is the default display panel size for SKD/J applications?
HVGA is the default panel size. Documentation on this topic is found on sdkj_xlet_develop_panel_eR112.pdf (page 12). This document section describes the default behavior regarding display panel and DALP file correlation. The document notes the following: