Thanks for that!
Yeah the "Android Essentials" book that im working from is full of
obsolete code samples.

On Nov 24, 8:42 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
> 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, 
> 2009http://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to