Just visit http://wares.commonsware.com, log in, and your PDF will be
waiting. A Kindle edition should show up within a few days.
This has a few minor fixes over 0.95, notably addressing a bug in
Android 1.5r2 that affected the map tutorial.
_Android Programming Tutorials_ should be available in print from finer
online bookstores within the next few weeks.
The other two Android books will also be updated within the next couple
of weeks, to include Android 1.5 material, and in the case of the
Advanced Android book, to push it closer to Version 1.0.
Questions? Post 'em here!
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Warescription: Three Android Books, Plus Updates, $35/Year
According to Google, it does. The section you are having trouble with is
quoted straight from the Android documentation:
http://developer.android.com/sdk/1.5_r2/installing.html
And, since I quoted them, if I'm wrong, the docs are wrong.
I've also just had nine students go through these tutorials without a
hitch, though most of them may be using Eclipse. When class resumes in a
few hours, I'll check one of their notebooks and re-confirm these
instructions.
> Also, the instructions suggest configuring the PATH environmental
> parameter to point to the SDK tools directory. There might be one
> tools directory in the Linux SDK (unconfirmeed) but there are two such
> directories in the Windows SDK, one for the updated Cupcake versions
> and the other for the older Android 1.1 SDK version.
There actually should be three tools\ directories, where $SDK below refers
to where your SDK was installed
-- $SDK\tools
-- $SDK\platform\android-1.1\tools
-- $SDK\platform\android-1.5\tools
As the Android documentation (and my book) states, the one you want in
your PATH is $SDK\tools.
Inside of $SDK\tools should be android.bat (or possiblye android.cmd),
which, last I knew, you could run simply as "android".
I am on the road at the moment, so my Windows VirtualBox is not at the
ready, otherwise I'd confirm this stuff right now.
> Does this qualify as a "bug?"
> :)
Let me do some more experimenting and I'll get back to you.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
Oh, yes it does.
I just downloaded and unZIPped the Windows SDK.
I do not know where you installed it. Let us pretend for a moment that you
put it in C:\Program Files\android-sdk-windows-1.5_r2 -- basically, you
unZIPed the ZIP file right into C:\Program Files.
In that case, there should be a C:\Program
Files\android-sdk-windows-1.5_r2\tools directory, and in there is
android.bat. If you put that \tools directory in your PATH, then you will
be able to run the android command from your Command Prompt.
If you cannot find C:\Program Files\android-sdk-windows-1.5_r2\tools
(i.e., the \tools directory under wherever you unZIPped the SDK), then
there is a problem with your SDK installation -- please re-download and
re-install the SDK.
If you encounter further difficulties, please write back.