[SOLVED]ContextMenu/DB Frustration

Put your problem here if it does not fit any of the other categories.

[SOLVED]ContextMenu/DB Frustration

Postby Flezria » Mon Nov 08, 2010 5:56 pm

Hi guyse, i'm new at android programming, so i'm having a few problems with this:
I've created a Database and a ContextMenu.. i'm storing stuff in the database, wich i'm printing on the screen, you can "long-click" the items, to get the contextmenu. I want the name on the item i clicked, so i can delete it. Anyone can tell me how to do this?
Thanks :)
Last edited by Flezria on Tue Nov 09, 2010 6:50 pm, edited 1 time in total.
Flezria
Freshman
Freshman
 
Posts: 6
Joined: Mon Nov 08, 2010 5:41 pm

Top

Re: ContextMenu/DB Frustration

Postby Flezria » Tue Nov 09, 2010 6:49 pm

Solved by adding:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. selectedmethod(info.id);
Parsed in 0.029 seconds, using GeSHi 1.0.8.4
under selected case, full code:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.         case CASE_ID:          
  2.                 SelectedMethod(info.id);
  3.                 return true;
Parsed in 0.030 seconds, using GeSHi 1.0.8.4
Flezria
Freshman
Freshman
 
Posts: 6
Joined: Mon Nov 08, 2010 5:41 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 12 guests