...
Code Block | ||
---|---|---|
| ||
/** * Alternative method * Sending the action spring.BACKGROUND with own * connection parameters */ Hashtable target = new Hashtable(); target.put(SpringMobile.VAR_ACTION, SpringMobile.APP_BACKGROUND); Hashtable bbprops = new Hashtable(); bbprops.put("deviceside", "true"); try { spring.commit(bbprops,target); } catch (ParamNotSupportedException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } |
example CP
Code Block | ||
---|---|---|
| ||
/** * example CP */ Hashtable target = new Hashtable(); target.put("cp", "Mainpage"); try { // ... spring.commit(target); } catch (ParamNotSupportedException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } |
...