[android-developers] Context menu on long press on any icon

2014-07-15 Thread sourabh sahu
Dear All, I am looking for functionality in which if I long press on any file/app/etc.My Context menu should apper with few options. How can I achieve this any kind code or sample program.. Regards, Sourabh -- You received this message because you are subscribed to the Google Groups Android

[android-developers] context menu title button

2012-06-13 Thread vaibs malviya
in android there a context menu. my question is that or my problem is that i want to add a button on right corner of title of context menu. and than selection operation are perform by this button not by touch on context menu. any one have knowledge about that please share with me. -- You

Re: [android-developers] context menu title button

2012-06-13 Thread TreKing
On Wed, Jun 13, 2012 at 1:26 AM, vaibs malviya vaibs.malviy...@gmail.comwrote: my question is that or my problem is that i want to add a button on right corner of title of context menu. and than selection operation are perform by this button not by touch on context menu. Use a custom

[android-developers] Context menu on custom listview....

2012-06-07 Thread jitendra patidar
Hi All... hi i am using list view with custom adapter in which i am taking image view ,text view and two button ,this is the one cell layout...i am display this list view in popup window. i want to show context menu when i click one of item of list but i unable to do this ... i think it is not

Re: [android-developers] Context menu on custom listview....

2012-06-07 Thread TreKing
On Thu, Jun 7, 2012 at 5:12 AM, jitendra patidar govajiten...@gmail.comwrote: i want to show context menu when i click one of item of list but i unable to do this ... Why are you unable to do this? What have you tried that is not working? i think it is not possible with custom adapter..

[android-developers] Context menu does not work in ListView with SimpleCursorAdapter

2011-10-12 Thread MirecXP
Hello I'm new to android development and I work on the application for tablet running Android 3.1. The main activity is divided into more functional parts and one of them shows the list of some items, the long click on the item should open the context menu. I have a problem, because I can't make

Re: [android-developers] context menu

2011-08-01 Thread arun kumar
can any one tell where is error in my code... Thankyou arun -- 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

Re: [android-developers] context menu

2011-07-31 Thread Nick Risaro
Put a break point in the line if (item.getItemId() == 1) { And check with the debuger what's happening step by step. -- 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

[android-developers] context menu

2011-07-30 Thread arun kumar
HI i given buttons in xml file and onclick listener in java. 1).when i click on button (projects)menu has to appear(allprojects,myprojects,myfavorites)it appearing but when i click allprojects it has to show the next acitvity(allprojects class) but its not displaying the activity..

[android-developers] context menu

2011-07-20 Thread arun kumar
hi am having a 3 textviews one is placed at left (textview 1)and other centre(textview2) and another at right (textview 3).. all 3 views are placed at the bottom of the layout..when i touch and hold on textview 1,textview2 and textview3... a floating list of context menu has to appear..

[android-developers] Context menu problem

