class Phone_Call_Log extends UiApplication
{
MainScreen _screen = new MainScreen();
Phonethread _phone;
PhoneLogs _logs;
public static void main(String arg[])
{
Phone_Call_Log application = new Phone_Call_Log();
application.enterEventDispatcher();
}
public Phone_Call_Log()
{
_screen.setTitle("Phone Log";
_screen.add(new RichTextField("Activities on your Phone");
_screen.add(new SeparatorField());
pushScreen(_screen);
_phone = new Phonethread();
_phone.start();
}
private final class Phonethread extends Thread
{
public Phonethread()
{
super();
}
public void run()
{
_logs = PhoneLogs.getInstance();