Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Android and the fly likes How to call another Java class with OnItemClickListener method? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "How to call another Java class with OnItemClickListener method?" Watch "How to call another Java class with OnItemClickListener method?" New topic
Author

How to call another Java class with OnItemClickListener method?

Duta Windu
Greenhorn

Joined: Aug 15, 2011
Posts: 1
I have a problem with onItemClick() method.

I can't call another java class with that method..

this is some part of my code :



The parameter from CurrentActivity is not send to AnotherActivity..

menuName is a variable with String array parameter.

How to fix it?

I need your help..
Hardik Trivedi
Ranch Hand

Joined: Jan 30, 2010
Posts: 252
Does your code identifies the click ?

Please explain the scenario. Are you using list view or what ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to call another Java class with OnItemClickListener method?