domenica 31 gennaio 2010

Feyenoord - Ajax 1-1

Pantelic score in the first half for Ajax. Second half, Wijnaldum equalizes take advantage of an error of Emmanuelson, left back of Ajax.

Good chances for Feyenoord with Tomasson and Makaay.

Interesting young players in the Feyenoord line: Wijnaldum, Fer and the 17-years-old defender De Vrij.

lunedì 11 gennaio 2010

Access android database from the shell

It is very important knowing what we save in the database of our application. To check easily the stored data you can access the database following these steps:

  1. Launch the emulator

  2. Launch the Windows command prompt and go under the "Tools" directory in the android sdk folder

  3. Type "adb shell"

  4. Type "cd data/data"

  5. You find the list of all applications. Enter in your application folder (for example "mypackage.myapp")

  6. Type "cd databases". You find all the databases. 

  7. Launch "sqlite3 <name_of_database>

Type ".help" to have all the instructions.
With the command ".tables" you can list all the database's tables.

Now you can write your query: select * from <name_of_table>.

lunedì 16 novembre 2009

martedì 3 novembre 2009

Xperia10: first Android Sony Ericsson handset

The number of Android phones keeps growing. New enter in the manufacturers using the open source OS is Sony Ericsson with its new XPERIA10.

From Sony Ericsson developer website:

Sony Ericsson today unveils the XPERIA™ X10, the first phone in a family of phones to deliver a consistent user experience where communication truly becomes entertainment.

<><>
<><>
<><>
<><>
<><>
<><>
<><>



XPERIA™ X10 is Sony Ericsson’s first phone on Google’s Android OS platform. XPERIA™ X10 has a 4 inch 854 x 480 pixel screen with a capacitive mineral glass touch-screen, fast 1GHz Qualcomm Snapdragon™ processor, 1GB internal storage with additional storage via microSD™ card, an 8.1 megapixel camera with autofocus, Wi-Fi 802.11g and HSPA at 7.2Mbps download.

With the power and features of the XPERIA™ X10 and the open software platform, developers have a compelling opportunity to create, share and sell applications.

lunedì 12 ottobre 2009

Check if a J2ME application has been sent to background correctly

Some device allow to put a J2ME application in background with this piece of code:
display.setCurrent(null);

To check if the cal was succesfull, we can use the isShown() method of the class displayable. So if m_disp is your displayable you can use:

if ( m_disp.isShown() ) {
    // method didn't work
 }
 else {
    // app is in background
 }

mercoledì 7 ottobre 2009

Fifa10 su Iphone per 7.99 euro

One of the most popular soccer (or football to say in English UK) game is available on the AppStore. It costs 7.99 euro.

To be honest several reviews are not really good especially for the graphic that needs to be improved and for the usability.....

Here you are one screenshot:


fifa10

martedì 6 ottobre 2009

Spetactor replaces official refree giving three penalties. No onecomplains

The incredible fact happend during an amateur match in the last weekend in the Italian small city of Narni Scalo in Umbria. The official refree failed to show for the match so a spetactor decided to ask to replace him.

During the game the refree gave three penalties and no big complains came from the crowd watching the game.

The spectator was a member of the federation of refrees of Umbria but the other spectators didn't know that and they were a way more polite than in situation where they know the refree comes from the federation.