The real-life weather service examples from Minibook III, Chapter 3 and 5 are missing in this download. (The online service no longer exists!)Read instructions on using Android Studio. |
If you want to use Eclipse, visit eclipse.org and get Eclipse for Java Developers. After installing Eclipse for Java Developers, follow the instructions at http://developer.android.com/sdk/installing/installing-adt.html to add the ADT (Android Developer Tools) to Eclipse. Read instructions on adding the downloaded code to your Eclipse workspace. |
Talk to me:
Tweets by @allmycode
onCreateOptionsMenu
method, check this document.for
statement has the form for (TypeName variable : ArrayOrCollection) { etc.
That is, the character between variable
and ArrayOrCollection
should be a colon, not a semicolon. (Thanks to Anguel Stankov for bringing this to my attention.)<activity android:name=".OtherActivity">
, and not \<activity android:name=".OtherActivity">
.main.xml
file. In truth, the listing contains a strings.xml
file. Thanks to Desmond Drummond for calling this to my attention.android:layout_length
. Instead, it should be android:layout_height
. The code listing (Listing 1-2) is correct but the paragraph and section heading immediately before the code listing are incorrect. (Thanks to Anguel Stankov for bringing this to my attention.)http://api.worldweatheronline.com/free/v1/weather.ashx?key=************************&q=
. (Thanks to Menno Dubbelman for
bringing this issue to my attention.)