Foto de portada de perfil
Ahora estás siguiendo a
Error al seguir a usuario.
Este usuario no permite que los usuarios lo sigan.
Ya estás siguiendo a este usuario.
Tu plan de membresía solo permite 0 seguimientos. Mejora tu membresía aquí.
Dejaste de seguir correctamente a
Error al dejar de seguir al usuario.
Has recomendado exitosamente a
Error al recomendar al usuario.
Algo salió mal. Por favor, actualiza la página e intenta de nuevo.
Email verificado correctamente.
Avatar del usuario
$15 USD / hora
Bandera de UNITED STATES
$15 USD / hora
Aquí son las 12:50 p. m.
Se unió el abril 24, 2004
0 Recomendaciones

wsadik

@wsadik

5,0 (1 comentario)
0,8
0,8
0%
0%
$15 USD / hora
Bandera de UNITED STATES
$15 USD / hora
100 %
Trabajos finalizados
100 %
Dentro del presupuesto
100 %
A tiempo
N/A
Tasa de recontratación
//-------------------------------------------------------------------------- protected class TrackEmCommandListener implements CommandListener, Runnable { /** Current command to proccess. */ private Command currentCommand; /** Displyable of the current command to proccess. */ private Displayable currentDisplayable; /** The current command processing thread. */ private Thread commandThread; /** * The method to determine what action to take * * @param c The Command object that has been activated * @param d The Displayable object that the command was * associated with */ public void commandAction(Command c, Displayable d) { synchronized (this) { if (commandThread != null) { Util.sop("GORU"); // process only one command at a time return; } currentCommand = c; currentDisplayable = d; commandThread = new Thread(this); commandThread.start(); } } private void exitThread() { synchronized (this) { commandThread = null; } } /** * Perform the current command set by the method commandAction. */ public void run() { if (currentCommand == TrackEmUtil.EXIT_COMMAND) { try { destroyApp(true); } catch (MIDletStateChangeException msce) { //TBD } } else if (currentCommand == TrackEmUtil.ABOUT_COMMAND) { showAbout(); } //------------------------------------------------ synchronized (this) { // signal that another command can be processed commandThread = null; } } } /**************************************************************************/ private class UpdaterTask extends TimerTask { private int localTimer = 1; public void run() { Util.sop("------------------------------"); Util.sop("UpdaterTask:run(): (sc != null) " + (sc != null)); Util.sop("UpdaterTask:run(): (display == sc) " + (display.getCurrent() == sc)); Util.sop("UpdaterTask:run(): localTimer = " + localTimer); sc.updateTime(TrackEmUtil.getCurrentTime()); if (localTimer >= 20) { sc.updateLocation(trackEm.getCurrentPosition()); Thread t1 = new Thread() { public void run() { TrackEmUtil.pushLocation(trackEm.getUserId(), trackEm.getCurrentPosition()); } }; t1.start(); Thread t2 = new Thread() { public void run() { trackEm.getData(); } }; t2.start(); localTimer = 1; } else { localTimer++; } sc.repaint(); Util.sop("==============================="); } // run } /**************************************************************************/

Contacta wsadik sobre tu trabajo

Inicia sesión para comentar cualquier detalle por chat.

Comentarios

Cambios guardados
¡No hay comentarios para ver aquí!

Contacta wsadik sobre tu trabajo

Inicia sesión para comentar cualquier detalle por chat.

Verificaciones

Freelancer preferente
Identidad verificada
Pago verificado
Teléfono verificado
Email verificado
Facebook conectado

Principales habilidades

Explorar galerías similares

Usuario anterior Usuario siguiente
¡Invitación enviada correctamente!
¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.