Skip to main content

Posts

Failed to successfully run an emulated Android device on Ubuntu 11.04

 I was trying to play with Android platform on Ubuntu 11.04 but I hit a roadblock trying to run an emulated Android device using a non-root account. Did an strace but nothing stands out, not that I am an expert. Searching the web does not provide me with something really useful. Here few things interesting. Running an android virtual device as root works as expected. But running an android virtual device as a regular user halt/stops at a blank window for the emulated device. Running it verbose shows the following: //---- some of the strings removed ---- . QEMU options list: emulator: argv[00] = "./emulator-arm" emulator: argv[01] = "-android-hw" emulator: argv[02] = "/home/timus/.android/avd/e.avd/hardware-qemu.ini" Concatenated QEMU options:  ./emulator-arm -android-hw /home/timus/.android/avd/e.avd/hardware-qemu.ini emulator: registered 'boot-properties' qemud service emulator: nand_add_dev: system,size=0x4e00000,initfile=/home/ti

Error deleting :Zone.Identifier access is denied running stream.exe from Technet

Part of Windows NTFS is to support multiple stream for a single file. Most applications only access the main stream and this is what's normally readable information. Multiple streams in a file is also being used by Internet Explorer to tag files download from the internet. The additional information, among other things, saves the zone information about the file. This is mainly used for security purposes like warn a user that certain files was coming from an untrusted sources. Unfortunately this also introduces complication to handling files from the internet specially if the source is trusted. There is a tool from Technet   which can remove the streams added by Internet Explorer. The first time I used the application I am seeing " Error deleting :Zone.Identifier access is denied " when operating on files that was extracted from a zip file. I was expecting that it should be able to handle those files as well. It seems like this might a bug of the streams.exe applicatio

Android emulator-arm.exe crashing in Windows XP

I have tried to install Android SDK (r12) to start playing with developing applications for the platform. For no reason, I picked Windows XP Sp3 as my development OS. Customary to getting started with new programming language or platform is to create the equivalent "Hello World". The sample program was small and easy to digest but running it for the first time was not a good experience. The default Android Virtual Device configuation as per the tutorial keeps crashing on Windows XP. This is the message that I am seeing: emulator-arm.exe has encountered a problem and needs to close. We are sorry for the inconvenience Searching the blogosphere shows the following sites that standout: Emulator.exe not working properly ( stackoverflow ) Emulator crash on QVGA-L resolution ( Google Code ) The information from Stackoverflow did give a good hint as to what might be the issue. It seems like the Android SDK, specially the emulator, does not like spaces in the directories

Linux rdesktop looped to remote desktop another Windows how to send secure attention sequence

Connecting from Windows Server 2008 R2 from Linux is made easy using rdesktop. But if you want to connect from your W2k8 box to another Windows box, as part of Windows security you are requested to send CTRL+ALT+END. Doing so does not work. So what's the key sequence to send secure attention sequence ? It is Control+Alt+End :(

Ubuntu 11.04 Natty Narwhall in VirtualBox

It is time for me again to upgrade my Ubuntu 11.04 (Natty Narwhall) as a guest machine. I know I know I should use Linux in my host machine but my main work is basically using Windows so no escaping for me to  use this OS if I want to keep relevant in the workplace. Nothing is really earth shattering with the new release except for the much debated Unity. Other than that  same old same old in the Linux land. Below is my VirtualBox guest configuration: General Name: ubu1104 OS Type: Ubuntu System Base Memory: 1024 MB Processor(s): 1 Boot Order: CD/DVD-ROM, Hard Disk VT-x/AMD-V: Enabled Nested Paging: Enabled Display Video Memory: 64 MB 3D Acceleration: Enabled 2D Video Acceleration: Disabled Remote Desktop Server: Disabled Storage IDE Controller IDE Secondary Master (CD/DVD): Empty SATA Controller SATA Port 0: ubu1104.vdi (Normal, 80.00 GB) Audio Host Driver: Windows DirectSound Controller: ICH AC97 Network Adapter 1: Intel PRO/1000 MT Desktop (Bridged adapter, Realtek

Google Chrome v12 not working in openSUSE 11.4

Just installed Google Chrome v12 in openSUSE 11.4, everything seems great. But when I tried to run it nothing happens. I fired up konsole and this shows up timus@opensuse114:~/Downloads> google-chrome /usr/bin/google-chrome: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory timus@opensuse114:~/Downloads> Looks like we have missing dependencies. Searching repo, like: zypper search libpng shows the following... S | Name                  | Summary                                                      | Type   --+-----------------------+--------------------------------------------------------------+--------   | libpng12-0            | Library for the Portable Network Graphics Format (PNG)       | package   | libpng12-compat-devel | Development Tools for applications which will use the Libpng | package   | libpng12-devel        | Development Tools for applications which will use the Libpng | package i | li