Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Mobile Development > BOOK: Professional Android 2 Application Development
| 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 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 December 4th, 2012, 12:13 AM
Registered User
Points: 16, Level: 1
Points: 16, Level: 1 Points: 16, Level: 1 Points: 16, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2012
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Wink Chapter 7: addPreferencesFromResource is deprecated

Edit: This should have been under the Android 4 forum. Sorry. I would delete it, but since I can' tell the difference between 2 and 4 is probably the reason I can't see the delete thread as well.
Hello, I'm trying to run this with 4.1.2 and Eclipse tells me this code:
Code:
  @SuppressWarnings("deprecation")
@Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    addPreferencesFromResource(R.xml.userpreferences);
  }
that addPreferencesFromResource is deprecated. The method doesn't really do anything but that call. What should be done instead?

Last edited by pdevhecht; December 4th, 2012 at 11:14 AM.. Reason: Adding chapter 7




Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch5 Contactpicker:import is deprecated for 2 Efraser65 BOOK: Professional Android 2 Application Development 0 July 6th, 2010 04:15 PM
Chapter 5 deprecated BigLuck BOOK: Expert PHP and MySQL 1 June 16th, 2010 11:18 AM
Ulysses Framework contains deprecated code nebular BOOK: Professional PHP6 1 June 7th, 2010 09:35 AM
GenericDataSource Deprecated lizethfc JSP Basics 0 June 5th, 2003 11:08 AM





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