Yes, but you forget that the Toast.makeText takes 3 parameters, not one. Toast.makeText(context, message, Toast.LENGTH_LONG/SHORT).show(); So the extra parenthesis is a typo.
On 23 jun, 08:24, rich friedel <[email protected]> wrote: > Actually that is correct... you are leaving out the Toast.makeText > > It would look like Toast.makeText() > and then parent.getContext() > Put them together and you get* Toast.makeText( parent.getContext() )* -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

