setText(String.valueOf(yourInteger));

On Wed, Aug 17, 2011 at 8:30 AM, Ratheesh Valamchuzhy
<[email protected]> wrote:
>
> Hi Al
>
>
> i wan to set an integer value to the edittext ? how can i achieve it? anyone
> help me
>
>
> My code is
>
> ===========================
> int msg;
> EditText txtMessage;
> txtMessage = (EditText) findViewById(R.id.txtMessage);
>
> how to add the value of msg to the editext txtMessage............
>
> this cause an error.........   txtMessage.setText(msg);
>
> any help....................
>
>
> --
> --
> ωιтн яєgαя∂ѕ
> Ratheesh ...........
>
>
> --
> 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



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 2.0
Available!

-- 
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

Reply via email to