26. March 2011

From Illustrator to Windows Phone 7 application

Adobe AIR is quite advanced platform for building mobile applications. We can take our graphic assets, put them into Catalyst project. We can add some logic and interaction in Flash Builder. The only problem is that actual version of AIR does not support Windows Phone 7. Adobe said that engineers are working on that, but there is no official support yet. Maybe soon, who knows?

The question is how to build app for Windows Phone 7 using our graphic assets. Good news. We can reuse all graphic assets from Illustrator, Photoshop or files in FXG format.

The workflow for WP7 is similar to workflow for Adobe AIR, just tools are little bit different.

We can follow these steps:

  • create assets using Photoshop, Illustrator or Catalyst.
  • grab developer tools from create.msdn.com
  • import assets to Expression Blend 4 and design application layout, save the solution
  • open solution in Visual Studio and add some logic
  • run application on device or in emulator

Here is small video which demonstrates this workflow:

15. March 2011

Microsoft – more than 20 years of compatibility

Adrew Tait recorded very interesting video about upgrading Windows from ancient versions to the latest one. :-)

You can find more details about this story at his blog.

30. January 2011

Developer’s problem: Windows 7 – apostrophe does not work

I found something strange. New default installation of Windows 7 had quite weird behavior of keyboard. Apostrophe, quotation mark, tilde didn’t work properly. I had to press apostrophe and then space bar to write single apostrophe.

The reason is that keyboard layout United States – International treats those keys as special. Here is quote from Microsoft support web page:

When you press the APOSTROPHE ( ‘ ) key, QUOTATION MARK ( ” ) key, ACCENT GRAVE ( ` ) key, TILDE ( ~ ) key, or ACCENT CIRCUMFLEX,. also called the CARET key, ( ^ ) key, nothing is displayed on the screen until you press a second key:

  • If you press one of the letters designated as eligible to receive an accent mark, the accented version of the letter appears.
  • If you press the key of a character that is not eligible to receive an accent mark, two separate characters appear.
  • If you press the space bar, the symbol (apostrophe, quotation mark, accent grave, tilde, accent circumflex or caret) is displayed by itself.

The following table shows the keyboard combinations that you can use to create the desired character.

Solution for developers and sys-admins is quite easy. Change keyboard layout from United States-International to something different. E.g. US.

26. January 2011

IntelliJ Idea – Windows – Git – The remote end hung up

I was trying to clone git repository. I had brand new Windows with Cygwin version of git. Intellij Idea displayed nice helpful error message:

fatal: The remote end hung up unexpectedly

I found article at grublesmurf.org that pointed me to solution.

Problem was that Cygwin was using directory c:\cygwin\home\georgik\.ssh, but Intellij Idea was trying to read c:\Users\georgik\.ssh. I moved .ssh directory to c:\Users\georgik and set HOME variable to %USERPROFILE%.It is also worthy to modify /etc/passwd in cygwin to match that directory.

8. January 2011

How to dump POST response from server

In previous “POST” I mentioned solution how to dump client’s POST request at server side.

What about POST respose?

Start Firefox. Open Firebug Network monitor and…

… and it does not work properly for POST response.

Let’s try different solution. Start Opera. Open Dragonfly Network monitor and..

… and it does not work for POST response. Not implemented yet?

That is quite sad situation, but don’t worry there is simple solution.

There is plugin for Firefox known as HttpFox which works very well. (thanks to E. for link)

I would like to mention also one other tool known as Fideler2. It’s Windows application which allows you to track all HTTP communication from your computer.

Then there is another solution known as Wireshark. The only problem is that Wireshark does not work on Windows with some wireless interfaces.

10. December 2010

Windows sa pokazil? Nehovorte.

Určite sa zoznámte s nástrojmi z dielne Sysinternals (teraz už od Microsoftu): http://technet.microsoft.com/sysinternals

29. October 2010

Oprava inštalácie Flash Playeru pre Firefox/WinXP-CZ

Dobrá správa. :-)

Inštalácia Flash Playeru už opäť funguje na Windows XP – CZ vo Firefoxe.

Vďaka Adobe za vyriešenie problému FP-5556.

18. October 2010

Inštantný HTTP Server

Používatelia Macu a Linuxu možno ani netušia ako jednoducho môžu naštartovať vlastný HTTP server.

Linux aj Mac má často nainštalovaný Python. Používatelia Windows, si môžu Python hravo doinštalovať.

V adresári, ktorý chceme sprístupniť cez HTTP server jednoducho zadáme:

python -m SimpleHTTPServer 8080

Do web prehliadača potom zadáme: http://localhost:8080

Takýto server sa hodí na rýchle testovanie napríklad Flex aplikácií.

4. October 2010

Nie je možné nainštalovať Flash Player do Firefoxu na Windows/CZ

Objavila sa chyba, kedy nie je možné nainštalovať Flash Player do Firefoxu na Windows/CZ.

Inštalácia prebieha z adresy http://get.adobe.com/cz/flashplayer.

Riešenie: zadajte priamo URL, ktoré neobsahuje CZ – http://get.adobe.com/flashplayer.

Chyba je reportovaná na bugs.adobe.com pod kódom FP-5556.

13. August 2010

Viacriadkový príkaz v baťáku

Pokiaľ človek potrebuje rozdeliť jeden dlhý riadok s príkazom na viac menších, tak sa dá použiť znak ^. Znak striešky sa uvedie na konci riadku. Za týmto znakom už nič nenasleduje a pokračuje sa na ďalšom riadku.

Príklad kompilácie AIR aplikácie pomocou bat súboru vo Windows:

amxmlc -output build/build.swf ^
-locale en_US -library-path+=libs ^
-include-libraries+=e:\automation\automation.swc ^
-include-libraries+=libs\automation_monkey.swc ^
-- src/Main.mxml

Znalci shell skriptov zase vedia, že v shell skriptoch sa na rovnaký účel používa znak: \

  • Babel fish

      Translate from:

      Translate to:

  • Where’s the fish?

  • Starfish

  • Fish for you

  • Further info

  • Badges

  • Video channel

  • Learning

    Grow your brain.
  • Tags

  • Topics

  •  

    May 2012
    M T W T F S S
    « Apr    
     123456
    78910111213
    14151617181920
    21222324252627
    28293031  
  • Comments