|
@@ -0,0 +1,34 @@
|
|
|
+package com.xplora.xponboarding.Activity;
|
|
|
+
|
|
|
+import android.content.Intent;
|
|
|
+import android.os.Bundle;
|
|
|
+import android.widget.EditText;
|
|
|
+import android.widget.FrameLayout;
|
|
|
+
|
|
|
+import com.xplora.xponboarding.R;
|
|
|
+import com.xplora.xponboarding.Utils.KeyUtils;
|
|
|
+
|
|
|
+public class InputPinActivity extends BaseActivity {
|
|
|
+ EditText password;
|
|
|
+ FrameLayout check;
|
|
|
+
|
|
|
+ @Override
|
|
|
+ protected void onCreate(Bundle savedInstanceState) {
|
|
|
+ super.onCreate(savedInstanceState);
|
|
|
+ setContentView(R.layout.activity_input_pin);
|
|
|
+ password = findViewById(R.id.password);
|
|
|
+ check = findViewById(R.id.check);
|
|
|
+ check.setOnClickListener(view -> {
|
|
|
+ Intent intent = new Intent();
|
|
|
+ intent.putExtra("ssid", getIntent().getStringExtra("ssid"));
|
|
|
+ intent.putExtra("bssid", getIntent().getStringExtra("bssid"));
|
|
|
+ intent.putExtra("password", password.getText().toString());
|
|
|
+ setResult(-1, intent);
|
|
|
+ finish();
|
|
|
+ });
|
|
|
+ new KeyUtils(this, password);
|
|
|
+ }
|
|
|
+
|
|
|
+ private void clickButton() {
|
|
|
+ }
|
|
|
+}
|