android image gallery

I am extending an android image gallry but its slow for big pictures,
tying to fix problems