From 04d72730b5ec759f114849f4473b421e143d0ae6 Mon Sep 17 00:00:00 2001 From: Equip de Desenvolupadors de PBE Date: Wed, 7 Nov 2012 18:52:05 +0000 Subject: [PATCH] --- bin/AndroidManifest.xml | 28 ---------------------------- bin/UPC_NEWS_v0.apk | Bin 174905 -> 0 bytes bin/classes.dex | Bin 329676 -> 0 bytes bin/classes/com/upc/pbe/upcnews/BuildConfig.class | Bin 347 -> 0 bytes bin/classes/com/upc/pbe/upcnews/Descarrega.class | Bin 3268 -> 0 bytes bin/classes/com/upc/pbe/upcnews/HTMLParser.class | Bin 0 -> 1074 bytes bin/classes/com/upc/pbe/upcnews/MainActivity.class | Bin 1866 -> 0 bytes bin/classes/com/upc/pbe/upcnews/Parser.class | Bin 0 -> 991 bytes bin/classes/com/upc/pbe/upcnews/Playlist.class | Bin 0 -> 289 bytes bin/classes/com/upc/pbe/upcnews/R$attr.class | Bin 343 -> 0 bytes bin/classes/com/upc/pbe/upcnews/R$drawable.class | Bin 450 -> 0 bytes bin/classes/com/upc/pbe/upcnews/R$id.class | Bin 457 -> 0 bytes bin/classes/com/upc/pbe/upcnews/R$layout.class | Bin 406 -> 0 bytes bin/classes/com/upc/pbe/upcnews/R$menu.class | Bin 400 -> 0 bytes bin/classes/com/upc/pbe/upcnews/R$string.class | Bin 579 -> 0 bytes bin/classes/com/upc/pbe/upcnews/R$style.class | Bin 398 -> 0 bytes bin/classes/com/upc/pbe/upcnews/R.class | Bin 634 -> 0 bytes bin/jarlist.cache | 3 +++ bin/res/drawable-hdpi/ic_action_search.png | Bin 409 -> 0 bytes bin/res/drawable-hdpi/ic_launcher.png | Bin 8528 -> 0 bytes bin/res/drawable-ldpi/ic_launcher.png | Bin 3147 -> 0 bytes bin/res/drawable-mdpi/ic_action_search.png | Bin 311 -> 0 bytes bin/res/drawable-mdpi/ic_launcher.png | Bin 4651 -> 0 bytes bin/res/drawable-xhdpi/ic_action_search.png | Bin 491 -> 0 bytes bin/res/drawable-xhdpi/ic_launcher.png | Bin 12959 -> 0 bytes bin/resources.ap_ | Bin 35548 -> 0 bytes src/com/upc/pbe/upcnews/HTMLParser.java | 25 +++++++++++++++++++++++++ 27 files changed, 28 insertions(+), 28 deletions(-) delete mode 100644 bin/AndroidManifest.xml delete mode 100644 bin/UPC_NEWS_v0.apk delete mode 100644 bin/classes.dex delete mode 100644 bin/classes/com/upc/pbe/upcnews/BuildConfig.class delete mode 100644 bin/classes/com/upc/pbe/upcnews/Descarrega.class create mode 100644 bin/classes/com/upc/pbe/upcnews/HTMLParser.class delete mode 100644 bin/classes/com/upc/pbe/upcnews/MainActivity.class create mode 100644 bin/classes/com/upc/pbe/upcnews/Parser.class create mode 100644 bin/classes/com/upc/pbe/upcnews/Playlist.class delete mode 100644 bin/classes/com/upc/pbe/upcnews/R$attr.class delete mode 100644 bin/classes/com/upc/pbe/upcnews/R$drawable.class delete mode 100644 bin/classes/com/upc/pbe/upcnews/R$id.class delete mode 100644 bin/classes/com/upc/pbe/upcnews/R$layout.class delete mode 100644 bin/classes/com/upc/pbe/upcnews/R$menu.class delete mode 100644 bin/classes/com/upc/pbe/upcnews/R$string.class delete mode 100644 bin/classes/com/upc/pbe/upcnews/R$style.class delete mode 100644 bin/classes/com/upc/pbe/upcnews/R.class create mode 100644 bin/jarlist.cache delete mode 100644 bin/res/drawable-hdpi/ic_action_search.png delete mode 100644 bin/res/drawable-hdpi/ic_launcher.png delete mode 100644 bin/res/drawable-ldpi/ic_launcher.png delete mode 100644 bin/res/drawable-mdpi/ic_action_search.png delete mode 100644 bin/res/drawable-mdpi/ic_launcher.png delete mode 100644 bin/res/drawable-xhdpi/ic_action_search.png delete mode 100644 bin/res/drawable-xhdpi/ic_launcher.png delete mode 100644 bin/resources.ap_ create mode 100644 src/com/upc/pbe/upcnews/HTMLParser.java diff --git a/bin/AndroidManifest.xml b/bin/AndroidManifest.xml deleted file mode 100644 index 48fa7e5..0000000 --- a/bin/AndroidManifest.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/bin/UPC_NEWS_v0.apk b/bin/UPC_NEWS_v0.apk deleted file mode 100644 index 65c0994..0000000 Binary files a/bin/UPC_NEWS_v0.apk and /dev/null differ diff --git a/bin/classes.dex b/bin/classes.dex deleted file mode 100644 index bfd7e65..0000000 Binary files a/bin/classes.dex and /dev/null differ diff --git a/bin/classes/com/upc/pbe/upcnews/BuildConfig.class b/bin/classes/com/upc/pbe/upcnews/BuildConfig.class deleted file mode 100644 index 200bf25..0000000 Binary files a/bin/classes/com/upc/pbe/upcnews/BuildConfig.class and /dev/null differ diff --git a/bin/classes/com/upc/pbe/upcnews/Descarrega.class b/bin/classes/com/upc/pbe/upcnews/Descarrega.class deleted file mode 100644 index 89e5c71..0000000 Binary files a/bin/classes/com/upc/pbe/upcnews/Descarrega.class and /dev/null differ diff --git a/bin/classes/com/upc/pbe/upcnews/HTMLParser.class b/bin/classes/com/upc/pbe/upcnews/HTMLParser.class new file mode 100644 index 0000000..48859d5 Binary files /dev/null and b/bin/classes/com/upc/pbe/upcnews/HTMLParser.class differ diff --git a/bin/classes/com/upc/pbe/upcnews/MainActivity.class b/bin/classes/com/upc/pbe/upcnews/MainActivity.class deleted file mode 100644 index 843deef..0000000 Binary files a/bin/classes/com/upc/pbe/upcnews/MainActivity.class and /dev/null differ diff --git a/bin/classes/com/upc/pbe/upcnews/Parser.class b/bin/classes/com/upc/pbe/upcnews/Parser.class new file mode 100644 index 0000000..4619d47 Binary files /dev/null and b/bin/classes/com/upc/pbe/upcnews/Parser.class differ diff --git a/bin/classes/com/upc/pbe/upcnews/Playlist.class b/bin/classes/com/upc/pbe/upcnews/Playlist.class new file mode 100644 index 0000000..a7b9d4b Binary files /dev/null and b/bin/classes/com/upc/pbe/upcnews/Playlist.class differ diff --git a/bin/classes/com/upc/pbe/upcnews/R$attr.class b/bin/classes/com/upc/pbe/upcnews/R$attr.class deleted file mode 100644 index ff80340..0000000 Binary files a/bin/classes/com/upc/pbe/upcnews/R$attr.class and /dev/null differ diff --git a/bin/classes/com/upc/pbe/upcnews/R$drawable.class b/bin/classes/com/upc/pbe/upcnews/R$drawable.class deleted file mode 100644 index 91e8909..0000000 Binary files a/bin/classes/com/upc/pbe/upcnews/R$drawable.class and /dev/null differ diff --git a/bin/classes/com/upc/pbe/upcnews/R$id.class b/bin/classes/com/upc/pbe/upcnews/R$id.class deleted file mode 100644 index 88f62b3..0000000 Binary files a/bin/classes/com/upc/pbe/upcnews/R$id.class and /dev/null differ diff --git a/bin/classes/com/upc/pbe/upcnews/R$layout.class b/bin/classes/com/upc/pbe/upcnews/R$layout.class deleted file mode 100644 index a3c5c3b..0000000 Binary files a/bin/classes/com/upc/pbe/upcnews/R$layout.class and /dev/null differ diff --git a/bin/classes/com/upc/pbe/upcnews/R$menu.class b/bin/classes/com/upc/pbe/upcnews/R$menu.class deleted file mode 100644 index 334a594..0000000 Binary files a/bin/classes/com/upc/pbe/upcnews/R$menu.class and /dev/null differ diff --git a/bin/classes/com/upc/pbe/upcnews/R$string.class b/bin/classes/com/upc/pbe/upcnews/R$string.class deleted file mode 100644 index 6d151f4..0000000 Binary files a/bin/classes/com/upc/pbe/upcnews/R$string.class and /dev/null differ diff --git a/bin/classes/com/upc/pbe/upcnews/R$style.class b/bin/classes/com/upc/pbe/upcnews/R$style.class deleted file mode 100644 index 1545f6b..0000000 Binary files a/bin/classes/com/upc/pbe/upcnews/R$style.class and /dev/null differ diff --git a/bin/classes/com/upc/pbe/upcnews/R.class b/bin/classes/com/upc/pbe/upcnews/R.class deleted file mode 100644 index 2188db5..0000000 Binary files a/bin/classes/com/upc/pbe/upcnews/R.class and /dev/null differ diff --git a/bin/jarlist.cache b/bin/jarlist.cache new file mode 100644 index 0000000..1b5ec3f --- /dev/null +++ b/bin/jarlist.cache @@ -0,0 +1,3 @@ +# cache for current jar dependecy. DO NOT EDIT. +# format is +# Encoding is UTF-8 diff --git a/bin/res/drawable-hdpi/ic_action_search.png b/bin/res/drawable-hdpi/ic_action_search.png deleted file mode 100644 index ffec9be..0000000 Binary files a/bin/res/drawable-hdpi/ic_action_search.png and /dev/null differ diff --git a/bin/res/drawable-hdpi/ic_launcher.png b/bin/res/drawable-hdpi/ic_launcher.png deleted file mode 100644 index d42d873..0000000 Binary files a/bin/res/drawable-hdpi/ic_launcher.png and /dev/null differ diff --git a/bin/res/drawable-ldpi/ic_launcher.png b/bin/res/drawable-ldpi/ic_launcher.png deleted file mode 100644 index e813987..0000000 Binary files a/bin/res/drawable-ldpi/ic_launcher.png and /dev/null differ diff --git a/bin/res/drawable-mdpi/ic_action_search.png b/bin/res/drawable-mdpi/ic_action_search.png deleted file mode 100644 index ce9399c..0000000 Binary files a/bin/res/drawable-mdpi/ic_action_search.png and /dev/null differ diff --git a/bin/res/drawable-mdpi/ic_launcher.png b/bin/res/drawable-mdpi/ic_launcher.png deleted file mode 100644 index de5a408..0000000 Binary files a/bin/res/drawable-mdpi/ic_launcher.png and /dev/null differ diff --git a/bin/res/drawable-xhdpi/ic_action_search.png b/bin/res/drawable-xhdpi/ic_action_search.png deleted file mode 100644 index b2d7b2d..0000000 Binary files a/bin/res/drawable-xhdpi/ic_action_search.png and /dev/null differ diff --git a/bin/res/drawable-xhdpi/ic_launcher.png b/bin/res/drawable-xhdpi/ic_launcher.png deleted file mode 100644 index b471ffb..0000000 Binary files a/bin/res/drawable-xhdpi/ic_launcher.png and /dev/null differ diff --git a/bin/resources.ap_ b/bin/resources.ap_ deleted file mode 100644 index 6698c44..0000000 Binary files a/bin/resources.ap_ and /dev/null differ diff --git a/src/com/upc/pbe/upcnews/HTMLParser.java b/src/com/upc/pbe/upcnews/HTMLParser.java new file mode 100644 index 0000000..57cc140 --- /dev/null +++ b/src/com/upc/pbe/upcnews/HTMLParser.java @@ -0,0 +1,25 @@ +package com.upc.pbe.upcnews; + +import java.util.ArrayList; + +public class HTMLParser { + + String code; + ArrayList directoris; + + public HTMLParser(String code){ + this.code = code; + } + + public void parsejar(){ + String[] split = code.split("\n"); + for(int i = 0; i < split.length; i++){ + if(split[i].startsWith("
  • ")){ + if(split[i].contains("/\"")){ + directoris.add(split[i].substring(split[i].indexOf('>', 5), split[i].indexOf('<', 5)-1)); + } + } + } + } + +} -- libgit2 0.22.2