Flash player debugger on Linux x64 revisited

Hi there,

If you remember older post about it: Flash Player debugger for Linux x64
...it may not always work - recently I come across the error message:
"no appropriate viewer found" (when running nspluginwrapper on the plugin)

So there is other solution which worked for me.

1. Install flashplugin-installer package:
sudo apt-get install flashplugin-installer

2. Wrap it up:
sudo apt-get install nspluginwrapper
sudo cp ~/Downloads/libflashplayer.so /usr/lib/flashplugin-installer/
sudo nspluginwrapper -i /usr/lib/flashplugin-installer/libflashplayer.so

That's it! You should now have a debugger version of flash player plugin!



Android dev environment to work with Android OS on VirtualBox

Hi there,

Following the post about installing Android OS on VirtualBox: http://devmain.blogspot.co.uk/2014/04/how-to-install-android-on-virtualbox.html
it would be useful to make use of such virtual device.

This is an alternative to using built-in Android device emulators, e.g. available from Android Device Manager on the IDE. Now from my experience it's extremely slow to run and debug apps from Eclipse (with Android Plugin) on the emulated mobile devices - at least on Linux based OS. So running it directly on Android OS installed on VBox sounds good to me ;-)

And it's quick and easy to make it work.
First step is to find out the IP address of your Android system:
1. On running OS on VBOX press ALT+F1 to open console window.
2. Use ifconfig command to get the IP address, i.e.:
ifconfig eth0 (or wlan0 depending on the network settings)
3. Press ALT+F7 to back to default view.

Second step is to connect ADB tool to your device:
1. From usual Linux console run the following command:
adb connect <ANDROID_DEVICE_IP_ADDRESS>

ADB is a tool which should be available within Android SDK tools directory.

And finally when you run mobile app code from your IDE it should see your VirtualBox machine as an available device to run on. In other words it should act like a normal mobile phone connected via USB or whatever.

And that's it I guess :)


Linux Ubuntu - touchpad not working fix

Hi,

Finally I've managed to resolve the issue with broken touchpad on my Dell laptop under Ubuntu 12.04 OS :)

Run the following commands as sudo:
sudo modprobe -r psmouse
sudo modprobe psmouse proto=imps
That should do the trick :D



How to install Android on VirtualBox

Hi there,

Today will be giving instructions about installing Android OS on the VirtualBox.

Pre-steps / requirement:
1. Download the latest Android ISO image: http://code.google.com/p/android-x86/downloads/list

2. Download and install VirtualBox: https://www.virtualbox.org/wiki/Downloads

How to step by step:
  1. From VirtualBox create new virtual machine from the "New" button.
  2. Give a name and choose system Linux 2.6.
  3. Assign memory - usually over 512 MB should be more than enough.
  4. Create new virtual disk with hard drive size of 3 GB or more.
  5. Select the newly created machine and go to "Settings"
  6. From Storage -> IDE Controller add/select CD/DVD drive start disk to be Android image downloaded earlier.
  7. Double click the machine to start it.
  8. Select install Android on hard disk.
  9. Create new primary partition with "bootable" attribute enabled.
  10. Format new partition to the "ext3" type.
  11. Answer YES to question about installing GRUB boot loader.
  12. Complete the installation.
Network problems / enable
1. Go to Network settings on you virtual machine.
2. Select "Enable Network Adapter" checkbox.
3. Attach it to "Bridge Adapter" with item name "eth0" or "wlan0" (depending on your network connection)


Useful tips & tricks:

  • To control mouse pointer select "Disable Mouse Integration" from the Machine menu

  • To add extra video mode / resolution / screen size you can use "vboxmanage" program by running following command (if on Linux OS):
vboxmanage setextradata "VM_NAME_HERE" "CustomVideoMode1" "320x480x16"

Then when starting your Android OS press "a" and type: "vga=ask".
Next hit <ENTER> to view available video modes.
You should see your newly added video mode available to choose.


  • To start separate console on Android OS press ALT+F1, to back to normal press ALT+F7

Hope it will be helpful :-)

Cheers!