diff options
Diffstat (limited to 'app/src/main/java/org')
-rw-r--r-- | app/src/main/java/org/bienvenidoainternet/baiparser/LicensesActivity.java | 16 | ||||
-rw-r--r-- | app/src/main/java/org/bienvenidoainternet/baiparser/MainActivity.java | 2 |
2 files changed, 17 insertions, 1 deletions
diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/LicensesActivity.java b/app/src/main/java/org/bienvenidoainternet/baiparser/LicensesActivity.java new file mode 100644 index 0000000..b91ce2b --- /dev/null +++ b/app/src/main/java/org/bienvenidoainternet/baiparser/LicensesActivity.java @@ -0,0 +1,16 @@ +package org.bienvenidoainternet.baiparser; + +import android.support.v7.app.AppCompatActivity; +import android.os.Bundle; +import android.webkit.WebView; + +public class LicensesActivity extends AppCompatActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_licenses); + WebView webView = (WebView) findViewById(R.id.webView); + webView.loadUrl("file:///android_asset/html/licenses.html"); + } +} diff --git a/app/src/main/java/org/bienvenidoainternet/baiparser/MainActivity.java b/app/src/main/java/org/bienvenidoainternet/baiparser/MainActivity.java index 0a7d057..65b51e2 100644 --- a/app/src/main/java/org/bienvenidoainternet/baiparser/MainActivity.java +++ b/app/src/main/java/org/bienvenidoainternet/baiparser/MainActivity.java @@ -417,10 +417,10 @@ public class MainActivity extends AppCompatActivity } } } + /* Crea una secuencia de caracteres de 8 digitos aleatorios (incluye mayusculas, minisculas y numeros). */ - public String makePassword(){ Random r = new Random(); String rnd = ""; |