You have to compile against 1.5 to use any new APIs defined there.

On Mon, May 11, 2009 at 10:54 AM, focuser <linto...@gmail.com> wrote:

>
> Hi All (and Dianne Hackborn specifically),
>
> I tried to use android:imeOptions in an EditText, but the code doesn't
> compile against build target Android 1.1.
>
> However, one of Dianne's blogs says "Note that, except where
> explicitly mentioned, all of the things suggested here will not tie
> your application to Android 1.5 -- it will still work on older
> releases, which will simply ignore these new options"
>
>
> http://android-developers.blogspot.com/2009/04/updating-applications-for-on-screen.html
>
> Did I misunderstand anything here?  Do I have to do the (somehow ugly)
> reflection trick to get this fixed or there's another alternative?
>
> Thanks!
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to