From cfb7213ed846fe78f1f4a998e20a3aeaa619bc99 Mon Sep 17 00:00:00 2001 From: Equip de Desenvolupadors de PBE Date: Fri, 7 Dec 2012 22:09:12 +0000 Subject: [PATCH] Navegador HTTP funcional, falta detectar las listas (en un minuto lo hago) --- gen/com/upc/pbe/upcnews/R.java | 30 ++++++++++++++---------------- res/layout/dirs.xml | 33 ++++++--------------------------- res/layout/rowlayout.xml | 7 +++++++ res/values/strings.xml | 2 +- src/com/upc/pbe/upcnews/Directoris.java | 200 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------------- src/com/upc/pbe/upcnews/HTMLParser.java | 140 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------ src/com/upc/pbe/upcnews/Parser.java | 328 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------------------------------------------------------------------------------- 7 files changed, 418 insertions(+), 322 deletions(-) create mode 100644 res/layout/rowlayout.xml diff --git a/gen/com/upc/pbe/upcnews/R.java b/gen/com/upc/pbe/upcnews/R.java index cebd22e..381271a 100644 --- a/gen/com/upc/pbe/upcnews/R.java +++ b/gen/com/upc/pbe/upcnews/R.java @@ -16,24 +16,21 @@ public final class R { public static final int ic_menu_name=0x7f020002; } public static final class id { - public static final int AbsoluteLayout1=0x7f08000a; - public static final int ImageView01=0x7f08000c; - public static final int ImageView1=0x7f08000b; + public static final int AbsoluteLayout1=0x7f080006; + public static final int ImageView01=0x7f080008; + public static final int ImageView1=0x7f080007; public static final int LinearLayout1=0x7f080001; - public static final int button=0x7f08000f; - public static final int button1=0x7f080003; - public static final int button2=0x7f080004; - public static final int button3=0x7f080005; - public static final int button4=0x7f080006; - public static final int button5=0x7f080007; - public static final int itemhelp=0x7f080012; - public static final int itemprefs=0x7f080011; - public static final int menu_settings=0x7f080010; - public static final int textView1=0x7f080008; - public static final int textView2=0x7f080009; - public static final int textViewRoute=0x7f08000d; + public static final int button=0x7f08000b; + public static final int itemhelp=0x7f08000f; + public static final int itemprefs=0x7f08000e; + public static final int listView1=0x7f080003; + public static final int menu_settings=0x7f08000d; + public static final int rowTextView=0x7f08000c; + public static final int textView1=0x7f080004; + public static final int textView2=0x7f080005; + public static final int textViewRoute=0x7f080009; public static final int textViewTitle=0x7f080002; - public static final int textViewXml=0x7f08000e; + public static final int textViewXml=0x7f08000a; public static final int videoView1=0x7f080000; } public static final class layout { @@ -41,6 +38,7 @@ public final class R { public static final int dirs=0x7f030001; public static final int help=0x7f030002; public static final int main_activity=0x7f030003; + public static final int rowlayout=0x7f030004; } public static final class menu { public static final int activity_main=0x7f070000; diff --git a/res/layout/dirs.xml b/res/layout/dirs.xml index 620d798..362de1b 100644 --- a/res/layout/dirs.xml +++ b/res/layout/dirs.xml @@ -15,35 +15,14 @@ android:layout_marginLeft="14dp" android:text="@string/title" android:textAppearance="?android:attr/textAppearanceMedium" /> - -