全球交易系统JSB DEMO页

回调方法Demo

window.handle_success = function (str){ document.getElementById('content').value = str }

window.handle_error = function (str){ document.getElementById('content').value = str }

ActionBridge.handleAction('close_webview',"{}",'','')

ActionBridge.handleAction('get_gft_info',"{mustLoginWhenNull:1}",'handle_success','handle_error')

ActionBridge.handleAction('get_app_config',"",'handle_success','handle_error')

ActionBridge.handleAction('get_trade_info',"{mustLoginWhenNull:0}",'handle_success','handle_error')

ActionBridge.handleAction('trade_logout',"",'','')

ActionBridge.handleAction('jump_to_native',"my/tradeRecord",'handle_success','handle_error')

ActionBridge.handleAction('watch_network',"",'handle_success','')
ActionBridge.handleAction('stop_watch_network',"",'','')

ActionBridge.handleAction('open_webview','{title:"百度",url:"http://www.baidu.com",hideTitleBar:false}','','')


相机
test

内存泄漏监听