| Author |
Forms
|
Vihanga Raj
Greenhorn
Joined: Feb 03, 2013
Posts: 7
|
|
OnClickListener clickListener=new OnClickListener() {
@Override
public void onClick(DialogInterface arg0, int arg1) {
import abc;
}
};
I don't know what's wrong but I want to go to another form when I click on a biutton..please help me with this
|
Vihanga R.
|
 |
Winston Gutkowski
Bartender
Joined: Mar 17, 2011
Posts: 4905
|
|
Vihanga Raj wrote:I don't know what's wrong
Surely you got an error message when you tried to compile that.
What was it?
but I want to go to another form when I click on a biutton...
Well that's not the way to do it. What did you imagine that code would do?
Winston
PS: Welcome to JavaRanch.
|
Isn't it funny how there's always time and money enough to do it WRONG?
|
 |
Vihanga Raj
Greenhorn
Joined: Feb 03, 2013
Posts: 7
|
|
Winston Gutkowski wrote:
Vihanga Raj wrote:I don't know what's wrong
Surely you got an error message when you tried to compile that.
What was it?
but I want to go to another form when I click on a biutton...
Well that's not the way to do it. What did you imagine that code would do?
Winston
PS: Welcome to JavaRanch.
What is the way to do it??
|
 |
Manuel Petermann
Ranch Hand
Joined: Jul 19, 2011
Posts: 175
|
|
Please do yourself a favour and do some tutorials in plain java before jumping to android. At least I think this is for android.
You are helping no one by just typing words into your editor.
I have never programmed for the android jvm before but i would say that "import abc;" is never a valid statement in that scope.
|
Please correct my English.
|
 |
Winston Gutkowski
Bartender
Joined: Mar 17, 2011
Posts: 4905
|
|
Vihanga Raj wrote:What is the way to do it??
Vihanga,
Please EaseUp. This site is NotACodeMill, and we are not in the habit of simply handing out answers. We are also all volunteers here.
I suggest you read the HowToAskQuestionsOnJavaRanch page and come back when you have a specific question.
Winston
|
 |
 |
|
|
subject: Forms
|
|
|