Jason,

> The classes that you want to load which have API 7 specific code will
> only be loaded by the classloader when they are referenced at
> runtime.  Hence pre-api 7 installs will only barf if you try to
> instantiate, or reference one of your new classes.  You can happily
> package the newer classes in your APK as long as they are not
> referenced.

Thanks very much, also for the elaboration of the factory.

In the end I also needed a PhoneStateListenerCommon class with a
Handler to pass out when events occur.

Pent

-- 
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