[android-developers] Re: onCreateContextMenu not getting called for EditText view in the landscapemode with softkeypad visibile

2012-08-18 Thread Jegadeesan M
check this http://android.grepsrc.com/search?q=ContextMenuproject=ics-mr1 On Friday, 17 August 2012 06:15:52 UTC-7, Bunty syed wrote: I have one edittext in the current view. I have registered context menu for the edittext as below. et =(EditText) findViewById(R.id.editText11);

[android-developers] Re: onCreateContextMenu and Android 2.3.3

2011-08-11 Thread Harald
It is on a device (HTC Desire with HTC Sense) it works fine on the emulator. /HK On 11 Aug., 19:43, Mark Murphy mmur...@commonsware.com wrote: Is this on a device or in the emulator? -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] Re: onCreateContextMenu and Android 2.3.3

2011-08-11 Thread Mark Murphy
On Thu, Aug 11, 2011 at 1:57 PM, Harald harald.kron...@gmail.com wrote: It is on a device (HTC Desire with HTC Sense) it works fine on the emulator. Yes, I have heard this before about HTC. I really wish they wouldn't do things like this. Your code is almost certainly fine; the device is the

[android-developers] Re: onCreateContextMenu and Android 2.3.3

2011-08-11 Thread Harald
Okay, thank you. I will put in a button. /HK On 11 Aug., 20:04, Mark Murphy mmur...@commonsware.com wrote: On Thu, Aug 11, 2011 at 1:57 PM, Harald harald.kron...@gmail.com wrote: It is on a device (HTC Desire with HTC Sense) it works fine on the emulator. Yes, I have heard this before

[android-developers] Re: onCreateContextMenu

2009-06-01 Thread Jeremy DERRAC
There is an error in the tutorial on developer.android.com should be: @Override public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { super.onCreateContextMenu(menu, v, menuInfo); menu.add(0, DELETE_ID, 0,

[android-developers] Re: onCreateContextMenu

2009-04-12 Thread Ralf
This method is defined in View, not Activity: http://developer.android.com/reference/android/view/View.OnCreateContextMenuListener.html Where is that tutorial that you mention? Any URL? R/ On Sat, Apr 11, 2009 at 8:06 AM, streetdestroy...@gmail.com streetdestroy...@gmail.com wrote:    public

[android-developers] Re: onCreateContextMenu

2009-04-12 Thread Marco Nelissen
The return type should be void, not boolean. See: http://developer.android.com/reference/android/app/Activity.html On Sat, Apr 11, 2009 at 8:06 AM, streetdestroy...@gmail.com streetdestroy...@gmail.com wrote:    public boolean onCreateContextMenu(Menu menu, View v,ContextMenuInfo menuInfo)