By using on-chip lenses and fluidic operations to control focal length and direction of a laser beam, two kind of new concepts are proposed in the paper. One is a device to generate and control micro bubbles inside a microfluidic chip. Second is a new optical paths control method by microfluidic operation. To demonstrate the functionality of the optical paths control, the present method was utilized for optical tweezers applications