# Sunday, December 04, 2011

Here’s the skivvy on the review. Since, I made the commitment to read this Droid book, I’m going to provide review notes for each hour of the book immediately after I complete that section of the book. In theory you’ll see 24 separate posts over the next few days containing my personal notes on my experience with the book.

Hour 8 Review Notes

This hour is all about main menu that users will see after the splash screen.

The layout was a bit tricker on this screen and the book, just didn’t give it you, there was some work involved.

The screen looks cheesy but I sure learned a lot about how to place controls and the ListView control.  I still need to research that one as I’m unclear about most of its nuances.

image

 

Hour 8 is complete!!!

Sunday, December 04, 2011 10:17:24 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  |  Trackback

Here’s the skivvy on the review. Since, I made the commitment to read this Droid book, I’m going to provide review notes for each hour of the book immediately after I complete that section of the book. In theory you’ll see 24 separate posts over the next few days containing my personal notes on my experience with the book.

Hour 7 Review Notes

Splash screen up next

There was even a bit of code to do simple animations, like the Been There fades in.

image

All the animations presented in this hour/chapter are programmatic in nature with no GUI designer.

I would like to have explored the Tweening animations

Overall a quick intro but I left the hour lacking the ability to do anything real… the other Hours I didn’t feel that way.  Overall I’ll explore this more on my own.

Examples were a little harder to follow as the Hours progress in difficulty this would be what I expect.

 

Sunday, December 04, 2011 10:25:19 AM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  |  Trackback
# Saturday, December 03, 2011

Here’s the skivvy on the review. Since, I made the commitment to read this Droid book, I’m going to provide review notes for each hour of the book immediately after I complete that section of the book. In theory you’ll see 24 separate posts over the next few days containing my personal notes on my experience with the book.

Hour 6 Review Notes

Promising hour (or chapter depending on how you view the book) going to create an Android Trivia Game, but first a moment from my sponsor – LUNCH!!  brb

I’m up to page 117 and got the prototype built consisting of screens, not much on them but the framework of an application is there based on the game of ‘Been There, Done That!’

Wrote some *real* code for the final exercise.

 

DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
        Date date = new Date();
        String currentDate = dateFormat.format(date);
       
        SharedPreferences settings = getSharedPreferences(GAME_PREFERENCES, MODE_PRIVATE);       
        Log.i(TAG,"Last Launched QuizSplashActivity: " + settings.getString("lastLaunch", currentDate) );         
        SharedPreferences.Editor prefEditor = settings.edit();
        prefEditor.putString("lastLaunch", currentDate);
        prefEditor.commit();

 

 

Saturday, December 03, 2011 3:55:08 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  |  Trackback

Here’s the skivvy on the review. Since, I made the commitment to read this Droid book, I’m going to provide review notes for each hour of the book immediately after I complete that section of the book. In theory you’ll see 24 separate posts over the next few days containing my personal notes on my experience with the book.

Hour 5 Review Notes

Hour 5 is “Configuring the Android Manifest File”  Does programming euphoria start in this hour?

If the ADT plug-in creates most of the important configuration settings, why would you ever use anything else??

Not euphoria, but configuration memorization begins in the AndroidManifest.xml file.

image

Setting the min version of SDK <uses-sdk android:minSdkVersion="10" />

And you have to set the Debuggable attribute to true, but don’t forget to set to false when going to production!

Got bogged down on the first example… had two activities in the Application Nodes of the manifest file.

Made it past the permissions issues… http://developer.android.com/reference/android/Manifest.permission.html

Hour 5 done, but it took about 1 hour 25 min… mostly my own misdirections… including a @shanselman conversation on twitter.

 

Saturday, December 03, 2011 11:54:34 AM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  |  Trackback

Here’s the skivvy on the review. Since, I made the commitment to read this Droid book, I’m going to provide review notes for each hour of the book immediately after I complete that section of the book. In theory you’ll see 24 separate posts over the next few days containing my personal notes on my experience with the book.

Hour 4 Review Notes

This hour is about Managing Application Resources… first thought is graphics and files.

Darcey and Conder are lumping Strings, colors and layout files as resources… I’m down with that.

Huh?  Resource filenames must be lowercase and no dashes… thought that died with the fax machine.  Grrrr we still have those in the insurance department.  Welcome, your time travel experience starts with a visit to 1994.

Good muggle-esque quote:  “Displaying an application correctly on a handset, rather than the Eclipse layout editor, should always be a  developer’s primary objective.”

