Archivi Blog

Sencha Touch 2.3 – Orientationchange event does not fire on Viewport

There’s a bug on sencha 2.3 about event orientationChange of viewport This event isn’t fired: a workaround for this is to create a subcription on app launch Ext.Viewport.bodyElement.on(‘resize’, Ext.emptyFn, this, { buffer: 1}); http://www.sencha.com/forum/showthread.php?272988-New-version-Sencha-Touch-2.3-Orientationchange-event-does-not-fire-on-Viewport&p=1006877         Annunci

Tagged with: , , , , ,
Pubblicato su Uncategorized

Sencha Touch – Remove android toolbar

At default sencha cmd compile app with android toolbar! To remove it, you must add this attribute to AndroidManifest.xml in folder ..\Sencha\Cmd\xxxcmd_versionxxx\stbuild\st-res\android   Result: Source:  http://www.sencha.com/forum/showthread.php?259817-3.1.0.256-Strange-Android-Titlebar-on-native-Apps/page2

Tagged with: , , , , , , , , ,
Pubblicato su Uncategorized

Sencha Command – Java Heap

My sencha cmd create me some problems on compilation because it can’t take enough memory! The building show an error about java heap space after a stop of some minutes. So.. to increase it, you open sencha.cfg in ..\Sencha\Cmd\xxxVersionxxx\ search

Tagged with: , , , , , , , , , , , , , , , , ,
Pubblicato su Uncategorized

Ext Field: Change value without firing events!

To change a value of a Ext field without firing events it’s enough suspend events, do the action and reactive the events!

Tagged with: , , , , ,
Pubblicato su Uncategorized

Android device manager

Finally google added a method to allow to track down a device registered on our profile! Now, not only Apple users can find their iPhone (by Find my IPhone feature), infact google introduced Android device manager about a month ago! To access it open

Tagged with: ,
Pubblicato su Uncategorized

Demo effect!

Demo effect: too many user = too many client = web server KO!  Argh!

Tagged with: , , ,
Pubblicato su Uncategorized

laziness

I started to view “big bang theory” in streaming! The first step was to connect the tv to the pc with an HDMI cable: Now I could view the series comfortably lying down on my bed! But the problem was

Tagged with: , , , , ,
Pubblicato su Uncategorized