worklight调用原生(Android、IOS)页面

调用原生页面
if (!(typeof WL === 'undefined')) {
			if (app.platform == WL.Environment.ANDROID)
				nativePage = "com.Test.BrowsePDFActivity";
			else if (app.platform == WL.Environment.IPHONE || app.platform == WL.Environment.IPAD) {
				nativePage = "DocViewController";
			}
			WL.NativePage.show(nativePage, function() {
			}, {
				url : url,
				name : name
			});
		}


调用原生方法请参考:
http://geoffrey-qiao.iteye.com/blog/2007034

你可能感兴趣的:(Sencha Touch)