steve_macleod wrote: > Hi, > I am getting "Intent.NEW_TASK_LAUNCH cannot be resolved" from the > following code. I am working through the Apress Android Essentials > book... is this another outdated code example?
Presumably. There were a *lot* of changes between M5 and the current SDK, including a bunch of renamed methods and constants. There is no setLaunchFlags() anymore -- it's just setFlags(). There is no Intent.NEW_TASK_LAUNCH anymore -- it's Intent.FLAG_ACTIVITY_NEW_TASK. -- Mark Murphy (a Commons Guy) http://commonsware.com Android Training on the Ranch! -- Mar 16-20, 2009 http://www.bignerdranch.com/schedule.shtml --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

