Hi i am developing an app which includes camera images, i need to send images while capturing to php server, in our settings there is boolean option as "AutoUploadPic" when we set the switch to yes, then only it should upload to server, if it set to no it should not upload. can you please help me out from this. 

The following is iphone code for above query, can i get as the same for android.