Creating a bunch of .xml resource files in the exercises…not glamorous, but essential

image

Final exercise was to place an image into the layout… used one of my blacksmith and anvil shots from my Mount Vernon trip a few months ago.

image

Hour 4 took about 1:10 to complete cause I got lost in tweeting about the experience and playing with more properties than listed in the book!

Saturday, December 03, 2011 10:27:32 AM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  |  Trackback

Here’s the skivvy on the review. Since, I made the commitment to read this Droid book, I’m going to provide review notes for each hour of the book immediately after I complete that section of the book. In theory you’ll see 24 separate posts over the next few days containing my personal notes on my experience with the book.

Hour 3 Review Notes

Hour 3 is tantalizingly titled “Building Android Applications” and I’m going to stay up past midnight in order to complete it.

No coding during this hour but lots of discussion… like the link on intents http://www.openintents.org/en/

WRONG there is coding but it’s in the exercise section on the last page of the hour.  Some custom logging that illustrated when some events fired… I played with an phone call interruption to see when create, start, stop, resume, pause and destroy.

Got them to all fire according to the text book, and Hour 3 is complete in about 25 minutes… Hour 4 will have to wait until tomorrow!!

image

 

 

Saturday, December 03, 2011 12:16:14 AM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  |  Trackback
# Friday, December 02, 2011

Here’s the skivvy on the review. Since, I made the commitment to read this Droid book, I’m going to provide review notes for each hour of the book immediately after I complete that section of the book. In theory you’ll see 24 separate posts over the next few days containing my personal notes on my experience with the book.

Hour 2 Review Notes

Hour 2 is all about tools and getting acquainted with what’s at your disposal and how to use.  You might think this to be really cool, and I’m sure it is to someone, but the content is weak here just a few things to do.

Learned that CTRL + F11 and CTRL + F12 change orientation of a running emulator.  Alt + Enter goes to full screen mode and even causes my second monitor to flash black for a second.

image

Something funny about seeing my blog site on the phone emulator… chalk it up to geek humor.

Did find a listing of more tools…http://developer.android.com/guide/developing/tools/index.html

One cool exercise to change your photo in an AVD

image

And now I’m done with Hour 2 in about 38 minutes.

Friday, December 02, 2011 11:39:24 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  |  Trackback

Here’s the skivvy on the review.  Since, I made the commitment to read this Droid book, I’m going to provide review notes for each hour of the book immediately after I complete that section of the book.  In theory you’ll see 24 separate posts over the next few days containing my personal notes on my experience with the book.

Hour 1 Review Notes

I already had the Android SDK installed and Eclipse, though my version is a couple new than used in the first example so I went to the SDK Manager and downloaded the 2.3.3 API Level 10 version in a blind attempt to minimize compatibility issues.  I have no idea if this will reap dividends.

The authors mention API level 9 and you aren’t going to see it in the latest versions of the SDK

Project setup covered and a quick explanation of the different project files and page 16 is complete!

Like the breakdown of the AndroidManifest.xml file in both tabbed UI implementation and the XML… BTW the print copy of this book is in COLOR that matches my default text colors in Eclipse

image

The first *real* change in the application is to set up debugging… +1 for early debug recognition

Next up the Hello World app, and the dreaded create a new AVD and wait and wait and wait before it even launches for use.  Not sure how much time my future self will spend staring at this screen!

image

According to the clock on my machine it takes 1 min 21 sec to get from zero to the application running

image

In reviewing the questions and answers at the end of the book, the workshop and the Exercises I found them to be the most time occupying and ended up spending about 45 minutes on Hour 1 of the book.

 

Friday, December 02, 2011 10:56:04 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  |  Trackback

“What are you going to do this weekend?”  Hanging out with the family, and reviewing a book makes the perfect getaway!

Generally my expectations are low of the “learn in 24 hours” series, so the only way to move on the Reynolds’ expectation scale is UP!

Check back on Monday and see if I made I lived through my 24 hours…

Friday, December 02, 2011 9:59:46 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  |  Trackback

While scouring the blogosphere I ended up at this page showing a relatively easy configuration for attaching your Kindle Fire to ADB for Android Development!!

http://g-ecx.images-amazon.com/images/G/01/sdk/Connecting_your_Kindle_Fire_to_ADB.pdf

Quick side note:  Since I’m writing mainly about Android I added the tag to my posts instead of the ubiquitous “Java” tag…at least I didn’t file ‘em all under '”internet”

Friday, December 02, 2011 9:19:09 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  |  Trackback