Installing java on a fresh Ubuntu Machine
=> Check for java-version : to know if java has been already installed
If NOT,
=> Execute the command
sudo apt-get install sun-java6-jre sun-java6-jdk
=> If you see something like below
E: Package sun-java6-bin has no installation candidate
=> Then open /etc/apt/sources.list and
add the below line at the EOF and save
deb http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
=> then execute the command
sudo apt-get update
=> then execute the command
sudo apt-get install sun-java6-jre sun-java6-jdk
=> Follow the prompt and give correct response
=> Setting Environmental Variables
Open /etc/bash.bashrc file and append the below 4 lines at EOF and save it.
JAVA_HOME=/usr/lib/jvm/java-6-sun
export JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin
export PATH
=> Create a Java File anywhere in your system, compile and run the program to
confirm successful java installation.
Tuesday, February 22, 2011
Tuesday, February 15, 2011
Taking screenshots from Samsung Galaxy S in Ubuntu 10.04
Steps to take Screenshots from Samsung Galaxy s Android Phone in Ubuntu
1. Download Android SDK for Linux Version here
2. Extract the downloaded compressed folder into a handy location.
Ex: >tar -zxvf/android-sdk_r09-linux_x86.tgz
3. Navigate to the "tools" folder where the SDK has been extracted
Ex: > cd /home/jackson/android-sdk-linux_x86/tools
4. Start Dalvik Debug Monitor Service
> Type ./ddms in a console under tools folder and press enter
> you should see a window like the image - screenshot-1.png

5. Now, on your Samsung Galaxy Phone,
Goto Applications->Settings->Applications->Development and enable USB debugging
6. Connect your phone to your Ubuntu Machine now and you should see
that DDMS has recognized your phone in its window.

7. In DDMS Top Bar Menu, navigate to Devices->Screen Capture

There you go.!!!
1. Download Android SDK for Linux Version here
2. Extract the downloaded compressed folder into a handy location.
Ex: >tar -zxvf
3. Navigate to the "tools" folder where the SDK has been extracted
Ex: > cd /home/jackson/android-sdk-linux_x86/tools
4. Start Dalvik Debug Monitor Service
> Type ./ddms in a console under tools folder and press enter
> you should see a window like the image - screenshot-1.png

5. Now, on your Samsung Galaxy Phone,
Goto Applications->Settings->Applications->Development and enable USB debugging
6. Connect your phone to your Ubuntu Machine now and you should see
that DDMS has recognized your phone in its window.

7. In DDMS Top Bar Menu, navigate to Devices->Screen Capture

There you go.!!!
Subscribe to:
Comments (Atom)