Main activity : function SendMessage
error