*> can anyone help me in writing the code for adding two numbers and
displaying the solution in the EditTextField.*

int z = 5 + 6;

EditText textField;
//Do stuff to initialize textField
textField.setText("" + z);

Now, I'm going to refer you to two different links that you should read:
http://developer.android.com/guide/index.html
http://www.catb.org/~esr/faqs/smart-questions.html

----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------


On Tue, Jul 27, 2010 at 12:45 PM, ANUSHA PAUDIYAL <
anusha.paudiy...@gmail.com> wrote:

> Hi
> I am trying to write program for a calculator.
> can anyone help me in writing the code for adding two numbers and
> displaying the solution in the EditTextField.
>
> -A
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to