You are currently viewing the BOOK: Professional Android 2 Application Development section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
Using Eclipse Luna, chapter 4 todolist does not work properly. The app does not show the notepad like Fig 4-1. Can any body help out? I am stuck and do not know what to do. I am using the code examples that I downloaded. If there is something I need to know about Luna the is different then other versions let me know. I I need to provide more info let me know what I am missing ...
Make sure you go to the right area before you post. This area is Mobile for Data Base you would find that area before posting otherwise you will create a post in the wrong area, like right now. Figure out what you need help with and try again.
Well I found my problem. As part of the Edit.text listener and event handler. The code is expecting a key push of DPAD. This requires the emulator that you use for testing to have the dpad enabled. I had to clone a device definition, rename it and set dpad to active and the Chapter4 TodoList worked perfect right out of the box... It would have been nice if the return key was the key code event that was looked for in this example. But, as always I did learn some stuff. I hope this helps someone else