changed palm service call to be browser agnostic on webos based systems

This commit is contained in:
Morgan McMillian 2014-09-06 21:39:25 -07:00
parent 898287f932
commit dcf6f7afd0
3 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
{
"id": "com.monkeystew.todotxtenyo.beta",
"version": "0.4.1",
"version": "0.4.2",
"vendor": "Monkeystew",
"type": "web",
"main": "index.html",

View File

@ -39,10 +39,11 @@ enyo.kind({
{content: "Please click DONE to complete the process."},
{kind:"Button", caption:"DONE", onclick:"requestAccessToken"}
]},
{name: "launch", kind: "PalmService",
{name: "openBrowser", kind: "PalmService",
service: "palm://com.palm.applicationManager",
method: "launch", onSuccess: "launchSuccess",
onFailure: "launchFailed"
method: "open", onSuccess: "launchSuccess",
onFailure: "launchFailed",
subscribe: true
},
{name: "webSrv", kind: "WebService" }
],
@ -146,9 +147,8 @@ enyo.kind({
blackberry.invoke.invoke(
blackberry.invoke.APP_BROWSER, args);
} else {
this.$.launch.call({
"id": "com.palm.app.browser",
"params": {"target": url}
this.$.openBrowser.call({
"target": url
});
}
}

View File

@ -3,7 +3,7 @@
"package_format_version": 2,
"loc_name": "Todo.txt Enyo",
"icon": "icon.png",
"version": "0.4.1",
"version": "0.4.2",
"vendor": "Monkeystew",
"app": "com.monkeystew.todotxtenyo.beta",
"services": ["com.monkeystew.todotxtenyo.beta.service"]