From: gumartinm Date: Fri, 8 Jun 2012 07:05:58 +0000 (+0200) Subject: Latest changes in Android MobiAds application. X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=16ab47aba6a10a0f830831dc52c8721934782764;p=JavaForFun Latest changes in Android MobiAds application. --- diff --git a/Android/MobiAds/AndroidManifest.xml b/Android/MobiAds/AndroidManifest.xml index a6b0675..f13b828 100644 --- a/Android/MobiAds/AndroidManifest.xml +++ b/Android/MobiAds/AndroidManifest.xml @@ -22,7 +22,6 @@ android:configChanges="touchscreen|keyboard" android:theme="@android:style/Theme.Black" android:launchMode="standard" - android:noHistory="true" android:description="@string/app_description"> @@ -53,10 +52,21 @@ + + + + + + + + android:name=".MobiAdsService" > + android:writePermission="android.permission.WRITE_MOBIADS"> diff --git a/Android/MobiAds/gen/de/android/mobiads/R.java b/Android/MobiAds/gen/de/android/mobiads/R.java index cfb7c06..a0ac68e 100644 --- a/Android/MobiAds/gen/de/android/mobiads/R.java +++ b/Android/MobiAds/gen/de/android/mobiads/R.java @@ -16,20 +16,19 @@ public final class R { public static final int wheelnotification=0x7f020002; } public static final class id { - public static final int ads_entry_icon=0x7f05000f; - public static final int ads_entry_text=0x7f050011; - public static final int ads_entry_title=0x7f050010; + public static final int ads_entry_icon=0x7f05000e; + public static final int ads_entry_text=0x7f050010; + public static final int ads_entry_title=0x7f05000f; public static final int button_bind=0x7f050007; - public static final int button_lislocalads=0x7f05000e; - public static final int button_startservice=0x7f05000c; - public static final int button_stopservice=0x7f05000a; + public static final int button_lislocalads=0x7f05000d; + public static final int button_startservice=0x7f05000b; + public static final int button_stopservice=0x7f050009; public static final int button_unbind=0x7f050008; - public static final int cancel_button=0x7f050005; public static final int frameLayout1=0x7f050000; public static final int frameLayout2=0x7f050003; - public static final int frameLayout3=0x7f050009; - public static final int frameLayout4=0x7f05000b; - public static final int frameLayout5=0x7f05000d; + public static final int frameLayout3=0x7f050005; + public static final int frameLayout4=0x7f05000a; + public static final int frameLayout5=0x7f05000c; public static final int list=0x7f050006; public static final int login_button=0x7f050004; public static final int password=0x7f050002; @@ -39,32 +38,39 @@ public final class R { public static final int main=0x7f030000; public static final int mobiadslist=0x7f030001; public static final int mobiadsmain=0x7f030002; - public static final int news_entry_list_item=0x7f030003; + public static final int mobiadsnewadslist=0x7f030003; + public static final int news_entry_list_item=0x7f030004; } public static final class string { - public static final int alert_dialog_cancel=0x7f040003; - public static final int app_description=0x7f040002; - public static final int app_name=0x7f040001; - public static final int button_cancel=0x7f04000f; - public static final int button_login=0x7f040008; - public static final int button_messagebind=0x7f040009; - public static final int button_messagelistlocalads=0x7f04000d; - public static final int button_messagestartservice=0x7f04000c; - public static final int button_messagestopservice=0x7f04000b; - public static final int button_messageunbind=0x7f04000a; - public static final int button_ok=0x7f04000e; - public static final int desc=0x7f040017; - public static final int encoded_web_service=0x7f040016; - public static final int error_dialog_connection_error=0x7f040004; - public static final int error_dialog_userpwd_error=0x7f040005; + public static final int alert_dialog_cancel=0x7f040004; + public static final int app_description=0x7f040003; + public static final int app_name=0x7f040002; + public static final int button_cancel=0x7f040010; + public static final int button_localads=0x7f040011; + public static final int button_login=0x7f040009; + public static final int button_messagebind=0x7f04000a; + public static final int button_messagelistlocalads=0x7f04000e; + public static final int button_messagestartservice=0x7f04000d; + public static final int button_messagestopservice=0x7f04000c; + public static final int button_messageunbind=0x7f04000b; + public static final int button_ok=0x7f04000f; + public static final int desc=0x7f04001d; + public static final int encoded_web_service=0x7f04001c; + public static final int error_dialog_connection_error=0x7f040005; + public static final int error_dialog_userpwd_error=0x7f040006; public static final int hello=0x7f040000; - public static final int password=0x7f040007; - public static final int remote_service_label=0x7f040012; - public static final int remote_service_started=0x7f040010; - public static final int remote_service_stopped=0x7f040011; - public static final int url_login_web_service=0x7f040013; - public static final int url_web=0x7f040014; - public static final int user_agent_web_service=0x7f040015; - public static final int username=0x7f040006; + public static final int new_ads=0x7f040001; + public static final int password=0x7f040008; + public static final int remote_service_content_empty_notification=0x7f040015; + public static final int remote_service_content_notification=0x7f040014; + public static final int remote_service_new_ads=0x7f040012; + public static final int remote_service_received_ad_notification=0x7f040013; + public static final int remote_service_started_notification=0x7f040016; + public static final int remote_service_stopped_notification=0x7f040017; + public static final int remote_service_title_notification=0x7f040018; + public static final int url_login_web_service=0x7f040019; + public static final int url_web=0x7f04001a; + public static final int user_agent_web_service=0x7f04001b; + public static final int username=0x7f040007; } } diff --git a/Android/MobiAds/res/layout/main.xml b/Android/MobiAds/res/layout/main.xml index 1e03635..e045770 100644 --- a/Android/MobiAds/res/layout/main.xml +++ b/Android/MobiAds/res/layout/main.xml @@ -1,10 +1,9 @@ + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:weightSum="1" > -