From: gumartinm Date: Fri, 15 Jun 2012 00:47:01 +0000 (+0200) Subject: New MobiAds Android implementation: with tabs. X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=ff67fd55cc5c49e34aaf1400e53d9e714aaf54bb;p=JavaForFun New MobiAds Android implementation: with tabs. --- diff --git a/Android/MobiAdsTabs/AndroidManifest.xml b/Android/MobiAdsTabs/AndroidManifest.xml new file mode 100644 index 0000000..75b5985 --- /dev/null +++ b/Android/MobiAdsTabs/AndroidManifest.xml @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Android/MobiAdsTabs/gen/de/android/mobiads/BuildConfig.java b/Android/MobiAdsTabs/gen/de/android/mobiads/BuildConfig.java new file mode 100644 index 0000000..5ab5a24 --- /dev/null +++ b/Android/MobiAdsTabs/gen/de/android/mobiads/BuildConfig.java @@ -0,0 +1,6 @@ +/** Automatically generated file. DO NOT MODIFY */ +package de.android.mobiads; + +public final class BuildConfig { + public final static boolean DEBUG = true; +} \ No newline at end of file diff --git a/Android/MobiAdsTabs/gen/de/android/mobiads/R.java b/Android/MobiAdsTabs/gen/de/android/mobiads/R.java new file mode 100644 index 0000000..02eb0bd --- /dev/null +++ b/Android/MobiAdsTabs/gen/de/android/mobiads/R.java @@ -0,0 +1,75 @@ +/* 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 de.android.mobiads; + +public final class R { + public static final class attr { + } + public static final class drawable { + public static final int ic_launcher=0x7f020000; + public static final int wheelnotification=0x7f020001; + } + public static final class id { + public static final int ads_entry_icon=0x7f070006; + public static final int ads_entry_text=0x7f070008; + public static final int ads_entry_title=0x7f070007; + public static final int frameLayout1=0x7f070000; + public static final int frameLayout2=0x7f070003; + public static final int list=0x7f070005; + public static final int login_button=0x7f070004; + public static final int menuadsremove=0x7f070009; + public static final int password=0x7f070002; + public static final int username=0x7f070001; + } + public static final class layout { + public static final int login=0x7f030000; + public static final int main=0x7f030001; + public static final int mobiadslist=0x7f030002; + public static final int mobiadsnewadslist=0x7f030003; + public static final int news_entry_list_item=0x7f030004; + } + public static final class menu { + public static final int menuads=0x7f060000; + } + public static final class string { + public static final int alert_dialog_logged=0x7f050004; + public static final int app_description=0x7f050003; + public static final int app_name=0x7f050002; + public static final int button_cancel=0x7f050010; + public static final int button_localads=0x7f050011; + public static final int button_login=0x7f050009; + public static final int button_messagebind=0x7f05000a; + public static final int button_messagelistlocalads=0x7f05000e; + public static final int button_messagestartservice=0x7f05000d; + public static final int button_messagestopservice=0x7f05000c; + public static final int button_messageunbind=0x7f05000b; + public static final int button_ok=0x7f05000f; + public static final int desc=0x7f05001d; + public static final int encoded_web_service=0x7f05001c; + public static final int error_dialog_connection_error=0x7f050005; + public static final int error_dialog_userpwd_error=0x7f050006; + public static final int header_bar=0x7f050000; + public static final int menuads_remove=0x7f05001e; + public static final int new_ads=0x7f050001; + public static final int password=0x7f050008; + public static final int remote_service_content_empty_notification=0x7f050015; + public static final int remote_service_content_notification=0x7f050014; + public static final int remote_service_new_ads=0x7f050012; + public static final int remote_service_received_ad_notification=0x7f050013; + public static final int remote_service_started_notification=0x7f050016; + public static final int remote_service_stopped_notification=0x7f050017; + public static final int remote_service_title_notification=0x7f050018; + public static final int url_login_web_service=0x7f050019; + public static final int url_web=0x7f05001a; + public static final int user_agent_web_service=0x7f05001b; + public static final int username=0x7f050007; + } + public static final class xml { + public static final int preferences=0x7f040000; + } +} diff --git a/Android/MobiAdsTabs/proguard-project.txt b/Android/MobiAdsTabs/proguard-project.txt new file mode 100644 index 0000000..f2fe155 --- /dev/null +++ b/Android/MobiAdsTabs/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/Android/MobiAdsTabs/project.properties b/Android/MobiAdsTabs/project.properties new file mode 100644 index 0000000..0840b4a --- /dev/null +++ b/Android/MobiAdsTabs/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-15 diff --git a/Android/MobiAdsTabs/res/drawable-hdpi/ic_launcher.png b/Android/MobiAdsTabs/res/drawable-hdpi/ic_launcher.png new file mode 100644 index 0000000..96a442e Binary files /dev/null and b/Android/MobiAdsTabs/res/drawable-hdpi/ic_launcher.png differ diff --git a/Android/MobiAdsTabs/res/drawable-ldpi/ic_launcher.png b/Android/MobiAdsTabs/res/drawable-ldpi/ic_launcher.png new file mode 100644 index 0000000..9923872 Binary files /dev/null and b/Android/MobiAdsTabs/res/drawable-ldpi/ic_launcher.png differ diff --git a/Android/MobiAdsTabs/res/drawable-mdpi/ic_launcher.png b/Android/MobiAdsTabs/res/drawable-mdpi/ic_launcher.png new file mode 100644 index 0000000..359047d Binary files /dev/null and b/Android/MobiAdsTabs/res/drawable-mdpi/ic_launcher.png differ diff --git a/Android/MobiAdsTabs/res/drawable-xhdpi/ic_launcher.png b/Android/MobiAdsTabs/res/drawable-xhdpi/ic_launcher.png new file mode 100644 index 0000000..71c6d76 Binary files /dev/null and b/Android/MobiAdsTabs/res/drawable-xhdpi/ic_launcher.png differ diff --git a/Android/MobiAdsTabs/res/drawable/wheelnotification.xml b/Android/MobiAdsTabs/res/drawable/wheelnotification.xml new file mode 100644 index 0000000..66da9db --- /dev/null +++ b/Android/MobiAdsTabs/res/drawable/wheelnotification.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/Android/MobiAdsTabs/res/layout/login.xml b/Android/MobiAdsTabs/res/layout/login.xml new file mode 100644 index 0000000..5ada372 --- /dev/null +++ b/Android/MobiAdsTabs/res/layout/login.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + +