Hi there,

I have a widget which I developed using the 1.5 SDK, I am now looking
to make the necessary changes to make it work on 2.1. I have read the
docs regarding this and I have set my manifest as  <uses-sdk
android:minSdkVersion="3" /> so that it can be used from 3 upwards.
What is unclear to me is about breaking code, for example as of 1.5 I
override onStart() method in my service, but that method is deprecated
in newer versions and it has become onStartCommand(), so how a phone
running a newer OS is going to behave there?
The same occurs if I compile it with 2.1 then phones on 1.5 will not
know anything about onStartCommand().

Or did I get the whole thing wrong?

Thanks,
Alberto
-- 
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