Analdin Judy wrote:
>    I put it in the oncreate().But i got error message"did not call 
> through oncreate()"

This means you failed to call super.onCreate(icicle) from inside your 
onCreate() implementation. You will get this same error message on a few 
other of the lifecycle methods (onResume() comes to mind).

My recommendation is to call super.onCreate(icicle) as the first line in 
your onCreate() implementation, just in case there is any setup work 
that Android needs to do before the rest of your onCreate() code has a 
shot of working properly.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
The Busy Coder's Guide to Android Development -- coming in June 2008!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to