From 9a2d59929e445f6592022c3524e7bc08ef8d50c0 Mon Sep 17 00:00:00 2001 From: Donn Felker Date: Thu, 6 Sep 2012 18:19:45 -0500 Subject: [PATCH 1/8] Fixing spelling on build params --- app/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/pom.xml b/app/pom.xml index b01296e..ec08cc4 100644 --- a/app/pom.xml +++ b/app/pom.xml @@ -150,7 +150,7 @@ Also, if you have a ci (Continuous Integration) profile, these values can be passed in via the build server. --> ${bootstrap.sign.keystore} - ${boostrap.sign.alias} + ${bootstrap.sign.alias} ${bootstrap.sign.storepass} ${bootstrap.sign.keypass} true From 081f944e2447e838a86f762b231a3fad2b0682e4 Mon Sep 17 00:00:00 2001 From: Donn Felker Date: Thu, 6 Sep 2012 20:53:06 -0500 Subject: [PATCH 2/8] Updating pom and readme --- README.md | 7 +++++++ app/pom.xml | 2 +- integration-tests/pom.xml | 2 +- pom.xml | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 393dac5..17cff32 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,13 @@ to report any bugs or feature requests and to see the list of known issues. +## Authentication +Log into this demo app with the following credentials: + +user: demo@androidbootstrap.com + +password: android + ## License * [Apache Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html) diff --git a/app/pom.xml b/app/pom.xml index ec08cc4..3fb1450 100644 --- a/app/pom.xml +++ b/app/pom.xml @@ -10,7 +10,7 @@ https://github.com/donnfelker/android-bootstrap - 1.4 + 1.0 com.donnfelker.android.bootstrap android-bootstrap-parent diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml index 518cb4e..183072f 100644 --- a/integration-tests/pom.xml +++ b/integration-tests/pom.xml @@ -9,7 +9,7 @@ apk - 1.4 + 1.0 com.donnfelker.android.bootstrap android-bootstrap-parent diff --git a/pom.xml b/pom.xml index 6bdaf11..bdb209d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 - 1.4 + 1.0 com.donnfelker.android.bootstrap android-bootstrap-parent Android Bootstrap parent From 7587282029f7e71b0b56fe505950c822b4057aba Mon Sep 17 00:00:00 2001 From: Donn Felker Date: Tue, 11 Sep 2012 09:52:47 -0700 Subject: [PATCH 3/8] Readme edits --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 17cff32..dcc47e2 100644 --- a/README.md +++ b/README.md @@ -77,9 +77,9 @@ and uses many great open-source libraries from the Android dev community: * [ActionBarSherlock](https://github.com/JakeWharton/ActionBarSherlock) for a consistent, great looking header across all Android platforms, [ViewPagerIndicator](https://github.com/JakeWharton/Android-ViewPagerIndicator) - for swiping between content, traffic, & referrer pages, and - [NineOldAndroids](https://github.com/JakeWharton/NineOldAndroids) for the - AirTraffic view animations - all from [Jake Wharton](http://jakewharton.com/). + for swiping between fragments and + [NineOldAndroids](https://github.com/JakeWharton/NineOldAndroids) for + view animations - all from [Jake Wharton](http://jakewharton.com/). * [RoboGuice](http://code.google.com/p/roboguice/) for dependency-injection. * [Robotium](http://code.google.com/p/robotium/) for driving our app during integration tests. From 0d74378a239455d0fcabd56db9f6228afb1d4297 Mon Sep 17 00:00:00 2001 From: Donn Felker Date: Tue, 11 Sep 2012 10:04:05 -0700 Subject: [PATCH 4/8] Adding instructions for bootstrapping with the generator. --- README.md | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dcc47e2..2da6541 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,10 @@ This repository contains the source code for the [Android Bootstrap](http://www.androidbootstrap.com/) Android app available soon from [Google Play](https://play.google.com/store/apps/details?id=com.donnfelker.android.bootstrap). - - Please see the [issues](https://github.com/donnfelker/android-bootstrap/issues) section to report any bugs or feature requests and to see the list of known issues. - + @@ -19,6 +17,30 @@ user: demo@androidbootstrap.com password: android + +## Generating your Bootstrap App +Why generate? Simple ... renaming files, folders, copy and pasting is SUPER error prone and well... it sucks overall. This can easily take a few days with debugging if you run into issues and perform a lot of typo's. Using the generator on [AndroidBootstrap.com](http://www.androidbootstrap.com) you can generate your application with your application name as well as the package (and folder structure) that you want to work with. + +As an example, you know that you want your app name and package to the following: + + - *App Name*: Notify + - *Package Name*: com.notify.app.mobile + +After generating the app on [AndroidBootstrap.com](http://www.androidbootstrap.com) the folder structure of the source code for the app will change: + + - From: __com/donnfelker/android/bootstrap__ + - To: __com/notify/app/mobile__ + +At that point all the source files that were located in ____com/donnfelker/android/bootstrap__ will be moved to the new folder __com/notify/app/mobile__. + +All import statments that reference the old resources (__R.com.donnfelker.android.bootstrap.R__) will now be renamed to the correct package. The artifact id's in the *pom.xml* (and various other places) will be replaced. The App Name will be replaced in the strings/etc. + +The end result is that you will be given a zip file with the correct structure. Open the zip and then execute *mvn clean package* and your app should be ready for development. + +Enjoy! + +The application + ## License * [Apache Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html) From 855a1e3e1e112911e8e4236aa40b78f8eb31c6d0 Mon Sep 17 00:00:00 2001 From: Donn Felker Date: Tue, 11 Sep 2012 11:08:58 -0700 Subject: [PATCH 5/8] Updating readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2da6541..de4730a 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Android Bootstrap App This repository contains the source code for the [Android Bootstrap](http://www.androidbootstrap.com/) -Android app available soon from [Google Play](https://play.google.com/store/apps/details?id=com.donnfelker.android.bootstrap). +Android app available from [Google Play](https://play.google.com/store/apps/details?id=com.donnfelker.android.bootstrap). Please see the [issues](https://github.com/donnfelker/android-bootstrap/issues) section to report any bugs or feature requests and to see the list of known issues. From 931b3f5078d3d0f802ba714926d2d8b516fb7d06 Mon Sep 17 00:00:00 2001 From: Donn Felker Date: Wed, 26 Sep 2012 08:24:16 -0700 Subject: [PATCH 6/8] Adding link to discussion forum --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index de4730a..cab6c56 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ Android app available from [Google Play](https://play.google.com/store/apps/deta Please see the [issues](https://github.com/donnfelker/android-bootstrap/issues) section to report any bugs or feature requests and to see the list of known issues. +Have a questions about Android Bootstrap? Ask away on the [android-bootstrap discussion forum](https://groups.google.com/forum/#!forum/android-bootstrap). + From a812c4656e4d431f23e88d27e31315883a6e8d24 Mon Sep 17 00:00:00 2001 From: Donn Felker Date: Wed, 3 Oct 2012 09:17:57 -0700 Subject: [PATCH 7/8] Fixing import statement. --- .../android/bootstrap/ui/NewsActivity.java | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/app/src/main/java/com/donnfelker/android/bootstrap/ui/NewsActivity.java b/app/src/main/java/com/donnfelker/android/bootstrap/ui/NewsActivity.java index bac4b8c..db30d3f 100644 --- a/app/src/main/java/com/donnfelker/android/bootstrap/ui/NewsActivity.java +++ b/app/src/main/java/com/donnfelker/android/bootstrap/ui/NewsActivity.java @@ -1,23 +1,15 @@ package com.donnfelker.android.bootstrap.ui; -import android.content.Intent; +import static com.donnfelker.android.bootstrap.core.Constants.Extra.NEWS_ITEM; import android.os.Bundle; import android.widget.TextView; -import com.actionbarsherlock.R; -import com.actionbarsherlock.view.MenuItem; -import com.donnfelker.android.bootstrap.BootstrapServiceProvider; +import com.donnfelker.android.bootstrap.R; import com.donnfelker.android.bootstrap.core.News; -import com.github.rtyley.android.sherlock.roboguice.activity.RoboSherlockActivity; -import com.google.inject.Inject; import roboguice.inject.InjectExtra; import roboguice.inject.InjectView; -import static android.content.Intent.FLAG_ACTIVITY_CLEAR_TOP; -import static android.content.Intent.FLAG_ACTIVITY_SINGLE_TOP; -import static com.donnfelker.android.bootstrap.core.Constants.Extra.NEWS_ITEM; - public class NewsActivity extends BootstrapActivity { @InjectExtra(NEWS_ITEM) protected News newsItem; From e6bb99df3d8595eaae22811d43a9185082169044 Mon Sep 17 00:00:00 2001 From: Donn Felker Date: Wed, 3 Oct 2012 09:34:40 -0700 Subject: [PATCH 8/8] Fixing target in default.properties. Fixes #12 --- default.properties | 2 +- integration-tests/default.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/default.properties b/default.properties index a923a3f..37b6a1a 100644 --- a/default.properties +++ b/default.properties @@ -1,4 +1,4 @@ # A dummy file to force the Android Emulator Plugin to install SDK 15 # which we need for compiling against ABS 4. -target=android-15 +target=android-16 diff --git a/integration-tests/default.properties b/integration-tests/default.properties index 31ff39a..ad4ae37 100644 --- a/integration-tests/default.properties +++ b/integration-tests/default.properties @@ -1,4 +1,4 @@ # Project target. -target=android-15 +target=android-16