This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.code.util; | |
| public class Recovery { | |
| private long SLEEP_TIME = 3000; | |
| public void connectToTp(){ | |
| try { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Override | |
| protected void onCreate(Bundle savedInstanceState) { | |
| super.onCreate(savedInstanceState); | |
| setContentView(R.layout.activity_main); | |
| loginBtn = (Button) findViewById(R.id.login_btn); | |
| loginBtn.setOnClickListener((View) -> login()); | |
| Log.i(TAG, "onCreate finished"); | |
| } |
NewerOlder