Share to EffectHub.com

You can earn money or coins from your share:)

Tips: you can use Sparticle for uploading away3D effects.

Tips: you can download Sparticle for uploading effects.

Tips: The ActionScript editor is supporting Away3D, Starling, Dragonbones and Flex frameworks.

Tips: paste the web page URL then click button:)

EffectHub.com: Your Best Source for Gaming
Login    or

Android: How to user Timer

  1. java.util.Timer timer = new java.util.Timer();   


  2.   

  3. TimerTask task = new TimerTask() {   

  4. public void run() {   

  5. ... //Your code here 

  6. }   

  7. };   

  8.   

  9. //follow is how to schedule it. 

  10.   

  11. timer.schedule(task, time);   


  12.   

  13. timer.schedule(task, firstTime, period);     

  14.   

  15. timer.schedule(task, delay)   

  16.   

  17. timer.schedule(task, delay, period)   



...

You must Sign up as a member of Effecthub to view the content.

1442 views    0 comments

You must Sign up as a member of Effecthub to join the conversation.

ChOw

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: helpers/time_helper.php

Line Number: 22

2014-02-17
>>Back to Android group


Latest Posts


Sponsor


They are waiting for your help



Share

Join Effecthub.com


Or Login with Your Email Address:

Or Sign Up with Your Email Address:
This field must contain a valid email
Password should be at least 1 character

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: views/footer.php

Line Number: 6

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: controllers/topic.php

Line Number: 21

A PHP Error was encountered

Severity: Notice

Message: Undefined index: HTTP_ACCEPT_LANGUAGE

Filename: controllers/topic.php

Line Number: 85