Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | 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 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 .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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);
Reply With Quote
  #2 (permalink)  
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.
Reply With Quote
  #3 (permalink)  
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 07:42 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.