diff options
author | Renard | 2016-04-07 19:07:02 -0300 |
---|---|---|
committer | Renard | 2016-04-07 19:07:02 -0300 |
commit | 66b65ab7925e15e0bf7defe1a4a2b45794de9934 (patch) | |
tree | d67f26739ac665e462ac71d0090fd07feb17d2b2 /app/src/main/java/org/bienvenidoainternet/baiparser | |
parent | b9b2cd586c147ba9b08bbd809e7137ba3b6dacff (diff) | |
download | BaiApp-66b65ab7925e15e0bf7defe1a4a2b45794de9934.tar.gz BaiApp-66b65ab7925e15e0bf7defe1a4a2b45794de9934.tar.xz BaiApp-66b65ab7925e15e0bf7defe1a4a2b45794de9934.zip |
Se agregaron las licencias.
Diffstat (limited to 'app/src/main/java/org/bienvenidoainternet/baiparser')
-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 = ""; |