DroidKaigi 2016ã§Camera2 APIã«ã¤ãã¦çºè¡¨ãã話
ã²ã¤ãã§ãã
DroidKaigi 2016ã«ãã«ã¡ã©ã¢ããªã¯ããã®ä¸æ©ãã¨ããã¿ã¤ãã«ã§ç»å£ãã¾ããã
Android 5.0以éããã¤ãããCamera2 APIããã¼ãã§ã*1
ãªãCamera2 APIãé¸ãã ã®ï¼
Camera2 APIã®ç¹å¾´ã¯èªç±åº¦ã®é«ãã§ãï¼ãã®åãé£ãããã©ï¼ã
æ°æè¡ã«ãããã¡ã ãã©ãã©ãããã©ã¼ã ã®æ®åãé²ã¾ãªãâãªããªãå©ç¨ãããªãâæè¡æ å ±ãå°ãªãã¾ã¾âå©ç¨ãé²ã¾ãªãâãã£ã±ãé£ãããï¼ã£ã¦ããä¸éãªç¶æ³ããªãã¨ããããããã¾ã¨ã¾ã£ãæè¡æ å ±ã¨ãã¦æä¾ããããã¨å»å¹´ããèãã¦ããã®ã§ããDroidKaigiã§ãããããçµå®ãã¾ãã*2ã
ãµã³ãã«ã³ã¼ããããã
è³æã§ä½¿ã£ããµã³ãã«ã¯ä»¥ä¸ã®ãªãã¸ããªã§å ¬éãã¦ã¾ã
ã«ã¡ã©ã¢ããªã¯ããã®ä¸æ©
ã«ã¡ã©æ©è½ã®è¦ä»¶ããã¯ãã¾ããCamera2 APIã®è§£èª¬ãã«ã¡ã©ã®ã¹ãã¼ããã·ã³ä¾ããã¬ãã¥ã¼ãæ®å½±ã·ã¼ã±ã³ã¹ã®èª¬æãªã©ã«ã¡ã©ã¢ããªãä½ãä¸ã§å°ããã¡ãªã¨ãããä¸å¿ã«ã¾ã¨ãã¦ãã¾ãã
Camera2ã«ã¾ã¤ãã話é¡ã®ãªãã§ãã¹ã¿ã³ãã¼ããªãã®ãè°è«ã®ä¸å¿ã«ããã¾ãããAPIã®è§£èª¬ã«éä¸ãã¦ãããã£ãã®ã§ãããå©ç¨ã®åæã¨ãªãã¢ããªã±ã¼ã·ã§ã³ã§ã®æ©è½è¦ä»¶ï¼ã¨ãã«Camera1 APIãIntentã¨ã®ä½¿ãåãï¼ããã¼ãã¦ã§ã¢å¶å¾¡ãªã©æ®æ®µãªããªãæ°ã«ããªãé¨åã«ã¤ãã¦ã触ãããã¨ã§ãã ã®HowToã§ã¯ãªããå ¨ä½ãç解ã§ããããã«æ°ãã¤ãã¾ããï¼ãã£ãããªã®ã§æè¡çèæ¯ããµããã¦æ¥½ããã§ãããããã£ãï¼ã
ãªããCamera2 APIãã«ã³ã¿ã³ã ã¨è¨ãã¤ããã¯æ¯é ãªããé£ãããã®ã ã¨ããã£ã¦ç¥èãæ´çãã¦ãã£ã¬ã³ã¸ããã¨ãªãã¨ãç»ããããã ããã¨ãããã¨ãä¼ãã£ãããããªãã¨ããã£ã¦æ§æãèãã¦ã¾ãããªã¯ã¨ã¹ããã»ãã·ã§ã³ããã¤ãã©ã¤ã³ã¨ããCamera2ç¨èªãç¥ã£ã¦ããã ãã§ãã½ã¼ã¹ã³ã¼ãã®èªã¿ãããã¯æ®µéãã«åä¸ãã¾ãã
å½æ¥ã®ææ³
ç¾å¨ãDroidKaigiã®éå¶ã¹ã¿ãããããé 次åç»ãå ¬éãã¦ããã¦ã¾ãã解説ã®éã«ãã©ã¡ã¼ã¿ã®èª¬æã§åæä½ã¨ãã£ãæ°ããã¦ãã®ã§ãããå®éã«ã¯static intã§å®è£ ããã¦ããã®ã§è¨æ£ãã¾ãï¼é²ç»ãè¦ãå ´åã¯æ³¨æãã¦ãã ããï¼ã
åç»ãã¢ããããããããã«åãè¾¼ãäºå®ãªã®ã§è©³ããã¯ãããè¦ã¦ããããããããã ãã©ãæ°ããæè¡ã«ã¤ãã¦è©±ããå ´ãããã£ã¦ããã®ã¯ããã楽ããã£ãã§ããFAQãå«ãã¦ãã£ã¨ãã£ã¹ã«ãã·ã§ã³ã§ãããè¯ãã£ããªããã¨æãã»ãã·ã§ã³ã§ãã*3ã
Â
ãã¤ãããã¾ã§ããï¼
Â
Â