Archive

Archive for the ‘technology’ Category

Updated my phone to Android 1.6

October 4th, 2009 No comments

Today I updated my ADP1 to Android 1.6. I flashed the device using an updated recovery image (read more). The process is simple, this is  how I did it.

First we need to download the radio image and the recovery image from HTC.  After the files are downloaded it’s time start the update. This is a two step process, first we will install the radio image and then the recovery image.

Install the radio image:

  1. Connect the phone to the computer and mount the sdcard.
  2. Copy the the radio image to the root folder of the sdcard.
  3. Rename the file to update.zip.
  4. Unmount the phone.
  5. Turn of the phone by holding down the red “Power” (hang up button) … then confirming with “OK”.
  6. Reboot the phone by holding down the Home button (House symbol) and and at the same time pressing the Power button.
  7. Wait for the triangel. Then hold down alt-key and and press L.
  8. Press alt+S
  9. The update process will now start. The following text will be displayed on the screen:
    Android system recovery utility
    E:Can’t open /cache/recovery/command

    Home+Back – reboot system now
    Alt+L – toggle log t ext display
    Alt+S – apply sdcard:update.zip
    Alt+W – wipe data/factory reset

    Installing from sdcard…
    Finding update package…
    Opening update package…
    Verifying update package…
    Installing update…
    formatting BOOT:…
    Extracting radio image…
    Formatting SYSTEM:…
    Copying files…
    Writing BOOT:…
    Deleting files…
    Installation complete.

    Press Home+Back to reboot.

  10. Now press Home and the Back buttons and the phone will reboot. Be patient here because it will reboot a couple of times.
  11. The radio image is now installed and it’s time to install the recovery image.

Install the recovery image:

  1. Connect the phone to the computer and mount the sdcard.
  2. Copy the the recovery image to the root folder of the sdcard.
  3. Rename the file to update.zip.
  4. Unmount the phone.
  5. Turn of the phone by holding down the red “Power” (hang up button) … then confirming with “OK”.
  6. Reboot the phone by holding down the Home button (House symbol) and and at the same time pressing the Power button.
  7. Wait for the triangel. Then hold down alt-key and and press L.
  8. Press alt+S.
  9. The update process will now start. The following text will be displayed on the screen:
    Android system recovery utility
    E:Can’t open /cache/recovery/command

    Home+Back – reboot system now
    Alt+L – toggle log t ext display
    Alt+S – apply sdcard:update.zip
    Alt+W – wipe data/factory reset

    Installing from sdcard…
    Finding update package…
    Opening update package…
    Verifying update package…
    Installing update…
    formatting BOOT:…
    Extracting radio image…
    Formatting SYSTEM:…
    Copying files…
    Deleting files…
    Deleting files…
    Deleting files…
    Deleting files…
    Deleting files…
    Deleting files…
    Deleting files…
    Deleting files…
    Writing BOOT:…
    Installation complete.
    Install from sdcard complete.

    Press Home+Back to reboot

  10. Press Home+Back to reboot. At this point the image will be written to the phone. Now press Home and the Back buttons and the phone will reboot, at this point the image will be written to the phone. Be patient here because it will reboot a couple of times.

That was it. The Donut is now installed. :-)

Categories: technology Tags:

I’m now using my Google Apps account on Android

May 31st, 2009 No comments

When I bought my Android phone 6 months ago I wasn’t able to use my Google Apps account for my own domain (merikan.com). The only account that worked was my GMail account, so I have been using this until today. I wasn’t so eager to switch since i have all my IM friends connected to my GMail account but now I have changed this so it was time to do a change on my phone to.

I didn’t want to reset my phone to make that change so I did a little googling on the subject. I found this blog post that put me in the right direction. All I had to do was to run the setup wizard and to be able to run that I install the Any Cut application from the Market. Add a short cut to Setup Wizard (I had two and it was the second one ;-) ). I ran the setup wizard and that was it. I’m now using my Google Apps account on my Android phone.

Still have problem with Anroid Market since it can’t connect with this new account. When I run it it says: “No downloads from Android Market”. If you know how to fix this, help is appreciated.

Categories: technology Tags:

Problem med flash i Ubuntu

May 22nd, 2009 No comments

