How do you check if your android application has successfully connected with WAMP server(phpMYAdmin)?

How do you check if your android application has successfully connected with WAMP server(phpMYAdmin)?
Like,is there a way to display a message when the application has successfully connected to the server?