Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Mobile Development > BOOK: Professional Android 2 Application Development
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional Android 2 Application Development
This is the forum to discuss the Wrox book Professional Android 2 Application Development, 2nd Edition by Reto Meier; ISBN: 978-0-470-56552-0
Welcome to the p2p.wrox.com Forums.

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 .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 5th, 2010, 12:48 AM
Registered User
 
Join Date: Jun 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problems w/ Force Close on Todo List Chapter 2

I'm new to all this. So I'm trying to learn and I have the code correct in my eclipse IDE, but everytime I run the the app on the emulator it force closes without doing a thing. I checked my code again and i get these screens saying: "The JAR of this class file belongs to container 'Android 2.0' which does not allow modifications to source attachments on its entries. " Then it shows this:
// Compiled from View.java (version 1.5 : 49.0, no super bit)
public abstract static interface android.view.View$OnKeyListener {

// Method descriptor #4 (Landroid/view/View;ILandroid/view/KeyEvent;)Z
public abstract boolean onKey(android.view.View arg0, int arg1, android.view.KeyEvent arg2);

Inner classes:
[inner class info: #1 android/view/View$OnKeyListener, outer class info: #7 android/view/View
inner name: #9 OnKeyListener, accessflags: 1545 public abstract static]
}

Is this causing my problem? Any help would be nice.
Thanks
Reply With Quote
  #2 (permalink)  
Old June 5th, 2010, 01:10 AM
Registered User
 
Join Date: Jun 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default New Info for my problem.

In the console view of eclipse i get this message when trying to run or debug my todo list app:

[2010-06-05 00:04:06 - Todo List] WARNING: Application does not specify an API level requirement!
[2010-06-05 00:04:06 - Todo List] Device API version is 5 (Android 2.0)


Maybe this can help whoever is looking at my problem.

Thanks again.
Reply With Quote
  #3 (permalink)  
Old June 9th, 2010, 04:02 PM
Registered User
 
Join Date: Jun 2010
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Just starting myself, but see if this helps.......

When you set up your project did you set it to api level 5?

In your AndroidManifest.xml, is the minimum SDK entered,

<uses-sdk android:minSdkVersion="5" />

If nothing else you can try, Project -> Clean and then rerun the project to see if it works.

Last edited by anjisan; June 9th, 2010 at 04:36 PM..
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
Chapter 7 ToDo List Code WDPetry BOOK: Professional Android 2 Application Development 3 February 28th, 2011 01:40 AM
Chapter 4 ToDo List - modifying existing views floickelsheimer BOOK: Professional Android 2 Application Development 2 April 29th, 2010 11:34 AM
ToDo List Problems - Chapter 4 wolverineik BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 0 February 28th, 2010 09:29 AM
Chapter 6 Todo List removeItem abowman BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 4 February 5th, 2010 11:18 AM
Chapter 4 Customising Your Todo List MMC2 BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 0 May 12th, 2009 08:34 AM



All times are GMT -4. The time now is 12:36 AM.


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