Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
_Android Programming Tutorials_ Version 1.0 Ready
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mark Murphy  
View profile  
 More options Jun 3, 4:14 pm
From: Mark Murphy <mmur...@commonsware.com>
Date: Wed, 03 Jun 2009 16:14:34 -0400
Local: Wed, Jun 3 2009 4:14 pm
Subject: _Android Programming Tutorials_ Version 1.0 Ready
Those of you with active Warescriptions are welcome to download Version
1.0 of _Android Programming Tutorials_!

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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tony Su  
View profile  
 More options Jun 19, 5:37 am
From: Tony Su <ton...@su-networking.com>
Date: Fri, 19 Jun 2009 02:37:23 -0700 (PDT)
Local: Fri, Jun 19 2009 5:37 am
Subject: Re: _Android Programming Tutorials_ Version 1.0 Ready
Early feedback is that the instructions appear to be specific to the
Linux version of the Android SDK.

For example, to setup the first project requires invoking the
"android" command but that file does not exist in the Windows version
of the Android 1.5r2 SDK.

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.

Does this qualify as a "bug?"
:)

I may just setup a Linux virtual machine anyway specifically for these
Tutorials, but it might have been nice to be able to run it on Windows
with my other dev tools. Yes, I could also probably just manually
build each project but I'm not necessarily looking to make life harder
doing mundane things when an automated setup might be available.

Tony

On Jun 3, 1:14 pm, Mark Murphy <mmur...@commonsware.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Murphy  
View profile  
 More options Jun 19, 8:18 am
From: "Mark Murphy" <mmur...@commonsware.com>
Date: Fri, 19 Jun 2009 08:18:18 -0400 (EDT)
Local: Fri, Jun 19 2009 8:18 am
Subject: Re: [cw-android] Re: _Android Programming Tutorials_ Version 1.0 Ready

> Early feedback is that the instructions appear to be specific to the
> Linux version of the Android SDK.

> For example, to setup the first project requires invoking the
> "android" command but that file does not exist in the Windows version
> of the Android 1.5r2 SDK.

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!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Murphy  
View profile  
 More options Jun 19, 4:03 pm
From: "Mark Murphy" <mmur...@commonsware.com>
Date: Fri, 19 Jun 2009 16:03:34 -0400 (EDT)
Local: Fri, Jun 19 2009 4:03 pm
Subject: Re: [cw-android] Re: _Android Programming Tutorials_ Version 1.0 Ready

>> For example, to setup the first project requires invoking the
>> "android" command but that file does not exist in the Windows version
>> of the Android 1.5r2 SDK.

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.

--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tony Su  
View profile  
 More options Jun 19, 5:38 pm
From: Tony Su <ton...@su-networking.com>
Date: Fri, 19 Jun 2009 14:38:31 -0700
Local: Fri, Jun 19 2009 5:38 pm
Subject: RE: [cw-android] Re: _Android Programming Tutorials_ Version 1.0 Ready
Hmmmm...
I checked and searched my entire machine and the file doesn't exist. I'll download the SDK again and re-install.

Tony

----- Original Message -----
From: Mark Murphy <mmur...@commonsware.com>
Sent: Fri, 6/19/2009 1:03pm
To: cw-android@googlegroups.com
Subject: [cw-android] Re: _Android Programming Tutorials_ Version 1.0   Ready

>> For example, to setup the first project requires invoking the
>> "android" command but that file does not exist in the Windows version
>> of the Android 1.5r2 SDK.

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.

--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google