> *private void Validations()
> { 
>   if(val1!=null)
>   {
>      Toast.makeTest(this,"Enter First Value"3000);
>   }
>   if(val1!=null)
>   {
>      Toast.makeTest(this,"Enter Second Value"3000);
>   }
>
> }*
>

Judging this piece of code you are a complete beginner and may want to pick 
up some basic programming classes / books / tutorials. This group is not 
the right place for that.

Anyway. You have syntax errors in it (missing commas between 
"Enter...Value" and 3000), the method "Toast.makeTest" does not exist. It 
should be "Toast.makeText" instead. The number 3000 should be either 
Toast.LENGTH_SHORT or Toast.LENGTH_LONG and in the end you need to call the 
show() method on the resulting Toast object which is returned by 
Toast.makeText.

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to