how to create an callback method in my own application whenspecific situation arises(based on my own requirement) in ANDROID
<p>I am developping one android application.where some third party provides button to My view.My view actually displays the camerapreview.So when that button is clicked I want to give some call back method giving back the information of the picture.</p>

<p>So how to create a callback in my application and provide it to other application</p>

<p>Regards,
Malaya</p>