Har haft lite trubbel med flash spelaren på min Ubuntu maskin. Vet att när jag satte upp den så valde jag en av tre flash spelare för Firefox. Kommer inte ihåg vilken jag valde men efter mycket dribblande i Firefox så gav jag upp. Ibland funkade det och ibland inte. Till slut hittade jag en lösning som fick det hela till att fungera. Jag gjorde enligt följande:

  1. Öppna ett terminal fönster.
  2. Kör följande kommando:
    $ sudo apt-get purge adobe-flashplugin flashplugin-nonfree gnash gnash-common libflashsupport mozilla-plugin-gnash nspluginwrapper swfdec-mozilla && sudo apt-get install flashplugin-nonfree
    
  3. Starta om Firefox
  4. Testa mot http://playrapport.se

Fungerade klockrent efter det. :-)

Categories: technology Tags:

Installera Java utvecklingsmiljö i Ubuntu, del 2

May 5th, 2009 No comments

Då var det dags för nästa del av min installation av utvecklingsmiljön i Ubuntu 9.04. Subversion och Java JDK är avklarat.

  • Subversion
  • Java JDK
  • Eclipse
  • Maven
  • Ant
  • Groovy och Grails
  • Firefox Plugins
  • och några fler… ;-)

Eclipse

Installera Eclipse 3.4 Ganymede

  1. Gå till Eclipse nedladdningssida och ladda ner det paket du vill använda.
  2. Packa upp paketet
    $ tar zxvf downloads/eclipse-jee-ganymede-SR2-linux-gtk.tar.gz
    
  3. Byt namn och flytta det till /opt (skapa opt om den inte finns)
    $ sudo mkdir /opt
    $ mv eclipse eclipse-3.4
    $ sudo mv eclipse-3.4 /opt
    
  4. Skapa nu en genväg till Applications
    1. Högerklicka på Applications och välj Edit Menus.
    2. Markera Applications|Programming under Menus: och välj sedan New Item. Ett nytt fönster öppnas “Create Launcher”
    3. Fyll i värden för den Eclipse installationen du gjorde och klicka sedan på OK.
      Name: Eclipse-3.4
      Command: /opt/eclipse-3.4/eclipse
      Comment: Eclipse 3.4 Ganymede
  5. Done

Maven

Installera Maven 2.0.10

  1. Ladda ner Maven från Apache (http://maven.apache.org/download.html).
  2. Packa upp paketet
    $ tar zxvf downloads/apache-maven-2.0.10-bin.tar.gz
    
  3. Flytta katalogen till /opt
    $ sudo mv apache-maven-2.0.10/ /opt
    
  4. Lägg nu till miljövariablerna MAVEN_HOME och MAVEN_OPTS.
    $ nano ~/.bashrc
    

    Och lägg till följande rader.

    # Maven
    export MAVEN_HOME=/opt/maven-2.0.10
    export MAVEN_OPTS=-Xmx512m
    export PATH=$PATH:$MAVEN_HOME/bin
    

    Ladda om .bashrc.

    $ source ~/.bashrc
    

    Kontrollera att allt funkar.

    $ mvn --version
    Maven version: 2.0.10
    Java version: 1.6.0_13
    OS name: "linux" version: "2.6.28-11-generic" arch: "i386" Family: "unix"
    
  5. Done.
Categories: technology Tags:

Installera Java utvecklingsmiljö i Ubuntu

May 5th, 2009 No comments

Dags att sätta upp utvecklingsmiljön i min nyinstallerade Ubuntu 9.04. Jag kommer att installera följande programvaror:

  • Subversion
  • Java JDK
  • Eclipse
  • Maven
  • Ant
  • Groovy och Grails
  • Firefox Plugins
  • och några fler… ;-)

Subversion

Installera SVN CLI

  1. Öppna ett terminalfönster (shell) och kör följande kommando:
    $ sudo apt-get install subversion
    

    Kontrollera att allt gick bra.

    $ svn --version
    svn, version 1.5.4 (r33841)
    compiled Feb 23 2009, 20:42:53
    
    Copyright (C) 2000-2008 CollabNet.
    Subversion is open source software, see http://subversion.tigris.org/
    This product includes software developed by CollabNet (http://www.Collab.Net/).
    

    Allt gick bra och version 1.5.4 är installerad.

Installera NautilusSVN.

  1. Denna programvaran laddar du hem här ifrån och det är Debian paketet du skall ladda hem.
    $ wget http://nautilussvn.googlecode.com/files/nautilussvn_0.12-1ubuntu2_all.deb
    
  2. Installera paketet du laddade hem.
    $ sudo dpkg -i nautilussvn_0.12-1ubuntu2_all.deb
    
  3. Starta om Nautilus. Om du sedan högerklickar i Nautilus så får du fram några svn alternativ.
    $ nautilus -q
    

    nautilussvn

Önskar att det fanns en plugin till Firefox som kunde integrera med NautilusSVN precis som TortoiseSVN Menu gör i Windows. Himla smidigt när man surfar till ett repository och sedan kan böra ladda ner det direkt. Man kanske skulle klona TortoiseSVN så att den funkade för NautilusSVN (visst, om jag bara hade tid ;-) ).

