[android-developers] Re: Intent variable required for onStart function

2008-11-25 Thread Dianne Hackborn
Er... the onStart() method takes Intent as a parameter, so that is what your onStart() method should be taking. This code looks like it was from a pre-1.0 version of the platform (and whoever wrote it didn't use @Override, naughty naughty!). On Tue, Nov 25, 2008 at 3:09 PM, steve_macleod [EMAIL

[android-developers] Re: Intent variable required for onStart function

2008-11-25 Thread steve_macleod
Hi Dianne, OK Im new with this, but how do I get the initiating Intent object from the onStart function? thanks, On Nov 25, 11:43 pm, Dianne Hackborn [EMAIL PROTECTED] wrote: Er...  the onStart() method takes Intent as a parameter, so that is what your onStart() method should be taking.  This

[android-developers] Re: Intent variable required for onStart function

2008-11-25 Thread steve_macleod
Oh yeah should also say the example code im working from is in the Android Essentials book, and its quite outdated now... On Nov 25, 11:43 pm, Dianne Hackborn [EMAIL PROTECTED] wrote: Er...  the onStart() method takes Intent as a parameter, so that is what your onStart() method should be

[android-developers] Re: Intent variable required for onStart function

2008-11-25 Thread Mark Murphy
steve_macleod wrote: Hi Dianne, OK Im new with this, but how do I get the initiating Intent object from the onStart function? She's saying your onStart() callback should look like this: @Override public void onStart(Intent intent, int startId) { super.onStart(intent, startId);

[android-developers] Re: Intent variable required for onStart function

2008-11-25 Thread Andrew Stadler
On Tue, Nov 25, 2008 at 3:51 PM, steve_macleod [EMAIL PROTECTED] wrote: Oh yeah should also say the example code im working from is in the Android Essentials book, and its quite outdated now... Maybe you should use that book for a monitor stand instead of letting it give you bad advice.