Skip to content

Taking screenshots and recording screencasts on Android phone

No need to root your phone.

Setting up your phone

Download and install Android SDK on your PC.

Connect your phone in USB debugging mode and make sure your phone is detected properly by

sdk/tools/adb devices

Taking screenshots

Run

sdk/tools/dbms

Once it starts, select your phone and press CTRL+S or goto menu Device > Screen Capture

Recording screencasts

Make sure you have Java Runtime Environnement 5 or later installed

Run androidscreencast from google code project

Advertisements

Browser choice

I took these screenshots when updating a freshly installed Windows XP SP3.

First, I was presented with browser choice:

choose browser

I was able to choose Firefox:

download firefox

After that, i decided to install Firefox manually.

Fixing Eclipse in Ubuntu 9.10 Karmic Koala

The fix is relatively simple. Create a file in your home folder (or wherever you want) called eclipsefix.sh – open it and add the following lines:

export GDK_NATIVE_WINDOWS=true
/opt/eclipse/eclipse

(where /opt/eclipse/eclipse is the location of your eclipse application file).

Make sure you make it executable (chmod +x ~/eclipsefix.sh) then go to whatever shortcut you usually use to open Eclipse and change the command to point towards the file you just created (ie,/home/mou/eclipsefix.sh).

Now whenever you open Eclipse using this shortcut, the script will run and eclipse should work as expected.

According to the eclipse bug tracker, this issue should be fixed in Eclipse 3.5.2

Compile MonoDevelop 2.2 from SVN in Ubuntu 9.10

sudo aptitude remove monodevelop
sudo apt-get build-dep monodevelop
sudo aptitude install subversion gnome-sharp2 libmono-microsoft-build2.0-cil
svn co svn://anonsvn.mono-project.com/source/trunk/monodevelop monodevelop-svn
cd monodevelop-svn
./configure --profile=core
make
sudo make install

Access Denied on some files in XP shared folder

Sometimes you add new files or folders to a shared directory in Windows XP and they cannot be opened. You have to refresh permissions inside your shared folder, like this:

CACLS C:\MySharedFolder\*.* /T /e /g Everyone:c

Controlling VMware Server services

Setting startup of services to manual

The solution is as simple as it is evident – in other words simply stopping the services from loading automatically at system boot while still making it possible to use VMware Server without having to manually start all services in the expected order.

What we’re going to do to start with is to set all of the relevant services startup to manual, and this is easily done by first clicking on the Start-button followed by using the “Run…”-option to run the command “services.msc”. You should now get an overview over all system services, and you can set each of the services startup-mode to manual by first right-clicking each service and selecting properties followed by the actual adjustments.

    Easily starting and stopping the services

    In order to use VMware Server you would now ordinarily have to go back to the tool previously used, “services.msc”, and starting the services manually, but that frankly seems to be a little too much work to bother with so we’re going to make a couple of batch-files to do this for us. The following two sections detail the contents of these files, and in case you’re wondering you can simply copy the content and paste them in a text-editor such as Notepad and then saving them with an appropriate name. Using them is simply done by double-clicking on them and letting the computer do the rest.

    Contents of “VMware start.bat”:

    @echo off
    echo --- Starting VMware Server services
    net start "VMware Authorization Service"
    net start "VMware Registration Service"
    net start "VMware DHCP Service"
    net start "VMware NAT Service"
    net start "VMware Virtual Mount Manager Extended"

    Contents of “VMware stop.bat”

    @echo off
    echo --- Stopping VMware Server services
    net stop "VMware Registration Service"
    net stop "VMware Authorization Service"
    net stop "VMware DHCP Service"
    net stop "VMware NAT Service"
    net stop "VMware Virtual Mount Manager Extended"

    Windows XP SP3 update problems

    After updating to SP3 Windows refused to install any update. This helped: put the following into fix.bat and run it:

    net stop wuauserv
    regsvr32 wuapi.dll
    regsvr32 wuaueng.dll
    regsvr32 wuaueng1.dll
    regsvr32 wucltui.dll
    regsvr32 wups.dll
    regsvr32 wups2.dll
    regsvr32 wuweb.dll
    net start wuauserv