Photo de couverture du profil
Vous suivez désormais
Erreur de suivi de l'utilisateur.
Cet utilisateur n'utilise pas les utilisateurs à le suivre.
Vous suivez déjà cet utilisateur.
Votre plan d'adhésion ne permet que 0 suivis. Améliorez ici.
Ne suit désormais plus
Erreur lors de l'arrêt du suivi de l'utilisateur.
Vous avez désormais recommandé
Erreur lors de la recommendation de l'utilisateur.
Une erreur a eu lieu. Veuillez rafraîchir la page et réessayer.
E-mail désormais vérifié.
Avatar de l'utilisateur
$15 USD / heure
Drapeau de UNITED STATES
$15 USD / heure
Il est actuellement 11:07 PM ici
Rejoint le avril 24, 2004
0 Recommandations

wsadik

@wsadik

5,0 (1 commentaire)
0,8
0,8
0%
0%
$15 USD / heure
Drapeau de UNITED STATES
$15 USD / heure
100 %
Travaux complétés
100 %
Suivant le budget
100 %
Dans les temps
N/A
Taux de réembauche
//-------------------------------------------------------------------------- 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 } /**************************************************************************/

Contactez wsadik concernant votre travail

Connectez-vous pour discuter de tous les détails via la messagerie.

Commentaires

Modifications enregistrées
Aucun commentaire visible ici !

Contactez wsadik concernant votre travail

Connectez-vous pour discuter de tous les détails via la messagerie.

Vérifications

Freelance préféré
Identité vérifiée
Paiement vérifié
Téléphone vérifié
E-mail vérifié
Connecté à Facebook

Meilleures compétences

Parcourir les présentations similaires

Utilisateur précédent Utilisateur suivant
Invitation désormais envoyée !
Merci ! Nous vous avons envoyé un lien par e-mail afin de réclamer votre crédit gratuit.
Une erreur a eu lieu lors de l'envoi de votre e-mail. Veuillez réessayer.
Utilisateurs enregistrés Total des travaux publiés
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Chargement de l'aperçu
Permission donnée pour la géolocalisation.
Votre session de connexion a expiré et vous avez été déconnecté. Veuillez vous connecter à nouveau.