Advertisement
Guest User

Untitled

a guest
Mar 20th, 2017
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. package com.example.dns.translateapp;
  2.  
  3. import android.nfc.Tag;
  4. import android.os.Bundle;
  5. import android.util.Log;
  6.  
  7. /**
  8. * Created by dns on 20.03.2017.
  9. */
  10. public class GoGoGo extends Thread {
  11. public int a = 0;
  12. String a1 = "ZALUPA";
  13. public void run(){
  14. try {
  15. for(int i = 0;i<101;i++) {
  16. a++;
  17. Thread.sleep(100);
  18. Log.d("Поехали!", Integer.toString(a));
  19. }
  20. } catch (InterruptedException e) {
  21.  
  22. }
  23. }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement