From 8bbdb632b6038aaf9da71da9ddbec1bcbfd8e322 Mon Sep 17 00:00:00 2001 From: Equip de Desenvolupadors de PBE Date: Thu, 8 Nov 2012 09:09:25 +0000 Subject: [PATCH] --- bin/classes.dex | Bin 331224 -> 0 bytes bin/resources.ap_ | Bin 35798 -> 0 bytes src/com/upc/pbe/upcnews/MainActivity.java | 8 +++++++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bin/classes.dex b/bin/classes.dex index 98e5d9e..8ccf24f 100644 Binary files a/bin/classes.dex and b/bin/classes.dex differ diff --git a/bin/resources.ap_ b/bin/resources.ap_ index a2a04e3..841f991 100644 Binary files a/bin/resources.ap_ and b/bin/resources.ap_ differ diff --git a/src/com/upc/pbe/upcnews/MainActivity.java b/src/com/upc/pbe/upcnews/MainActivity.java index 01f787d..4884898 100644 --- a/src/com/upc/pbe/upcnews/MainActivity.java +++ b/src/com/upc/pbe/upcnews/MainActivity.java @@ -13,7 +13,7 @@ import android.widget.Toast; public class MainActivity extends Activity implements OnClickListener { final static String TAG = "Main"; Button buttonDescarrega; - String url = "http://www.google.es"; + String url = "http://soft0.upc.edu/~francesc/ast/"; //es un server del profe de AST xd String file = "ejemplo.xml"; String folder = "C:\\Users\\Usuario\\Downloads\\"; TextView showText, showRoute; @@ -36,7 +36,13 @@ public class MainActivity extends Activity implements OnClickListener { Descarrega d = new Descarrega(url, file, folder); Toast.makeText(this, "Download succesfull", Toast.LENGTH_LONG).show(); CharSequence html = (CharSequence) d.doInBackground(); + Log.d(TAG, (String) html); showText.setText(html); + + //HTMLParser pars = new HTMLParser((String) html); + //ArrayList directoris = pars.parse(); + //showText.setText((CharSequence) directoris); + } } \ No newline at end of file -- libgit2 0.22.2