WordPress for BlackBerry 1.0

February 4, 2010 Danilo Leave a comment

I’m very proud to announce that the WordPress for BlackBerry app is now Available.

Categories: Uncategorized

New Year Eve 2010

January 14, 2010 Danilo Leave a comment
New Year Eve

New Year Eve

This movie requires Adobe Flash for playback.

Categories: Uncategorized Tags: , ,

Videopress Service supports 3GP and 3GP2 files

January 14, 2010 Danilo Leave a comment

Testing the 3GP video support on XML-RPC layer using WordPress BlackBerry application

This movie requires Adobe Flash for playback.

Categories: Uncategorized Tags: , ,

an old italian phone

January 1, 2010 Danilo Leave a comment

Categories: Uncategorized

strange winter

December 25, 2009 Danilo Leave a comment

there was a lot of snow some days ago, but now….

Categories: Uncategorized

Snow in Bologna

December 21, 2009 Danilo Leave a comment

The night before….

and the morning after…..

Categories: Uncategorized Tags: ,

Fast preview of a WRT widgets in an emulator

December 5, 2009 Danilo 1 comment

If you preview your widgets in an emulator, reinstalling the widget each time you make a changes can become time-consuming.

Fortunately, there is a shortcut.

Widgets are installed in the emulator’s epoc 32/winscw/C/private/10282822 or epoc 32/winscw/D/private/10282822 folders, depending on the memory location selected for installation, in a subfolder using the widget’s unique name as defined in the Info.plist file.

In a typical installation of the Nokia N97 SDK (for a widget installed on the C drive), the full path to the root folder is C:\S60\devices\Nokia_N97_SDK_v0.5\epoc32\winscw\c\private\10282822.
The widget’s folder contains its components in the same structure as the project folder.

If, for example, the project’s CSS file is changed, it can be copied from the project folder to the corresponding emulator folder. Then, once the widget has been restarted in the emulator, the new CSS file will be in use.

Categories: Mobile dev Tags: , ,

images on Nokia WRT

December 2, 2009 Danilo 1 comment

To avoid imgs flicker in the Nokia WRT you should preload images before they are displayed.
A simple js function for that:

var ImagePreloader = {
list: [],
images: [],
add: function( images ) {
this.list = this.list.concat( images );
},
start: function() {
for (var i = 0; i < this.list.length; i++) {
var img = new Image();
img.src = this.list[i];
this.images.push(img);
}
}
}

function preloadImages() {
ImagePreloader.add( [
"../images/splash.png",
"../images/splash_small.png",
"../images/ProgressBarUnknown.gif",
"../images/pop_up_bg.png",
"../images/shadow.png",
"../images/img-logo_small.png",
"../images/img-branding-background.png",
"../images/disclosure-indicator.png"
] );
ImagePreloader.start();
}

And in your css code you should use the background: url(../images/img-logo_small.png) no-repeat; syntax.

Categories: Mobile dev Tags: ,

A First Look at Nokia WRT

November 30, 2009 Danilo Leave a comment

I’m testing the Nokia WRT platfom for the first time and i’ve just found a weird issue.
On S60 3rd Edition, Feature Pack 2, the following js syntax hang the widget totally:


if(typeof(WP)=="undefined"){WP={};}
WP.Controller = {

isWidget : false,

showSplashScreen : function() {
...
...
}
}

instead this alternative syntax works fine:

if (typeof(WP)=="undefined") {

var WP = {};

WP.Controller = {};

WP.Controller.isWidget = false;

WP.Controller.init = function () {
...
}

}

mha….

Categories: Mobile dev Tags: , ,

time to market

November 25, 2009 Danilo Leave a comment

Marketing time’s

Categories: Uncategorized Tags: