Linux.com

Home Learn Linux Linux Tutorials

Linux.com How to and Tutorial



How to Draw a 2D Object in Android With a Canvas

There are two basic ways of drawing 2D objects in Android. Drawing to a View, as described in the last tutorial, is the best option only when your object is static. If your object is moving, or you otherwise regularly need to redraw, you're better off with a Canvas. Read on for more on drawing with a Canvas, and using a secondary thread to do so, for best user responsiveness.

Read more... Comment (2)
 

Building PHP 5.4 From Source On Debian Squeeze

This tutorial describes how you can build PHP 5.4 from source on Debian Squeeze. Later on, we will install more modules through PECL and add it as an additional PHP version to ISPConfig's dropdown. 

Read more... Comment (1)
 

How to Code a 2D Drawing with Android Motion Sensors

One of the neat features of coding for a phone is the ability to use its motion sensors. As well as just detecting a motion event, you can also use the information from the sensor to change what you're drawing on the screen. In this tutorial, we'll look at drawing shapes on Android, and at doing a bit more with the information given by the acceleration sensor.

Read more... Comment (1)
 

How to Run Your Own Mainframe Linux

The Hercules project lets you run mainframe Linux on your Linux PC.

Read more... Comment (3)
 

How to Install a Linux Distro: Image is Everything

Whether you got your favorite Linux distro from a download, a purchased CD/DVD/USB, or packaged with a book or magazine, the distro you installed on your hard drive came to you in the form of an ISO image.

Read more... Comment (4)
 
Page 5 of 158

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board