|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
totalcross.lang.Objecttotalcross.phone.Dial
public final class Dial
Used to dial a number in a smartphone. A single listener can receive messages from the system informing the current status. Currently works on Windows CE, Blackberry and Android.
| Nested Class Summary | |
|---|---|
static interface |
Dial.Listener
A dial listener that will receive events informing the actual status of the dialing. |
| Field Summary | |
|---|---|
static Dial.Listener |
listener
The listener that will receive status change messages. |
| Constructor Summary | |
|---|---|
Dial()
|
|
| Method Summary | |
|---|---|
static void |
hangup()
Hangs up a running call. |
static void |
number(String number)
Dials the given number. |
| Methods inherited from class totalcross.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static Dial.Listener listener
| Constructor Detail |
|---|
public Dial()
| Method Detail |
|---|
public static void number(String number)
throws IOException
IOExceptionpublic static void hangup()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||