Hi,
I got it working now
.But now i have got another strange problem ;).
I am doing two things with the byte array of this JPG image using following code of lines
here i am storing the image on sd card as well as sending that byte array through tcp to on my PC.Now image that store on sd card is just perfect but image that receive on my PC is whole black and its so irritating.
But anywaz thanks a lot for your help.