| Feb 18 |  3:50 PM | 
| Mark M. | has entered the room | 
| Mark M. | turned on guest access | 
| Feb 18 |  3:55 PM | 
| EGHDK | has entered the room | 
| Mark M. | hello, EGHDK | 
| Mark M. | how can I help you today? | 
| Feb 18 |  4:00 PM | 
| EGHDK | A couple of questions I've jotted down from reading your book other java books. | 
| EGHDK | First, is I'm extremely confused anytime I say anything like AlertDialog.Builder builder = new... | 
| Mark M. | um, could you be more specific? | 
| Mark M. | confused about what? | 
| EGHDK | I'm unsure of why it's not just AlertDialogBuilder builder = new... | 
| EGHDK | Anytime a class name has a . I get confused. | 
| Mark M. | because there is no class named AlertDialogBuilder | 
| EGHDK | I feel like I'm missing something. It doesn't make sense of why it has a dot. | 
| Mark M. | AlertDialog.Builder refers to the Builder static inner class of AlertDialog | 
| Mark M. | |
| EGHDK | It didn't make sense to me because I looked up android docs on AlertDialog.Builder. and it seems to be its own class. | 
| EGHDK | |
| Mark M. | it is a static inner class of AlertDialog | 
| EGHDK | But what you're saying is that Builder is inside of AlertDialog? | 
| Mark M. | yes | 
| EGHDK | okay. | 
| EGHDK | Interesting. | 
| EGHDK | I knew you could do that, but I didn't know that it was a convention. | 
| EGHDK | I don't see why google didn't decide to just make an AlertDialogBuilder class. | 
| Feb 18 |  4:05 PM | 
| Mark M. | fewer .java files | 
| EGHDK | hm... ill take your word for it. Makes sense. | 
| Mark M. | syntactically, other than the dot, there is no substantive difference between a static inner class and a separate Java class | 
| Mark M. | different developers use different styles | 
| Mark M. | some might have gone with AlertDialogBuilder | 
| Mark M. | not everyone codes the same way | 
| EGHDK | Gotcha. | 
| EGHDK | Okay. That makes sense now. Thanks | 
| EGHDK | My second question comes from your book, and the @Override annotation. | 
| EGHDK | You said that this indicates that methods are implementing a java interface, rather than truly overriding a superclass method. | 
| Mark M. | no | 
| Mark M. | it is used for both | 
| Mark M. | however, the implementing-an-interface usage was added in Java 6 | 
| Mark M. | Eclipse used to default developers to code validation for Java 5 (or 1.5, depending on what numbering scheme you like) | 
| Feb 18 |  4:10 PM | 
| Mark M. | which is why I have to point out to make sure that you are set to Java 6 | 
| EGHDK | Okay. Got it. | 
| Mark M. | Eclipse should be more sensible nowadays | 
| EGHDK | There seems to be a problem with two spots in your book. I believe they contradict each other, but I'm not sure. Maybe I'm reading it wrong. | 
| EGHDK | 1. "By default, your application will not support small screens..." then later in the book you say 2. "We will add a <supports-screens> element to keep our application off "small" screen devices" | 
| Mark M. | where is the first quote? | 
| EGHDK | Erm. I dont have the exact page number. I have it running on my kindle. | 
| Mark M. | give me a section heading or something | 
| EGHDK | It's in the begining. | 
| EGHDK | "Supporting Multiple Screens" | 
| EGHDK | 3% into your book (According to Amazon... heh) | 
| Mark M. | yeah, I will need to think through that | 
| Feb 18 |  4:15 PM | 
| Mark M. | I may have been referring to some defaults from long ago that are no longer in place | 
| Mark M. | the second one is correct | 
| Mark M. | well, rephrase that | 
| Mark M. | the second one is correct for its location and purpose | 
| Mark M. | yeah, the first one is wrong, android:smallScreens is true by default | 
| Mark M. | I'll tighten that up for the next release | 
| Mark M. | which, since Version 5.6 was released a couple of hours ago, the next release will be in about a month | 
| Feb 18 |  4:20 PM | 
| EGHDK | Got it. Thanks | 
| Feb 18 |  4:25 PM | 
| EGHDK | That's all for today for me. | 
| Mark M. | OK | 
| Feb 18 |  5:00 PM | 
| Mark M. | that's a wrap for today's chat | 
| Mark M. | the next one is Thursday at 7:30pm US Eastern Time | 
| Mark M. | the transcript for this one will be available on http://commonsware.com/office-hours/ shortly | 
| Mark M. | have a pleasant day! | 
| EGHDK | has left the room  | 
| Mark M. | turned off guest access | 
