From c0fb0943fc9dc5c3da6f766a084a4b73f99a424b Mon Sep 17 00:00:00 2001 From: Fred Grott Date: Tue, 14 Sep 2010 04:23:08 -0500 Subject: [PATCH] corrected readme and javadocs --- local.properties | 1 + readme.markdown | 5 ++++- src/com/mobilebytes/andcustomtitle/Splash.java | 17 +++++++++++++---- 3 files changed, 18 insertions(+), 5 deletions(-) create mode 100644 local.properties diff --git a/local.properties b/local.properties new file mode 100644 index 0000000..23324e6 --- /dev/null +++ b/local.properties @@ -0,0 +1 @@ +sdk.dir=/home/fredgrott/opt/android/android-sdk-linux_86_mine \ No newline at end of file diff --git a/readme.markdown b/readme.markdown index bb79393..4de03b2 100644 --- a/readme.markdown +++ b/readme.markdown @@ -1,4 +1,4 @@ -![AndCustomTitle(http://github.com/shareme/andcustomtitle/raw/master/screenshots/andcustomtitleicon.png) +![AndCustomTitle](http://github.com/shareme/andcustomtitle/raw/master/screenshots/andcustomtitleicon.png) # Project Name AndCustomTitle uses themes and extended Window features of Android to customize @@ -38,6 +38,9 @@ http://www.apache.org/licenses/LICENSE-2.0.html You can download the source and re-use or you can also download the binary to see it at work in your android device. +[AndCustomTitle APK via QR](http://github.com/downloads/shareme/AndCustomTitle/AndCustomTitle.apk/qr_code) +[AndCustomTitle APK via http](http://github.com/shareme/andcustomtitle/raw/master/screenshots/AndCustomTitle.apk) + # Credits # Feedback diff --git a/src/com/mobilebytes/andcustomtitle/Splash.java b/src/com/mobilebytes/andcustomtitle/Splash.java index 68e501b..5243870 100644 --- a/src/com/mobilebytes/andcustomtitle/Splash.java +++ b/src/com/mobilebytes/andcustomtitle/Splash.java @@ -1,12 +1,12 @@ /******************************************************************************* * Copyright 2010 fredgrott - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -49,9 +49,18 @@ public void onCreate(Bundle icicle) { requestWindowFeature(Window.FEATURE_NO_TITLE); setContentView(R.layout.splashscreen); - /* + /** * New Handler to start the Menu-Activity and close this Splash-Screen * after some seconds. + * + * An android.os.Handler.Handler is used to post a new Intent + * that that will than be triggered by setting SplashActivity context + * to SplasHactivity.this.startActivity(mainIntent); as delayed + * Handler post. + * + * We declare a new Runnable() as we do not have a current thread to + * associate with the Handler() que being setup. + * */ new Handler().postDelayed(new Runnable() { public void run() {