Indeed it works! Thanks a lot, Tom. My app containing new SDK 1.5 API
calls now runs fine on my SDK 1.1 developer phone. You were absolutely
right, and this solution is elegant from a future maintenance point of
view.

Much appreciated!

On Apr 15, 12:55 pm, Tom Gibara <[email protected]> wrote:
> The JLS requires that, even if a JVM identifies a binding error "early", the
> exception raised must be deferred until an attempt is made to "use" the
> class. I'm paraphrasing here, but it's been years since I last read the JLS.
> That's the basic idea anyway.
> Of course, the interface can only depend on classes that are available in
> both environments (which is the mistake made by the poster you linked to).
>
> When I say "should work" I mean "should work for you". I know this approach
> works because I use it my Moseycode library. I have a Perspector interface
> that I back with one of: a JAI PerspectiveTransform instance, a wrapper
> around android.graphics.Matrix, or my own implementation if neither is
> available.
>
> Tom.

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