Skip to content

Instantly share code, notes, and snippets.

View pcamp96's full-sized avatar

Patrick Campanale pcamp96

View GitHub Profile
root@Patrick Campanale's Palm Pre:/# ipkg install /media/internal/com.palm.app.s
kype_1.1-8.3_armv7.ipk --force-depends
ipkg install /media/internal/com.palm.app.s
kype_1.1-8.3_armv7.ipk --force-depends
Begin installation of com.palm.app.skype
Installing com.palm.app.skype (1.1-8.3) to root...
Configuring com.palm.app.skype
Collected errors:
Warning: Cannot satisfy the following dependencies for com.palm.app.skype:
skypem
/* Copyright 2009 Palm, Inc. All rights reserved. */
.notification-title {
font-size: 18px;
font-weight: bold;
color: #fff;
}
.notification-text {
/* Copyright 2009 Palm, Inc. All rights reserved. */
.notification-title {
font-size: 18px;
font-weight: bold;
color: #fff;
}
.notification-text {
nTapAccept:function(){
this.controller.serviceRequest('palm://com.palm.bluetooth/prof/',{
method:'profconnectaccept',
parameters:{profile:'map',address: this.bt_addr,parameters:{accept:true}}
});
this.controller.window.close();
},
var profile = 'map';
switch (event) {
case Bluetooth.serviceDown:
// This scene should not be running if the service went down
this.controller.stageController.popScene();
break;
case Bluetooth.connAccepted:
if(this.deviceDetails.address == address) {
switch(profile){
case 'map':
toggleMapState: function(address,isMapAllowed)
{
this.btMojoService("palm://com.palm.bluetooth/prof/profsetconfig",{address:address, profile:"map",parameters:{enable:isMapAllowed}}, null);
//update trusted device record with new map setting
var i;
for (i = 0; i< this.trustedDevices.length; i++) {
Mojo.Log.info("====== toggleMapState: given addr = " + address + "found addr = " + this.trustedDevices[i].address);
if (this.trustedDevices[i].address == address)
break;
}
this.controller.setupWidget("ippPassFieldId",
this.attributes = {
hintText: $L("InstaPaper Password"),
multiline: false,
enterSubmits: false,
autoFocus: false
},
this.model = {
value: "",
disabled: false
[20120102-19:00:31.612487] error: Uncaught ReferenceError: Mojo is not defined
[20120102-19:00:46.811218] error: Key browserSelection doesn't exist.
[20120102-19:01:00.325775] error: Key inAppBrowser doesn't exist.
[20120102-19:09:29.605041] error: Key inAppBrowser doesn't exist.
showWebview: function(src, url) {
var prefs = new LocalStorage();
if (prefs.read('browserSelection') !== 'inAppBrowser' ) {
prefs.write('browserSelection', 'inAppBrowser');
this.controller.stageController.pushScene('webview', src)
.bind(this);
}
//this.controller.stageController.pushScene('webview', src);
},
showWebview: function(src, url) {
var prefs = new LocalStorage();
if (prefs.read('browserSelection') === 'inAppBrowser' ) {
prefs.write('browserSelection', 'inAppBrowser');
Mojo.Log.info("Preference written for In App Browser");
}
else if (prefs.read('browserSelection') === 'stockBrowser' ) {
prefs.write('browserSelection', 'stockBrowser');
Mojo.Log.info("Preference written for Stock browser")
}