Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional Android 4 Application Development
This is the forum to discuss the Wrox book Professional Android 4 Application Development Reto Meier; ISBN: 978-1-1181-0227-5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Android 4 Application Development 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 February 25th, 2013, 08:06 AM
Authorized User
Points: 62, Level: 1
Points: 62, Level: 1 Points: 62, Level: 1 Points: 62, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2013
Posts: 14
Thanks: 2
Thanked 0 Times in 0 Posts
Default To Do List Activity Problem

Hi,

I've followed everything in the book, and tried about 4 times already to get the ToDoList example to work but I'm still getting an error with the following code.
In order to make sure I didn't miss anything, I actually created the project and copied the code from the source code files, but I still get red line error under the following parts of the code that I highlighted here in red. Can anybody help please.


setContentView(R.layout.main);

and

ListView myListView = (ListView)findViewById(R.id.myListView);
final EditText myEditText = (EditText)findViewById(R.id.myEditText);
 
Old February 25th, 2013, 10:36 AM
Authorized User
Points: 89, Level: 1
Points: 89, Level: 1 Points: 89, Level: 1 Points: 89, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2013
Posts: 27
Thanks: 1
Thanked 0 Times in 0 Posts
Default Todolist chapter 4?

Hi, it looks like the folder res/layout is not there..
If you use Eclipse, then do :
File-> New-> Other-> Android project from existing code, and in import projects wizard browse to "...\Full Worked Sample Projects\Chapter_4_To-do_List_Part_1" (or whatever downloaded project from the book) in the root directory of this wizard. copy project also in the workspace.
Otherwise i would not know what went wrong.
 
Old February 28th, 2013, 08:12 AM
Authorized User
Points: 62, Level: 1
Points: 62, Level: 1 Points: 62, Level: 1 Points: 62, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2013
Posts: 14
Thanks: 2
Thanked 0 Times in 0 Posts
Default Hey Kees

Thank you for the help! That did work




Similar Threads
Thread Thread Starter Forum Replies Last Post
Activity vs intent ironmantis7x BOOK: Beginning Android 4 Application Development 0 July 6th, 2012 12:25 PM
activity error droidus BOOK: Beginning Android Application Development 9 December 25th, 2011 08:40 PM
bug in activity tracking vantoko BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 February 25th, 2007 11:29 AM
capturing activity ozPATT Access VBA 2 December 21st, 2005 09:20 AM
Activity schedule edubbelaar Access 3 November 24th, 2004 11:21 AM





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