Hi! all, first of all i want to apologize to my previous post and im new to this arduino stuff. So excuse me for, i may not be able to explain my problem clearly. im using arduino mega 2560, BlueSMiRF Gold, Galaxy mini (2.3.4), installed amarino 1.0 and the amarino plugin bundle.

the code below is to send an integer from arduino to the phone using Bluetooth by linking the program to use the amarino library. But when i press the send button it receives `Flag not registered`. I want to send integer 1 whenever the send button is pressed.Please good sir, im at my wits end.

can anyone check my code and point me where in the code is wrong and what i should do to make it work.