plugin phonegap for camera and gallery in the foreground