Java JDK

Jag har tänkta att installera flera versioner av Java JDK, version 5 och 6.

  1. Öppna ett terminalfönster (shell) och kör följande kommando:
    $ sudo apt-get install sun-java5-jdk sun-java6-jdk
    

    Man väljer vilken som skall vara default JDK och om man senare vill ändra detta så kör man bara följande:

    $ sudo update-alternatives --config java
    
  2. Lägg nu till JAVA_HOME variabeln.
    $ nano ~/.bashrc
    

    Lägg till följande rad

    export JAVA_HOME=/usr/lib/jvm/java-6-sun
    

    Ladda om .bashrc

    $ source ~/.bashrc
    

    Kontrollera att miljövariabeln är satt.

    $ echo $JAVA_HOME
    /usr/lib/jvm/java-6-sun
    

Det kommer mera snart….

Categories: technology Tags:

Problem with SyntaxHighlighter Evolved in WordPress MU 2.7.1

May 5th, 2009 No comments

I installed SyntaxHighlighter Evolved a couple of days ago but I wasn’t sure how to use, I couldn’t get it to work. After a while I saw the following error message “Warning: htmlspecialchars_decode() expects parameter 1 to be string”. After a quick Googling for that phrase I found this post that led me to the the following bug report with the solution.

The line in error is line 104 in wp-includes/compat.php:

if ( !is_scalar( $string ) ) {

should be

if ( !is_scalar( $str ) ) {

I did the change and now it works perfect. :-)

Categories: blog Tags:

WordPress is updated to the latest version

May 2nd, 2009 No comments

Hi folks

I have updated this blog server to the latest version (wordpress mu 2.7.1). It all went well and this time I decided to use the wordpress built in updater. First I did a full backup of all folders and the wordpress database (just in case ;-) ). Then all I had to do was to press the update button. Done!!! I’m impressed, kudos to all you wordpress developers.

I also updated all plugins that was installed except for the LightBox 2 plugin. I can’t get that to work in 2.7+ version of wordpress. I tried to install the 2.0.2 version but it didn’t work so I had to downgrade to 1.8.2.

I installed the SyntaxHighlighter Evolved plugin and OpenID plugin. SyntaxHighlighter Evolved allows you to easily post syntax-highlighted code to your site without loosing it’s formatting or making any manual changes. It uses the SyntaxHighlighter JavaScript. The OpenID plugin allows users to login to their local WordPress account using an OpenID, as well as enabling commenters to leave authenticated comments with OpenID. I promise to write more about OpenId and how to use it.

thats all, see ya

Categories: blog Tags:

Themes finally reached Google Apps Mail

April 1st, 2009 No comments

When logging in to my e-mail account at Google Apps today I found out that they now have integrated themes into the mail service. Just select settings and then Themes, then you have a lot of themes to choose from.

Let me know, which one is your favorite theme.

Categories: google Tags:

Här händer det grejer……

February 12th, 2009 1 comment

Hallo allihopa, Peter is back ;-)

Jag har uppdaterat bloggen till WordPress MU version 2.7, hoppas allt skall fungara ok. Jag har inte hittat några fel än så länge.

Passade även på att lägga till lite teman,  iNove, Atahualpa och Gear. När jag ändå var igång mig så installerade jag Farms 100 big ones theme pack , 100 goa teman på ett bräde. Så nu finns det att välja på.

Installerade även tre plugins för att förhoppningsvis förhindra spam. Installerade Farms comment spam pack som innehåller Simple Trackback Validation, Simple Spam Filter och Peter’s Custom Anti Spam Image Plugin.

Ha det bra så länge. Ja just det, jag är äntligen klar med förarbetet på duschen och badrummet, så nu är Håkan här och kaklar.

Tjipp

Categories: blog Tags: ,

I am now able to see Gmail Labs in my Google Apps mail account.

December 17th, 2008 No comments

I found out today that GMail labs is available in my Google Apps mail account. Take a look in Settings | [Labs] and youy will find a bunch of cool labs. If you can’t see them, ask your admin to enable New Services and Features in the Google Apps control panel.

Hmmm, still waiting for Google Labs, such as Google Reader etc. Maybe Santa will bring those features ;-)

Categories: google Tags: