Android Simulator/Emulator: Delete directory

One thing maybe (or maybe not) you’ve noticed is that you can’t delete an entire directory using DDMS on eclipse.

To be able to delete a directory on simulator sd card you can use the ADB command and connect to device via shell.

The first thing to do, is to go to “<android-sdk-PATH>/platform-tools” and from there type:

./adb devices

Then connect via shell to the device that you want:

./adb -s emulator-5554 shell

Now you’ve connected to the device “emulator-5554″  and now you can remove the files or directories that you want!

How to configure Pidgin 2.5.2 in Ubuntu 8.10 (intrepid ibex) to use Google Talk

Pidgin it’s a chat client that support multiple protocols like:

  • AIM
  • Google Talk
  • IRC
  • MSN
  • MySpaceIM
  • XMPP
  • and more…

To install it in Ubuntu just run in the console:

sudo apt-get install pidgin

The first time you open it, it asks you to add an account:

Pidgin add account
Pidgin add account

Then you can choose which protocol to use. Here I’ve choosed “Google Talk” protocol and put my login info:

Pidgin with Google Talk protocol
Pidgin with Google Talk protocol

And its done :)

Pidgin Buddy List
Pidgin Buddy List

Upgrade to kernel-2.6.27-11-generic on LG-500

Today I’ve upgraded my kernel to 2.6.27-11-generic, and some fixes were necessary to get my Ubuntu to work again.

I tried to open VirtualBox but I get this error:

VirtualBox error
VirtualBox error

Executing the command that they suggest worked like a sharm:

sudo /etc/init.d/vboxdrv setup

The other problem was due to wireless. Again I needed to recompile the madwifi so I could get it to work for the new kernel. I’ve Followed the post Re: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01) and it’s working again! :)

VirtualBox 2.1.2 in Ubuntu 8.10

VirtualBox is an application that allows you to have several virtual machines inside your operative system.

Unfortunately the VirtualBox version 2.1.2 still isn’t on Ubuntu repository, but if you go to Download VirtualBox for Linux Hosts there you find a version that will run on Ubuntu!

Installing and running is really straight forward, but I had a problem when I tried to start a virtual machine:

VirtualBox can’t operate in VMX root mode. Please disable the KVM kernel extension, recompile your kernel and reboot (VERR_VMX_IN_VMX_ROOT_MODE).

To fix this I’ve just followed the indications in VirtualBox can’t operate in VMX root mode.

Here is VirtualBox 2.1.2 running Windows XP inside Ubuntu in Seamless mode

VirtualBox
VirtualBox

Subclipse 1.4.7 in Eclipse 3.4 (Ganymede) using Ubuntu 8.10

Since I’ve made a Fresh Ubuntu install in my laptop, now I’ve to setup the environment so I can do some working in the laptop ;)

The company that I’m working now only uses PHP, so the production IDE that I use is Eclipse PDT. The great thing about Eclipse, is it’s huge plugin repository, and the one that’ll be talking here is the Subclipse.

Subeclipse is on 1.4.7 version and it’s a great SVN plugin (the only one I know ;)).

Installation Instructions

This installation instructions are based on Download and Install with the difference that here I’ll be showing Subclipse installation process for Eclipse 3.4 (Ganymede) and screens were captured in Eclipse 3.4.0 running on Ubuntu 8.10.

Step 1:

Begin the installation from the Eclipse Help menu item.

Software Updates
Software Updates

Step 2:

This screen will vary depending on the features you have installed already. You want to click on the New Remote Site button. If you are behind a proxy and the Eclipse install mechanism does not work, then you can download a zipped version of the update site and then click the New Local Site button instead.

Software Updates and Add-ons
Software Updates and Add-ons

Step 3:

This screen is showing the Add Site dialog, filled in with the correct information to install Subclipse 1.4.7 (url: http://subclipse.tigris.org/update_1.4.x)

Add Site
Add Site

Step 4:

When you first come back to this screen, the site you added will NOT be selected. Be sure to select it before clicking Next.

Install
Install

Step 5:

This next screen shows all of the features that are available to install.

Confirm Install
Confirm Install

Step 6:

Click the button to accept the license agreement.

Confirm
Confirm

Step 7:

Eclipse needs to be restarted after installing Subclipse.

Restart
Restart

Step 8:

Finally, after restarting Eclipse, you can do Import and checkout a Project from SVN

Import
Import