
GXV3240/3275 GMI Web Service v1.9 User Guide
SystemSetting
Tudou
Twitter
Youtube
SetupGuide
Message
Video
Audio
Parameters
name: Application name (case insensitive)
args: Input parameters
• callbackFunction: Call back function
Http Request
URL: http://" + ip +"/manager?"
action: "launchservice"
name: name
args: http://192.168.121.29/a.html
format: "json"
jsoncallback: "?" (This is the HTTP request for the call back function,
usually used in AJAX and JQuery)
For example:
http://192.168.121.230/manager?action=launchservice&name=Browser
&arg=http://192.168.121.29/a.
html&format=json&jsoncallback=?
Return
Launch successful
"{"res": "success"}"
Server cannot get data. Open failed
"{"res": "error", "msg" : "open application failed"}" //dbus returns
null
"name" is empty
"{"res" : "error", "msg": "name is empty" }"
Run application failed
"{"res" : "error", "msg": "run application failed" }"
2. callbackFunction(data) will process the data returned from HTTP
request
Comentarios a estos manuales