Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public interface

Runnable

java.lang.Runnable
Known Indirect Subclasses

Class Overview

Represents a command that can be executed. Often used to run code in a different Thread .

Summary

Public Methods
abstract void run ()
Starts executing the active part of the class' code.

Public Methods

public abstract void run ()

Added in API level 1

Starts executing the active part of the class' code. This method is called when a thread is started that has been created with a class which implements Runnable .