Android Question Arduino Mega 2560 + Android Tablet


Licensed User
Longtime User
I have Arduino Mega 2560 and my friend installed a program on it and i tried it on terminal and it worked by using jumper wire connected on 5v and Digital Pin #36 it print every time i connect the wire on Pin #36 and 41. Im new with this ( Arduino Mega 2560 + Android Tablet + B4A ) so any suggestion that might help me will be appreciated.

Here's my question:

How can i get the data inside of it and show the value of Pin #36 and #41 in Textbox ?

I dont have any program yet since its my first time to use arduino, any comments or suggestion is welcome.

Thank you in advance!!