]>
git.proxmox.com Git - sencha-touch.git/blob - src/src/device/device/Sencha.js
4 Ext
.define('Ext.device.device.Sencha', {
5 extend
: 'Ext.device.device.Abstract',
7 constructor: function() {
8 this.callSuper(arguments
);
9 this.name
= device
.name
;
10 this.uuid
= device
.uuid
;
11 this.platform
= device
.platformName
|| Ext
.os
.name
;
12 this.scheme
= Ext
.device
.Communicator
.send({
13 command
: 'OpenURL#getScheme',
17 Ext
.device
.Communicator
.send({
18 command
: 'OpenURL#watch',
20 callback: function(scheme
) {
21 this.scheme
= scheme
|| false;
22 this.fireEvent('schemeupdate', this, this.scheme
);
29 openURL: function(url
) {
30 Ext
.device
.Communicator
.send({
31 command
: 'OpenURL#open',