Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
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 March 8th, 2010, 10:56 PM
ykc ykc is offline
Registered User
 
Join Date: Mar 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 4: Can't get Figure 4-7

Hi,
Before proceeding further, I try to run the Activity to get Figure 4-7 in page 108. The emulator did come out but when I press the 'menu' button, there is no 'Add New Item' or 'Remove Item' Icons at bottom of screen. Instead the 'New To Do Item' text within the EditText box was 'entered' as new item in the list.
Pls help to enlighten how to debug or what should be the approach t tackle.
Thx.
Rgds,
 
Old March 9th, 2010, 08:49 PM
ykc ykc is offline
Registered User
 
Join Date: Mar 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 4: Can't get Figure 4-7

It is me again.
I tried again and using reference to the new codes from the new book "Professional Android 2 Application Development" as I am using Android SDK 2.1 now. I am not exactly copying totally but check if there is differences due to different SDKs used, example the res/drawable.
This time the icons come out fine when I click the menu button.

But now I got new problem, my action of adding new item to the listview is not working. What is the best approach to find the bugs: using DDMS or the Java debugger in Eclipse ?

Thx.
Rgds
 
Old March 10th, 2010, 01:01 AM
ykc ykc is offline
Registered User
 
Join Date: Mar 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 4: Can't get Figure 4-7

It's me again.
Now, I tried the whole original project codes from the new book "Professional Android 2 Application Development" path: Android 2 Project example\Chapter 4 To-do List 2.
But , the problem still exist! I can't do any inputting of the item list at all.
Is it the way to use center mouse key or the original codes got bugs?
Please help if any.

Thx.

Rgds,
 
Old March 10th, 2010, 03:50 AM
ykc ykc is offline
Registered User
 
Join Date: Mar 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 4: Can't get Figure 4-7

Hi,
It is me again.
As I play around with emulator's keys, I discovered that actually it works with the navigation center select key. Oh, I was mistaken with the "center D-PAD" to be the mouse center key.
Everything is ok and working fine now. No more question.
Rgds




Similar Threads
Thread Thread Starter Forum Replies Last Post
_MACOSX? and chapter 1 Figure 1-1 DS_store blackhorse66 BOOK: Beginning JavaScript and CSS Development with jQuery 2 August 7th, 2009 05:31 PM
FYI: Chapter 8, Figure 8-5, page 240 peace95 BOOK: Beginning Oracle Application Express ISBN: 9780470388372 0 June 24th, 2009 02:29 AM





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