I would try putting it here:

<https://lh5.googleusercontent.com/-Oknzy-fCVvU/UX_fQGfhM2I/AAAAAAAAAbM/T-ix19zlXxM/s1600/sendmsg2.png>



Thanks.




On Friday, April 26, 2013 7:48:00 PM UTC-5, Akshay Kumar wrote:
>
> I am having some trouble with the development tutorials on 
> developer.android.com.
>
> They say that I have to add:
>
> /** Called when the user clicks the Send button */
> public void sendMessage(View view) {
>     // Do something in response to button
> }
>
> in the MainActivity class. The problem is, I don't know where to put this 
> code!!
>
> After the above step is completed, they say:
>
> "Inside the sendMessage() method, create an 
> Intent<http://developer.android.com/reference/android/content/Intent.html> to 
> start an activity called DisplayMessageActivity:"
>
> I cant find the sendMessage ()!!! All i have is the sendMessage (View 
> view)......
>
> Here is a link to the tutorial : 
> http://developer.android.com/training/basics/firstapp/starting-activity.html
>
> here is a 
> screenshot<https://lh4.googleusercontent.com/-FFzKe7_JG8I/UXsf4uzKGII/AAAAAAAAAcA/ZzjLVuazRno/s1600/forum+help.png>
> link if the screenshot didn't show up: 
> http://s13.postimg.org/mtks800kn/forum_help.png
>
>
> Sorry if this is a noob question. I am new to development. Thanks!
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to