From 08b0801cd96eeabfbf47abfb6e3dad2685fc1588 Mon Sep 17 00:00:00 2001 From: Imanol-Mikel Barba Sabariego Date: Wed, 7 Nov 2012 16:33:26 +0000 Subject: [PATCH] Initial Import - Versió Marc Siquier: Funciona Descàrrega --- .classpath | 8 ++++++++ .project | 33 +++++++++++++++++++++++++++++++++ .settings/org.eclipse.jdt.core.prefs | 4 ++++ AndroidManifest.xml | 28 ++++++++++++++++++++++++++++ bin/AndroidManifest.xml | 28 ++++++++++++++++++++++++++++ bin/UPC_NEWS_v0.apk | Bin 0 -> 174905 bytes bin/classes.dex | Bin 0 -> 329676 bytes bin/classes/com/upc/pbe/upcnews/BuildConfig.class | Bin 0 -> 347 bytes bin/classes/com/upc/pbe/upcnews/Descarrega.class | Bin 0 -> 3268 bytes bin/classes/com/upc/pbe/upcnews/MainActivity.class | Bin 0 -> 1866 bytes bin/classes/com/upc/pbe/upcnews/R$attr.class | Bin 0 -> 343 bytes bin/classes/com/upc/pbe/upcnews/R$drawable.class | Bin 0 -> 450 bytes bin/classes/com/upc/pbe/upcnews/R$id.class | Bin 0 -> 457 bytes bin/classes/com/upc/pbe/upcnews/R$layout.class | Bin 0 -> 406 bytes bin/classes/com/upc/pbe/upcnews/R$menu.class | Bin 0 -> 400 bytes bin/classes/com/upc/pbe/upcnews/R$string.class | Bin 0 -> 579 bytes bin/classes/com/upc/pbe/upcnews/R$style.class | Bin 0 -> 398 bytes bin/classes/com/upc/pbe/upcnews/R.class | Bin 0 -> 634 bytes bin/res/drawable-hdpi/ic_action_search.png | Bin 0 -> 409 bytes bin/res/drawable-hdpi/ic_launcher.png | Bin 0 -> 8528 bytes bin/res/drawable-ldpi/ic_launcher.png | Bin 0 -> 3147 bytes bin/res/drawable-mdpi/ic_action_search.png | Bin 0 -> 311 bytes bin/res/drawable-mdpi/ic_launcher.png | Bin 0 -> 4651 bytes bin/res/drawable-xhdpi/ic_action_search.png | Bin 0 -> 491 bytes bin/res/drawable-xhdpi/ic_launcher.png | Bin 0 -> 12959 bytes bin/resources.ap_ | Bin 0 -> 35548 bytes gen/com/upc/pbe/upcnews/BuildConfig.java | 6 ++++++ gen/com/upc/pbe/upcnews/R.java | 39 +++++++++++++++++++++++++++++++++++++++ ic_launcher-web.png | Bin 0 -> 193539 bytes libs/android-support-v4.jar | Bin 0 -> 349252 bytes lint.xml | 3 +++ proguard-project.txt | 20 ++++++++++++++++++++ project.properties | 14 ++++++++++++++ res/drawable-hdpi/ic_action_search.png | Bin 0 -> 3120 bytes res/drawable-hdpi/ic_launcher.png | Bin 0 -> 8907 bytes res/drawable-ldpi/ic_launcher.png | Bin 0 -> 3195 bytes res/drawable-mdpi/ic_action_search.png | Bin 0 -> 3030 bytes res/drawable-mdpi/ic_launcher.png | Bin 0 -> 4803 bytes res/drawable-xhdpi/ic_action_search.png | Bin 0 -> 3199 bytes res/drawable-xhdpi/ic_launcher.png | Bin 0 -> 13367 bytes res/layout/main_activity.xml | 18 ++++++++++++++++++ res/menu/activity_main.xml | 5 +++++ res/values/strings.xml | 10 ++++++++++ res/values/styles.xml | 5 +++++ src/com/upc/pbe/upcnews/Descarrega.java | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/com/upc/pbe/upcnews/MainActivity.java | 41 +++++++++++++++++++++++++++++++++++++++++ 46 files changed, 370 insertions(+), 0 deletions(-) create mode 100644 .classpath create mode 100644 .project create mode 100644 .settings/org.eclipse.jdt.core.prefs create mode 100644 AndroidManifest.xml create mode 100644 bin/AndroidManifest.xml create mode 100644 bin/UPC_NEWS_v0.apk create mode 100644 bin/classes.dex create mode 100644 bin/classes/com/upc/pbe/upcnews/BuildConfig.class create mode 100644 bin/classes/com/upc/pbe/upcnews/Descarrega.class create mode 100644 bin/classes/com/upc/pbe/upcnews/MainActivity.class create mode 100644 bin/classes/com/upc/pbe/upcnews/R$attr.class create mode 100644 bin/classes/com/upc/pbe/upcnews/R$drawable.class create mode 100644 bin/classes/com/upc/pbe/upcnews/R$id.class create mode 100644 bin/classes/com/upc/pbe/upcnews/R$layout.class create mode 100644 bin/classes/com/upc/pbe/upcnews/R$menu.class create mode 100644 bin/classes/com/upc/pbe/upcnews/R$string.class create mode 100644 bin/classes/com/upc/pbe/upcnews/R$style.class create mode 100644 bin/classes/com/upc/pbe/upcnews/R.class create mode 100644 bin/res/drawable-hdpi/ic_action_search.png create mode 100644 bin/res/drawable-hdpi/ic_launcher.png create mode 100644 bin/res/drawable-ldpi/ic_launcher.png create mode 100644 bin/res/drawable-mdpi/ic_action_search.png create mode 100644 bin/res/drawable-mdpi/ic_launcher.png create mode 100644 bin/res/drawable-xhdpi/ic_action_search.png create mode 100644 bin/res/drawable-xhdpi/ic_launcher.png create mode 100644 bin/resources.ap_ create mode 100644 gen/com/upc/pbe/upcnews/BuildConfig.java create mode 100644 gen/com/upc/pbe/upcnews/R.java create mode 100644 ic_launcher-web.png create mode 100644 libs/android-support-v4.jar create mode 100644 lint.xml create mode 100644 proguard-project.txt create mode 100644 project.properties create mode 100644 res/drawable-hdpi/ic_action_search.png create mode 100644 res/drawable-hdpi/ic_launcher.png create mode 100644 res/drawable-ldpi/ic_launcher.png create mode 100644 res/drawable-mdpi/ic_action_search.png create mode 100644 res/drawable-mdpi/ic_launcher.png create mode 100644 res/drawable-xhdpi/ic_action_search.png create mode 100644 res/drawable-xhdpi/ic_launcher.png create mode 100644 res/layout/main_activity.xml create mode 100644 res/menu/activity_main.xml create mode 100644 res/values/strings.xml create mode 100644 res/values/styles.xml create mode 100644 src/com/upc/pbe/upcnews/Descarrega.java create mode 100644 src/com/upc/pbe/upcnews/MainActivity.java diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..a4f1e40 --- /dev/null +++ b/.classpath @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/.project b/.project new file mode 100644 index 0000000..ceffe61 --- /dev/null +++ b/.project @@ -0,0 +1,33 @@ + + + UPC_NEWS_v0 + + + + + + com.android.ide.eclipse.adt.ResourceManagerBuilder + + + + + com.android.ide.eclipse.adt.PreCompilerBuilder + + + + + org.eclipse.jdt.core.javabuilder + + + + + com.android.ide.eclipse.adt.ApkBuilder + + + + + + com.android.ide.eclipse.adt.AndroidNature + org.eclipse.jdt.core.javanature + + diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..da5d060 --- /dev/null +++ b/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,4 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.source=1.5 diff --git a/AndroidManifest.xml b/AndroidManifest.xml new file mode 100644 index 0000000..48fa7e5 --- /dev/null +++ b/AndroidManifest.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/bin/AndroidManifest.xml b/bin/AndroidManifest.xml new file mode 100644 index 0000000..48fa7e5 --- /dev/null +++ b/bin/AndroidManifest.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/bin/UPC_NEWS_v0.apk b/bin/UPC_NEWS_v0.apk new file mode 100644 index 0000000..65c0994 Binary files /dev/null and b/bin/UPC_NEWS_v0.apk differ diff --git a/bin/classes.dex b/bin/classes.dex new file mode 100644 index 0000000..bfd7e65 Binary files /dev/null and b/bin/classes.dex differ diff --git a/bin/classes/com/upc/pbe/upcnews/BuildConfig.class b/bin/classes/com/upc/pbe/upcnews/BuildConfig.class new file mode 100644 index 0000000..200bf25 Binary files /dev/null and b/bin/classes/com/upc/pbe/upcnews/BuildConfig.class differ diff --git a/bin/classes/com/upc/pbe/upcnews/Descarrega.class b/bin/classes/com/upc/pbe/upcnews/Descarrega.class new file mode 100644 index 0000000..89e5c71 Binary files /dev/null and b/bin/classes/com/upc/pbe/upcnews/Descarrega.class differ diff --git a/bin/classes/com/upc/pbe/upcnews/MainActivity.class b/bin/classes/com/upc/pbe/upcnews/MainActivity.class new file mode 100644 index 0000000..843deef Binary files /dev/null and b/bin/classes/com/upc/pbe/upcnews/MainActivity.class differ diff --git a/bin/classes/com/upc/pbe/upcnews/R$attr.class b/bin/classes/com/upc/pbe/upcnews/R$attr.class new file mode 100644 index 0000000..ff80340 Binary files /dev/null and b/bin/classes/com/upc/pbe/upcnews/R$attr.class differ diff --git a/bin/classes/com/upc/pbe/upcnews/R$drawable.class b/bin/classes/com/upc/pbe/upcnews/R$drawable.class new file mode 100644 index 0000000..91e8909 Binary files /dev/null and b/bin/classes/com/upc/pbe/upcnews/R$drawable.class differ diff --git a/bin/classes/com/upc/pbe/upcnews/R$id.class b/bin/classes/com/upc/pbe/upcnews/R$id.class new file mode 100644 index 0000000..88f62b3 Binary files /dev/null and b/bin/classes/com/upc/pbe/upcnews/R$id.class differ diff --git a/bin/classes/com/upc/pbe/upcnews/R$layout.class b/bin/classes/com/upc/pbe/upcnews/R$layout.class new file mode 100644 index 0000000..a3c5c3b Binary files /dev/null and b/bin/classes/com/upc/pbe/upcnews/R$layout.class differ diff --git a/bin/classes/com/upc/pbe/upcnews/R$menu.class b/bin/classes/com/upc/pbe/upcnews/R$menu.class new file mode 100644 index 0000000..334a594 Binary files /dev/null and b/bin/classes/com/upc/pbe/upcnews/R$menu.class differ diff --git a/bin/classes/com/upc/pbe/upcnews/R$string.class b/bin/classes/com/upc/pbe/upcnews/R$string.class new file mode 100644 index 0000000..6d151f4 Binary files /dev/null and b/bin/classes/com/upc/pbe/upcnews/R$string.class differ diff --git a/bin/classes/com/upc/pbe/upcnews/R$style.class b/bin/classes/com/upc/pbe/upcnews/R$style.class new file mode 100644 index 0000000..1545f6b Binary files /dev/null and b/bin/classes/com/upc/pbe/upcnews/R$style.class differ diff --git a/bin/classes/com/upc/pbe/upcnews/R.class b/bin/classes/com/upc/pbe/upcnews/R.class new file mode 100644 index 0000000..2188db5 Binary files /dev/null and b/bin/classes/com/upc/pbe/upcnews/R.class differ diff --git a/bin/res/drawable-hdpi/ic_action_search.png b/bin/res/drawable-hdpi/ic_action_search.png new file mode 100644 index 0000000..ffec9be Binary files /dev/null and b/bin/res/drawable-hdpi/ic_action_search.png differ diff --git a/bin/res/drawable-hdpi/ic_launcher.png b/bin/res/drawable-hdpi/ic_launcher.png new file mode 100644 index 0000000..d42d873 Binary files /dev/null and b/bin/res/drawable-hdpi/ic_launcher.png differ diff --git a/bin/res/drawable-ldpi/ic_launcher.png b/bin/res/drawable-ldpi/ic_launcher.png new file mode 100644 index 0000000..e813987 Binary files /dev/null and b/bin/res/drawable-ldpi/ic_launcher.png differ diff --git a/bin/res/drawable-mdpi/ic_action_search.png b/bin/res/drawable-mdpi/ic_action_search.png new file mode 100644 index 0000000..ce9399c Binary files /dev/null and b/bin/res/drawable-mdpi/ic_action_search.png differ diff --git a/bin/res/drawable-mdpi/ic_launcher.png b/bin/res/drawable-mdpi/ic_launcher.png new file mode 100644 index 0000000..de5a408 Binary files /dev/null and b/bin/res/drawable-mdpi/ic_launcher.png differ diff --git a/bin/res/drawable-xhdpi/ic_action_search.png b/bin/res/drawable-xhdpi/ic_action_search.png new file mode 100644 index 0000000..b2d7b2d Binary files /dev/null and b/bin/res/drawable-xhdpi/ic_action_search.png differ diff --git a/bin/res/drawable-xhdpi/ic_launcher.png b/bin/res/drawable-xhdpi/ic_launcher.png new file mode 100644 index 0000000..b471ffb Binary files /dev/null and b/bin/res/drawable-xhdpi/ic_launcher.png differ diff --git a/bin/resources.ap_ b/bin/resources.ap_ new file mode 100644 index 0000000..6698c44 Binary files /dev/null and b/bin/resources.ap_ differ diff --git a/gen/com/upc/pbe/upcnews/BuildConfig.java b/gen/com/upc/pbe/upcnews/BuildConfig.java new file mode 100644 index 0000000..4642d98 --- /dev/null +++ b/gen/com/upc/pbe/upcnews/BuildConfig.java @@ -0,0 +1,6 @@ +/** Automatically generated file. DO NOT MODIFY */ +package com.upc.pbe.upcnews; + +public final class BuildConfig { + public final static boolean DEBUG = true; +} \ No newline at end of file diff --git a/gen/com/upc/pbe/upcnews/R.java b/gen/com/upc/pbe/upcnews/R.java new file mode 100644 index 0000000..67e85b1 --- /dev/null +++ b/gen/com/upc/pbe/upcnews/R.java @@ -0,0 +1,39 @@ +/* AUTO-GENERATED FILE. DO NOT MODIFY. + * + * This class was automatically generated by the + * aapt tool from the resource data it found. It + * should not be modified by hand. + */ + +package com.upc.pbe.upcnews; + +public final class R { + public static final class attr { + } + public static final class drawable { + public static final int ic_action_search=0x7f020000; + public static final int ic_launcher=0x7f020001; + } + public static final class id { + public static final int button=0x7f070000; + public static final int menu_settings=0x7f070002; + public static final int textView1=0x7f070001; + } + public static final class layout { + public static final int main_activity=0x7f030000; + } + public static final class menu { + public static final int activity_main=0x7f060000; + } + public static final class string { + public static final int app_name=0x7f040000; + public static final int descarregar=0x7f040004; + public static final int hello_world=0x7f040001; + public static final int hint=0x7f040005; + public static final int menu_settings=0x7f040002; + public static final int title_activity_main=0x7f040003; + } + public static final class style { + public static final int AppTheme=0x7f050000; + } +} diff --git a/ic_launcher-web.png b/ic_launcher-web.png new file mode 100644 index 0000000..6a99ef2 Binary files /dev/null and b/ic_launcher-web.png differ diff --git a/libs/android-support-v4.jar b/libs/android-support-v4.jar new file mode 100644 index 0000000..feaf44f Binary files /dev/null and b/libs/android-support-v4.jar differ diff --git a/lint.xml b/lint.xml new file mode 100644 index 0000000..ee0eead --- /dev/null +++ b/lint.xml @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/proguard-project.txt b/proguard-project.txt new file mode 100644 index 0000000..f2fe155 --- /dev/null +++ b/proguard-project.txt @@ -0,0 +1,20 @@ +# To enable ProGuard in your project, edit project.properties +# to define the proguard.config property as described in that file. +# +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in ${sdk.dir}/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the ProGuard +# include property in project.properties. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} diff --git a/project.properties b/project.properties new file mode 100644 index 0000000..b7c2081 --- /dev/null +++ b/project.properties @@ -0,0 +1,14 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system edit +# "ant.properties", and override values to adapt the script to your +# project structure. +# +# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): +#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt + +# Project target. +target=android-10 diff --git a/res/drawable-hdpi/ic_action_search.png b/res/drawable-hdpi/ic_action_search.png new file mode 100644 index 0000000..67de12d Binary files /dev/null and b/res/drawable-hdpi/ic_action_search.png differ diff --git a/res/drawable-hdpi/ic_launcher.png b/res/drawable-hdpi/ic_launcher.png new file mode 100644 index 0000000..c387040 Binary files /dev/null and b/res/drawable-hdpi/ic_launcher.png differ diff --git a/res/drawable-ldpi/ic_launcher.png b/res/drawable-ldpi/ic_launcher.png new file mode 100644 index 0000000..a361b8d Binary files /dev/null and b/res/drawable-ldpi/ic_launcher.png differ diff --git a/res/drawable-mdpi/ic_action_search.png b/res/drawable-mdpi/ic_action_search.png new file mode 100644 index 0000000..134d549 Binary files /dev/null and b/res/drawable-mdpi/ic_action_search.png differ diff --git a/res/drawable-mdpi/ic_launcher.png b/res/drawable-mdpi/ic_launcher.png new file mode 100644 index 0000000..b11105c Binary files /dev/null and b/res/drawable-mdpi/ic_launcher.png differ diff --git a/res/drawable-xhdpi/ic_action_search.png b/res/drawable-xhdpi/ic_action_search.png new file mode 100644 index 0000000..d699c6b Binary files /dev/null and b/res/drawable-xhdpi/ic_action_search.png differ diff --git a/res/drawable-xhdpi/ic_launcher.png b/res/drawable-xhdpi/ic_launcher.png new file mode 100644 index 0000000..0d3de7c Binary files /dev/null and b/res/drawable-xhdpi/ic_launcher.png differ diff --git a/res/layout/main_activity.xml b/res/layout/main_activity.xml new file mode 100644 index 0000000..08cfcaf --- /dev/null +++ b/res/layout/main_activity.xml @@ -0,0 +1,18 @@ + + + +