joi, 30 august 2012

Using SL4A bash shell script to connect Linux with Android tablet .

Using Linux with Android OS is very simple.

I install next two android application: sl4a_r6.apk and PythonForAndroid-r7b1.apk.

Use the PythonForAndroid-r7b1.apk just if you want to write some python scripts.

We cand download it from here.

The first : sl4a_r6 it's use to write and run scripts like bash shell , html , java , python ...

With this, the SL4A provides and make APIs available via JSON RPC calls.

The PythonForAndroid-r7b1 allow you to install python modules...

We can read more on this website.

Let's start with one simple bash shell script.

We will make a shell script to test the connection between Linux and Android tablet.

Connection will be through a wireless router that has opened the port through which the communication.

Tablet has Android 4.0 .

We use the linux command nc, see: nc command.

This is the script on the tablet and it will run first.

nc -l -p 7000

See the next image:

Button 1 - run the script

Button 2 - edit the script

Button 3 - save the script

Button 4 - remove the script

Use the next command with your IP on the linux terminal.

nc xxx.xxx.xxx.xxx 7000

If you type something in your terminal you will see on tablet.

The input from my linux terminal can be see on the next image:

Ant this is the output on my tablet.

We can test multiple features of command nc. I'm just curious if you have some new ideas on this subject.

Thank you.

vineri, 24 august 2012

New GTK3 theme make your Linux to look like an Android

The new GTK3 theme inspired by Android will make your linux more nice.

reNIX Gnome Shell theme: [link]

reNIX (for Chrome/Chromium): [link]

marți, 14 august 2012

News about light laptop with your linux distros .

ZaReason is launching a thin and light laptop called the UltraLap 430.

Linux computer builder has all the specs you’d expect from a modern ultrabook.

Prices start at $899 and it's available now from the ZaReason store.

Features:

  • 14.1" HD (1366x768) Glossy LED Backlit Display
  • 3rd Generation Intel Core Processor
  • Intel HD 4000 Graphics
  • Quick performance and power-on times with Solid State Disks
  • HD Stereo Speakers
  • 802.11 B/G/N WiFi included
  • Bluetooth
  • 3 in-1 card reader -- SD/MMC/MS supported
  • 1.3 Megapixel HD webcam included
  • Multi-gesture touchpad

Ports:

  • HDMI port
  • Gigabit Ethernet port
  • Kensington lock port
  • Headphone/Mic Jack
  • 2 USB 3.0 ports
  • 1 USB 2.0 port

Specs:

  • Your choice of a variety of Open Source operating systems ,like Fedora 17
  • Battery Life: Up to 6 hrs
  • Dimensions (WxDxH): 13.5in x 9.25in x .75in
  • Weight: ~3.5 lbs

The industry's top trade event in Berlin.

IFA in Berlin is the industry's top trade event.

The world's major manufacturers present their innovations to the market, the media and the experts.

IFA 2012 will be open from 10 a.m. to 6 p.m. daily from 31 August to 5 September 2012.

Read more here.

vineri, 10 august 2012

Google Translate Android can translate from pictures.

News about Google Translate Android.

Use camera to take a picture and brush text to translate - available on Android 2.3 and above .

Get instant translation results as you type.

Choose dialect preference for speech input.

Japanese handwriting now recognizes multiple characters at once.

Added access network state permission to check network availability when sending requests.

Try this on play.google.com

OpenGL Driver support for Linux and Windows.

NVIDIA has released a set of OpenGL 4.3 drivers for Windows and for Linux.

The driver support provide beta support for OpenGL 4.3 and GLSL 4.30 on capable hardware.

For Linux, the version number R304.15 is not the same with the drivers for Windows :R305.53.

All ARB extension specifications, can be downloaded here: this page.

For OpenGL 4 capable hardware, these new extensions are provided: ARB_compute_shader ,ARB_multi_draw_indirect ,ARB_shader_image_size ,ARB_shader_storage_buffer_object

You can download all drivers from here.