# Thursday, December 29, 2011

The absolute best for consumers is AVG in my humble opinion and limited experience, but for developers with root access to your phone it causes too many flags to be thrown.

https://market.android.com/details?id=com.antivirus&feature=search_result

For most users they will find Lookout Mobile Security easier to use with less configuration

https://market.android.com/details?id=com.lookout&feature=search_result

Thursday, December 29, 2011 5:20:10 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  |  Trackback
# Sunday, December 11, 2011

Found the drivers for my Sanyo Zio - SCP-8600 enabling me to use the debug configuration to deploy to my phone in a very hypothetical sense.

http://www.kyocera-wireless.com/support/phone_drivers.htm

Here’s the kicker, a completely unsigned driver that gets a bunch of security prompts when installing on Windows 7…simply unprofessional IMO.  Anyways, if you want to deploy to the phone you’re going to need the drivers!

Sunday, December 11, 2011 10:55:55 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 11 Review Notes

There’s always a few built-in dialogs to any platform and Android Development is no different.  I’ll be working with the DatePickerDialog and exploring others (reading about) and then learn to build my own custom dialog.  This looks like a fairly short chapter, so I’ll track how long it takes to complete.

Below is the generic implementation of the DatePickerDialog with the current date set as the default.

Time dateOfBirth = new Time();
dateOfBirth.set(dayOfMonth, monthOfYear, year);

image

Completion time for this chapter/hour:  ~50 minutes

Sunday, December 11, 2011 9:59:04 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  |  Trackback
# Saturday, December 10, 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 10 Review Notes

Collecting data with forms!!  In this hour the following controls are introduced:  EditText, Button and Spinner.  The saving of the form data will be with SharedPreferences!!

First new thing was the Arrays.xml as a values resource.  Didn’t know this was possible, and the syntax looks like this in the file:

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string-array
        name="genders">
        <item>@string/gender_neutral</item>
        <item>@string/gender_male</item>
        <item>@string/gender_female</item>
    </string-array>
</resources>

The setting screen is complete, and yes, that is a little bit of a different emulator than previous screen shots.  I’m learning to view in other AVDs, though I haven’t been able to connect via USB and deploy to my Zio… http://www.ebay.com/itm/120822080982?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649

 

image

Saturday, December 10, 2011 11:19:52 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  |  Trackback

Watch a video on Developing Android Applications!!

 

image

Saturday, December 10, 2011 4:15:41 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  |  Trackback
# Tuesday, December 06, 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 9 Part B Review Notes

Took a forced break (issues at work side tracked all my home and family time as well as learning time) and now I have finally caught up and able to do a couple things I would like to do on the weekend.

This hour focuses on the TabHost control including the layout and population of controls on each tabs.

There was some wire up type code for each of the tabs that was a bit confusing but manageable.  Surprised that the default tab had to be *configured*.

In most of my web applications XML objects are among some of the lightest weight options for loading date, while database objects are weightier.  In Android programming a 10k XML doc creates some screen flicker! 

image

This completes Hour 9’s review notes!!

Tuesday, December 06, 2011 9:59:31 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  |  Trackback
# 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
# Thursday, December 01, 2011

This evening I explored a variety of emulators.  So far the fastest (hey, 2.2 –API 8 flavor) to load and develop from is the Galaxy Tab from Samsung, though I haven’t loaded the latest HTC’s

If Tab is your style then add the following URL under Tools | Manage Add-on Sites

http://innovator.samsungmobile.com/android/repository/srepository.xml

Go to Packages and hit the Reload option and you’ll see the add on in the location in the screen shot below…

image

Create your new  Galaxy Tab in the AVD (select the new Target type that was added in the previous step)

image

 

And you should get your new emulator looking like this!!

image

Thursday, December 01, 2011 10:49:30 PM (Central Standard Time, UTC-06:00)  #    Disclaimer  |  Comments [0]  |  Trackback