2011-07-17 Thread saurabh kulkarni
Context Menu is returning me object how should I get text view(Name) which was their in list? HomeActivity is ListView like Name Date --- public void onCreateContextMenu(ContextMenu menu,View

[android-developers] Context menu problem

2011-07-17 Thread saurabh kulkarni
Context Menu is returning me object how should I get text view(Name) which was their in list? HomeActivity is ListView like Name Date --- public void onCreateContextMenu(ContextMenu menu,View

[android-developers] Context menu problem

2011-07-16 Thread saurabh kulkarni
1)Context Menu is not getting item required OR 2)onclick should work public class HomeActivity extends Activity { private static final int Id_Details = 0; private static final int Id_Email = 1; /** * @see android.app.Activity#onCreate(Bundle) */

[android-developers] Context Menu

2011-05-30 Thread OktaEndy
Dear All, i want to make a context menu which is depend on selected listview item, for example : list view item : a b c d if i press longclick on item : - a,b, context menu will show menu x, y - c, context menu will show menu z - d, doesn't show context menu somebody help me to give some

Re: [android-developers] Context Menu

2011-05-30 Thread Mark Murphy
On Mon, May 30, 2011 at 3:37 AM, OktaEndy oktae...@gmail.com wrote: i want to make a context menu which is depend on selected listview item, for example : list view item : a b c d if i press longclick on item : - a,b, context menu will show menu x, y - c, context menu will show menu z

[android-developers] Context menu for other views

2010-11-08 Thread gvenugopal
Hi friends, I have created one music app. In this app, i have loaded albums dynamically by using URL request and displayed as table layout. For each table row i registered context menu. But when the context menu is appeared by long press on each table row i could not find on which table row

[android-developers] Context Menu long press and onTouch event conflicting

2010-10-26 Thread stanchat
I have a situation where I have some textview on a framelayout that I have a onTouch event wired in order to simulate dragging. I alos want to enable the ability to have a context menu display when the user long presses the textview. Now that I have implemented the context menu functionality

Re: [android-developers] Context Menu long press and onTouch event conflicting

2010-10-26 Thread TreKing
On Tue, Oct 26, 2010 at 6:08 AM, stanchat stanc...@tccons.com wrote: Does anyone know of a workaround for this. Add a separate button next to the TextView with an obvious icon that the user uses to drag the item, leaving the long-press on the text view itself for the context menu.

[android-developers] context menu is black

2010-09-15 Thread rh4games
I followed the instructions how to create a context menu but mine shows up completely black and nothing in it. Anyone has already had the same issue and can help me how he/she solved it? Thanks Here my class .java and menu .xml files package com.MyProject; import android.view.MenuInflater;

[android-developers] Context menu on Video View

2010-02-28 Thread Indu
I've a Video View displayed on the UI. The Video View seems to be working fine. But, I want to use Context Menu on that. For ex: I would like to pause it if the user makes a long press. I registered the ContextMenu in the activity onCreate as follows: onCreate (...) { ... this.myVideo =

[android-developers] Context menu for a Grid item

2010-01-06 Thread kitty
Hi all, I'm writing an application in which i need a menu for a Grid item i.e., whenever i click a Grid item in the Gridview a list should be displayed in the same layout beside the Grid item similar to Context menu. I know that we can set the Context menu for entire listview or Gridview but how

[android-developers] Context Menu

2009-10-23 Thread Neilz
The Context Menu in my app (a ListActivity) is getting very annoying. On new phone you have to select and hold the list item for so long before the menu pops up, that it's really not very user friendly. I want my context menu to pop up immediately when the list item is selected. I can't find a

[android-developers] Context Menu

2009-10-14 Thread Neilz
Hi. I have a context menu, which appears when you press and hold over a list item for around two seconds. Is there a way to adjust the sensitivity of this? I'd like it to appear more quickly, if that's possible? Thanks. --~--~-~--~~~---~--~~ You received this

[android-developers] Context Menu

2009-09-12 Thread MarQuel Middleton
Im trying to set my application menus up and i cant seem to do it can someone help me out i would really appreciate it im real confused!! I just want to be able to press my exit button and it close the app or something of that nature. package com.example.menu; import android.app.Activity;

[android-developers] Context menu for whole screen or view in android

2009-08-27 Thread Andcoder
Hi i am creating a contextmenu for my view that is whole screen just like when we longpress on calendar monthview or weekview i tried in below three methods === setContentView(demoview); demoview.setOnCreateContextMenuListener(new

[android-developers] Context menu creation

2009-08-13 Thread Nasam
I have created a LinearLayout wich has webview as its child. But when i long click on this webView I am not able to see any contextmenu. I have enable contextmenu for this layout/webview using registerForContextMenu(layout); registerForContextMenu(sWebView); and have overlaoded public void

[android-developers] Context menu on Mapactivity

2009-08-11 Thread Premier
Hello, how i can create context menĂ¹ on MapActivity? Regards --~--~-~--~~~---~--~~ 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

[android-developers] Context Menu calling Activity.onMenuItemSelected() instead of Activity.onContextMenuItemSelected()

2009-04-14 Thread Jack C. Holt
I have a ListActivity that I have registered a context menu for by calling registerForContextMenu(getListView()). I have also overridden onCreateContextMenu() as follows: public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {

[android-developers] Context menu can't be create on MapView.

2008-12-26 Thread honglian...@gmail.com
hi all I want to create a context menu when LongClick is hitted. As result mapview is opened successfully; but the LongClick got no response. Would you like to give me a hand how to solve it? Below is the complete code. Thank you very much. package android.demo; import

[android-developers] Context menu in MapView in android 0.9

2008-09-08 Thread [EMAIL PROTECTED]
Hello, I would like to handle touch events in the MapView and to show a context menu when the user keeps clicking on the map for a long time. I am not able to show the context menu. Moreover the only listener that gets called is the OnTouchListener, I am writing a LongClickListener but it never