domenica 17 novembre 2013

obect c on eclipse

http://wirecode.blogspot.it/2007/11/objective-c-and-eclipse.html?m=1

sabato 5 ottobre 2013

android socket programming

http://www.edumobile.org/android/android-development/socket-programming/

lunedì 19 agosto 2013

Sikuli automate screenshoot

Sikuli automates anything you see on the screen. It uses image recognition to identify and control GUI components. It is useful when there is no easy access to a GUI's internal or source code. http://www.sikuli.org/

Android Test case

Good article for automating tests on device. http://www.jimmycollins.org/blog/?p=633

martedì 9 luglio 2013

Phonegap x ios setup

http://www.adobe.com/devnet/html5/articles/getting-started-with-phonegap-in-xcode-for-ios.html

phonegap enviroment setup

http://oodlestechnologies.com/blogs/Installing-and-configuring-PhoneGap-for-iOS,-Android-and-Windows-Mobile-development-projects

lunedì 8 luglio 2013

scrollview android

http://stackoverflow.com/questions/7182575/stretching-tablelayout-inside-scrollview

android scrollview and fillviewport parameter

http://developer.android.com/reference/android/widget/ScrollView.html

sabato 6 luglio 2013

andtoid clipboad copy and paste

http://stackoverflow.com/questions/9027629/android-clipboard-code-that-works-on-all-api-levels

andrid copy to clipboard

http://stackoverflow.com/questions/6624763/android-copy-to-clipboard-selected-text-from-a-textview

lunedì 24 giugno 2013

phonegap json mobile

http://stackoverflow.com/questions/16648753/sending-and-receiving-json-data-phonegap-jquery-mobile-app-using-ajax

domenica 23 giugno 2013

ajax mobile cross site request

http://richdotnet.blogspot.it/2012/07/cross-domain-ajax-calls-with-phonegap.html?m=1

sabato 22 giugno 2013

ajax jquery call

http://stackoverflow.com/questions/5977872/ajax-on-jquery-mobile

giovedì 20 giugno 2013

android phonegap set wallpaper

http://stackoverflow.com/questions/10025625/how-to-set-image-as-wallpaper-using-android-phonegap

html play audio backgroud

http://stackoverflow.com/questions/187098/cross-platform-cross-browser-way-to-play-sound-from-javascript

mercoledì 13 febbraio 2013

Oracle sql sum with case


On this table :
CREATE TABLE VOCEX
(
  VOCE         NUMBER,
  IMPORT       NUMBER(2),
  DESCRIZIONE  VARCHAR2(20 BYTE),
  DIPEND       VARCHAR2(8 BYTE)
)



select DIPEND, max(voce_100_200),max(voce_300) from(
select
DIPEND,
( CASE
 when vocgrup = 'Ferie' then  SUM(import)
   else   0
END
) as voce_100_200,
(case
 when vocgrup ='Malattia' then sum(import)
  else   0
end
) as voce_300
 from (SELECT DIPEND,VOCE,IMPORT,( CASE
 when VOCE in (100,200) then  'Ferie'
 when VOCE in (300) then  'Malattia'
   else   'A'
END
) as vocgrup FROM VOCEX) P
group by P.DIPEND,vocgrup)
group by DIPEND