holder addcallback this
play

holder.addCallback(this); holder.setType(SurfaceHolder.STP); - PowerPoint PPT Presentation

Camera camera = Camera.open(); Camera camera = Camera.open(); camera.setDisplayOrientation(90); camera.setDisplayOrientation(90); camera.unlock(); SurfaceHolder holder = getHolder(); holder.addCallback(this);


  1. Camera camera = Camera.open(); Camera camera = Camera.open(); camera.setDisplayOrientation(90); camera.setDisplayOrientation(90); camera.unlock(); SurfaceHolder holder = getHolder(); holder.addCallback(this); holder.setType(SurfaceHolder.STP); MediaRecorder r = new MediaRecorder(); r.setCamera(camera); r.setAudioSource(MediaRecorder.AS); r.setVideoSource(MediaRecorder.VS); r.setOutFormat(MediaRecorder.MPEG4);

  2. C# Java Console.WriteLine("Hi"); System.out.println("Hi"); … …

  3. function chunkData(str, step) { var colNames = []; function FZ(e, t) { var n = []; var len = str.length; var r = e.length; var i = 0; var i = 0; for (; i < r; i += t) if (i + t < for (; i < len; i += step) r) n.push(e.substring(i, i + if (i + step < len) t)); else colNames.push(str.substring(i, i + step)); n.push(e.substring(i, r)); else return n; colNames.push(str.substring(i, len)); } return colNames; }   

  4. function chunkData(e, t) var n = []; var r = e.length; var i = 0; for (; i < r; i += t) if (i + t < r) n.push(e.substring(i, i + t)); else n.push(e.substring(i, r)); return n;

  5. function chunkData(e, t) var n = []; var r = e.length; var i = 0; for (; i < r; i += t) if (i + t < r) n.push(e.substring(i, i + t)); else n.push(e.substring(i, r)); return n;

  6. function chunkData(e, t) var n = []; var r = e.length; var i = 0; for (; i < r; i += t) if (i + t < r) n.push(e.substring(i, i + t)); else n.push(e.substring(i, r)); return n;

  7. function chunkData(e, t) var n = []; var r = e.length; var i = 0; for (; i < r; i += t) if (i + t < r) n.push(e.substring(i, i + t)); else n.push(e.substring(i, r)); return n; t r i … length … t i length r

  8. function chunkData(e, t) var n = []; var r = e.length; var i = 0; for (; i < r; i += t) if (i + t < r) n.push(e.substring(i, i + t)); else n.push(e.substring(i, r)); return n; t r i i t w … i step 0.5 t length j step 0.4 … length i r t i r w r length w i i len 0.6 length length 0.5 length r i length 0.3 len length 0.3

  9. function chunkData(e, t) var n = []; var r = e.length; var i = 0; for (; i < r; i += t) if (i + t < r) n.push(e.substring(i, i + t)); else n.push(e.substring(i, r)); return n; t r i 𝒙 𝑈 𝒈(𝑗, 𝑢, 𝑠, 𝑚𝑓𝑜𝑕𝑢ℎ) i t w … i step 0.5 t length j step 0.4 … length i r t i r w r length w i i len 0.6 length length 0.5 length r i length 0.3 len length 0.3

  10. function chunkData(e, t) var n = []; var r = e.length; var i = 0; for (; i < r; i += t) if (i + t < r) n.push(e.substring(i, i + t)); else n.push(e.substring(i, r)); return n; t r i 𝒙 𝑈 𝒈(𝑗, 𝑢, 𝑠, 𝑚𝑓𝑜𝑕𝑢ℎ) i t w … t i step 0.5 step length j step 0.4 … i r length i len t i r w r length w i i len 0.6 length length 0.5 length r i length 0.3 len length 0.3

  11. function chunkData(e, t) function chunkData(str, step) var n = []; var colNames = []; var r = e.length; var len = str.length; var i = 0; var i = 0; for (; i < r; i += t) for (; i < len; i += step) if (i + t < r) if (i + step < len) n.push(e.substring(i, i + t)); colNames.push(str.substring(i, i + step)); else else n.push(e.substring(i, r)); colNames.push(str.substring(i, len)); return n; return colNames; t r i 𝒙 𝑈 𝒈(𝑗, 𝑢, 𝑠, 𝑚𝑓𝑜𝑕𝑢ℎ) i t w … t i step 0.5 step length j step 0.4 … i r length i len t i r w r length w i i len 0.6 length length 0.5 length r i length 0.3 len length 0.3

  12. Over the last year

  13. • • • • • • • •

Recommend


More recommend