From 66b65ab7925e15e0bf7defe1a4a2b45794de9934 Mon Sep 17 00:00:00 2001 From: Renard Date: Thu, 7 Apr 2016 19:07:02 -0300 Subject: Se agregaron las licencias. --- .../bienvenidoainternet/baiparser/LicensesActivity.java | 16 ++++++++++++++++ .../org/bienvenidoainternet/baiparser/MainActivity.java | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 app/src/main/java/org/bienvenidoainternet/baiparser/LicensesActivity.java (limited to 'app/src/main/java/org') 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 = ""; -- cgit v1.2.1-18-gbd029