[android-developers] Re: How to catch event from the virtual keyboard ?

2009-07-31 Thread Azhdar

Hi,

thank you for you answer.

But what do you mean by : "... or make it larger so the user hits
it" ?



On Jul 30, 3:42 pm, Dianne Hackborn  wrote:
> Either set the window flag to have your IME's window consume all touch
> events, or make it larger so the user hits it.  Note that there is no way to
> be able to receive touch events there and selectively decide whether they go
> to the underlying application, it is either all or nothing.
>
> On Thu, Jul 30, 2009 at 5:18 AM, Azhdar  wrote:
>
> > No idea ?
>
> > On Jul 28, 5:30 pm, Azhdar  wrote:
> > > Hi
>
> > > Everything is in the title : How tocatcheventfrom thevirtualkeyboard?
>
> > > In fact, I want to know if the screen is touch for instance.
>
> > > Thank you in advance !
>
> --
> 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
-~--~~~~--~~--~--~---



[android-developers] Re: EditText and Virtual Keyboard

2009-07-31 Thread Azhdar

Hi Hazam,

could you show us more in detail how you do that ?

Thank you !

Azhdar



On Jul 10, 3:23 pm, Hazam  wrote:
> Hi Hong,
> thanks for your reply.
> I tried that but to no avail.
> The reason seems to be that clicks and actions fromvirtualkeyboard
> do not follow the same
> path that normal key and touch events do.
> The get tunneled in an InputConnection, and things get REALLY
> difficult for me to understand fully.
> So i just override onCreateInputConnection and return a
> BaseInputConnection and now it works.
> thanks again for the reply,
>
> -Emanuele
>
> On Jun 30, 12:01 am, Hong  wrote:
>
> > I'm not sure if this will help 
> > you:http://developer.android.com/reference/android/widget/TextView.OnEdit...
>
> > But looks like some IME related actions you cancatch.
>
> > Please let us know if it works...
>
> > On Wed, Jun 24, 2009 at 4:36 AM, Hazam wrote:
>
> > > Folks,
> > > is there nobody having the same problem?
> > > Did I explain I clearly?
>
> > > The problem is that if i press some of thevirtualkeyboardkeys, they
> > > do not cause a onKeyDownevent;
> > > this happens with keys '/','!' and such.
>
> > > While if i press physical emulator keys, (even the same keys), they
> > > do.
> > > Could you give me some feedback on this, even a pointer to some code
> > > to study
> > > Thanks
>
> > > On 22 Giu, 20:22, Emanuele Di Saverio 
> > > wrote:
> > >> Hi all,
> > >> I was fillding with EditText and handling of events, and I was wondering 
> > >> on
> > >> a strange thing:
>
> > >> If you press some of the keys (for example forward slash '/') on the
> > >> emulated physicalkeyboard, the keyevents are called
> > >> as usual (onKeydown, the KeyListeners etc).
> > >> If I click on the correspondingvirtualkey on the onscreenvirtual
> > >>keyboard, all these callbacks do not get called at all!
> > >> This is strange, given that If I press other keys like alhpanumerical, 
> > >> the
> > >> events are called.
>
> > >> Can someone explain me this behaviour of the EditText component?
> > >> Thanks a lot
>
> > >> -Emanuele
>
>
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Re: How to catch event from the virtual keyboard ?

2009-07-30 Thread Azhdar

No idea ?

On Jul 28, 5:30 pm, Azhdar  wrote:
> Hi
>
> Everything is in the title : How tocatcheventfrom thevirtualkeyboard?
>
> In fact, I want to know if the screen is touch for instance.
>
> Thank you in advance !
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] How to catch event from the virtual keyboard ?

2009-07-29 Thread Azhdar

Hi,

everything is in the title : How to catch event from the virtual
keyboard ?

I want to know if the screen is touched for instance.

Thank you in advance!

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



[android-developers] How to catch event from the virtual keyboard ?

2009-07-29 Thread Azhdar

Hi

Everything is in the title : How to catch event from the virtual
keyboard ?

In fact, I want to know if the screen is touch for instance.

Thank you in advance !

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