changed palm service call to be browser agnostic on webos based systems
This commit is contained in:
parent
898287f932
commit
dcf6f7afd0
3 changed files with 8 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"id": "com.monkeystew.todotxtenyo.beta",
|
"id": "com.monkeystew.todotxtenyo.beta",
|
||||||
"version": "0.4.1",
|
"version": "0.4.2",
|
||||||
"vendor": "Monkeystew",
|
"vendor": "Monkeystew",
|
||||||
"type": "web",
|
"type": "web",
|
||||||
"main": "index.html",
|
"main": "index.html",
|
||||||
|
|
|
@ -39,10 +39,11 @@ enyo.kind({
|
||||||
{content: "Please click DONE to complete the process."},
|
{content: "Please click DONE to complete the process."},
|
||||||
{kind:"Button", caption:"DONE", onclick:"requestAccessToken"}
|
{kind:"Button", caption:"DONE", onclick:"requestAccessToken"}
|
||||||
]},
|
]},
|
||||||
{name: "launch", kind: "PalmService",
|
{name: "openBrowser", kind: "PalmService",
|
||||||
service: "palm://com.palm.applicationManager",
|
service: "palm://com.palm.applicationManager",
|
||||||
method: "launch", onSuccess: "launchSuccess",
|
method: "open", onSuccess: "launchSuccess",
|
||||||
onFailure: "launchFailed"
|
onFailure: "launchFailed",
|
||||||
|
subscribe: true
|
||||||
},
|
},
|
||||||
{name: "webSrv", kind: "WebService" }
|
{name: "webSrv", kind: "WebService" }
|
||||||
],
|
],
|
||||||
|
@ -146,9 +147,8 @@ enyo.kind({
|
||||||
blackberry.invoke.invoke(
|
blackberry.invoke.invoke(
|
||||||
blackberry.invoke.APP_BROWSER, args);
|
blackberry.invoke.APP_BROWSER, args);
|
||||||
} else {
|
} else {
|
||||||
this.$.launch.call({
|
this.$.openBrowser.call({
|
||||||
"id": "com.palm.app.browser",
|
"target": url
|
||||||
"params": {"target": url}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"package_format_version": 2,
|
"package_format_version": 2,
|
||||||
"loc_name": "Todo.txt Enyo",
|
"loc_name": "Todo.txt Enyo",
|
||||||
"icon": "icon.png",
|
"icon": "icon.png",
|
||||||
"version": "0.4.1",
|
"version": "0.4.2",
|
||||||
"vendor": "Monkeystew",
|
"vendor": "Monkeystew",
|
||||||
"app": "com.monkeystew.todotxtenyo.beta",
|
"app": "com.monkeystew.todotxtenyo.beta",
|
||||||
"services": ["com.monkeystew.todotxtenyo.beta.service"]
|
"services": ["com.monkeystew.todotxtenyo.beta.service"]
|
||||||
|
|
Loading…
Reference in a new issue