Wrox Programmer Forums
|
BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2
This is the forum to discuss the Wrox book Professional Android Application Development by Reto Meier; ISBN: 9780470344712
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 22nd, 2009, 11:45 PM
Registered User
 
Join Date: Sep 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter4_Sample_Todo_list source code question

Hi,
I am new to the Adroid platform. I've just downloaded the source code and tried to compile and run the sample application in the book. I've tried Chapter4_Sample_Todo_List sample code. I can import the project and built using eclipse fine , and the application is running on emulator . However,
my question is: you have created TodoListItemView class ( derived from TextView class) in the src directory, but it seemed TodoListItemView class never got instantiated while the application is running ? Is this the intended behavior ? I've used eclipse debugger to break at TodoListeItemView class init() function, but it seemed the debugger never stopped at init() at all ? Just to be sure that my debugger setting is working correctly, I've tried to set the break point at ToDoList activity class, and it works fine. My question is that if TodoListItemView class never got instantiated, then the onDraw() method that is supposed to do the new coloring of the listitem will not be called , isn't it ? Or maybe I am missing somthing here ? Please help . Here's my eclipse setting:

eclipse build: 20090619-0625
Java JDK v 1.6.0.140
JRE v 6
host platform os : windows xp

Thanks vey much for your help.

Regards,





Similar Threads
Thread Thread Starter Forum Replies Last Post
Code to save html page source code? Jaymond Flurrie Access VBA 2 July 2nd, 2019 06:04 PM
Using Source Code Martin Hart Turner BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 0 December 8th, 2008 05:53 AM
File Upload question - source directory turklet Beginning PHP 1 February 23rd, 2007 10:06 AM
Source code bcshen All Other Wrox Books 1 April 19th, 2004 11:43 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.