ç§èªèº«ã¯ãããã€ã¹ãã«ãŒãåããŠæ§æãä¿®æ£ããããšã§åé¡ã解決ããŸããã ãããªã®è©³çŽ°ïŒ
ããããäžè¬ãŠãŒã¶ãŒã®å Žåããã¹ãŠã¯ã«ãŒããªãã§æ©èœããã¯ãã§ãã ãã®èšäºã§ãããè¡ãæ¹æ³ã«ã€ããŠè°è«ããããšããå§ãããŸãã GoogleãAndroidéçºè ãããã³habrakatã«é¢å¿ã®ãããã¹ãŠã®ä»£è¡šè ãæåŸ ããŸãã
äžéšã®ãŠãŒã¶ãŒã¯èŠåãªãã«æ©èœã奪ãããŸããã 次ã®ç¶æ³ã§ãŠãŒã¶ãŒã®ã³ã¡ã³ããèŠãŸããã 以åã¯ãSDã«ãŒãã«åçãä¿åããåé¡ãªãGoogleåçã䜿çšããŠããŸããã ãã®åŸãé»è©±ã¡ãŒã«ãŒã¯OTAã®æŽæ°ïŒ4.4以äžïŒãææ¡ãããŠãŒã¶ãŒã¯ããã«åæããŸããã ãããã圌ãã¯æ©èœã倱ããšããèããããŸããã§ããã çŸåšãã°ãŒã°ã«ãã©ãã¯åçãåé€ããããšãã§ãããåçã管çããããã»ã¹ã麻é ããããã«ãå éšã¡ã¢ãªã«ä¿åããããšãäœåãªããããŠãããããèªäœãèŠçã§ãã
åãåŒãã¯äœã§ãã
Googleã¯é·ãéãSDã«ãŒãäžã®ã¢ããªã±ãŒã·ã§ã³ãžã®åŠšå®³ãããªãã¢ã¯ã»ã¹ãçŠæ¢ããããšèããŠããŸããã ããã¯ãã¢ããªã±ãŒã·ã§ã³ãã¢ã³ã€ã³ã¹ããŒã«ãããšãã·ã¹ãã ãã¢ããªã±ãŒã·ã§ã³ã«å±ãããã¡ã€ã«ãèŠã€ããããšãã§ããªããããSDã«ãŒããä¹±éã«ãªããšããäºå®ã«ãã£ãŠèª¬æãããŸãã ãŸããAndroid 4.4ã§ã¯ãgoogleã¯SAFïŒã¹ãã¬ãŒãžã¢ã¯ã»ã¹ãã¬ãŒã ã¯ãŒã¯ïŒãªã©ãå°å ¥ããŸããã 圌ãã¯ãã¢ããªã±ãŒã·ã§ã³ã®å人ãã£ã¬ã¯ããªãé€ããã¢ããªã±ãŒã·ã§ã³ãsdã«ãŒãäžã®ãã¹ãŠãå€æŽããããšãçŠæ¢ããŸããã ãŸããã¢ããªã±ãŒã·ã§ã³ãèŠæ±ããå ŽåãSDã«ãŒãã®ãã¹ãŠãèªã¿åãïŒæžã蟌ã¿ã¯ããªãïŒæš©å©ãäžããããŸãã
ããããåŒçšïŒ
èŠçŽãããšããµãŒãããŒãã£ã®ã¢ããªããããã«ããã§äœ¿çšã§ãããªãã·ã§ã³ã¯æ¬¡ã®ãšããã§ãã
æš©éã®ãªãã¢ããªïŒ
ãã©ã€ããªããã³ã»ã«ã³ããªã¹ãã¬ãŒãžäžã®æå®ããããã©ã€ããŒããã©ã«ãã®èªåèªã¿åãããã³æžã蟌ã¿
WRITE_EXTERNAL_STORAGEã䜿çšãããšã次ã®ãã®ããããŸãã
ãã©ã€ããªïŒãã«ãã€ã³ïŒã¹ãã¬ãŒãžäžã®ãããªãã¯ãã©ã«ããŒã®èªã¿åããšæžã蟌ã¿
ã»ã«ã³ããªïŒSDã«ãŒãïŒã¹ãã¬ãŒãžäžã®ãããªãã¯ãã©ã«ããŒã®èªã¿åãïŒæžã蟌ã¿ã§ã¯ãªãïŒ
ã€ãŸããé»è©±ã«ããªã€ã³ã¹ããŒã«ãããŠããªãã¢ããªã±ãŒã·ã§ã³ãããã³ç§ã®å Žåã¯google Photoãããªã€ã³ã¹ããŒã«ãããŠããªãã¢ããªã±ãŒã·ã§ã³ã®å Žåãå ¬åŒã«ãã¡ã€ã«ã管çããæ¹æ³ã¯ãããŸããïŒ Googleããããè¡ãæ¹æ³ãããããŸããã æ©èœãçµäºããªãã§ãã ãã-çµäºããŸãã ãããããªããŸã æ©èœããªããã®ãæ°çæ©åšã«å°å ¥ããã®ã§ããããïŒ
ãã®ç¶æ³ã§äœããã¹ããïŒ
äžã§èšã£ãããã«ãç§ã¯ãã§ã«ã·ã¹ãã æ§æãä¿®æ£ããããšã§åé¡ã解決ããŠããŸãïŒrootãå¿ èŠã§ãïŒã ã«ãŒãã«ã€ããŠèããããšããªããåçŽãªããŠãŒã¶ãŒã¯ã©ãã§ããïŒ ãã®åé¡ã解決ããæ¹æ³ãããã€ããããŸãã ãããã®äžéšã¯Googleã«ã®ã¿é©ããäžéšã¯ã³ãã¥ããã£ãå®è£ ã§ããå ŽåããããŸãã ããã§ã¯ããªãã·ã§ã³ã¯äœã§ããïŒ
ãªãã·ã§ã³ãå人ãã£ã¬ã¯ããªã
Googleã¯å¯èœãªéããã¹ãŠãæ©èœãããå¿ èŠããããŸãã 圌ããããã€ã¹ã®ã«ãŒãåãã¢ããã€ã¹ã§ããªãããšã¯æããã§ãã ãããã/ storage / extSdCard / Android / data / com.google.android.apps.photoså人ãã£ã¬ã¯ããªã«ã€ããŠã¯ã©ãã§ããããïŒ åœŒãã¯ããã«äœãä¿ç®¡ããŠããŸããïŒ ãã¿ç®±ã«åé€ããããã¡ã€ã«ã¯/data/user/0/com.google.android.apps.photos/files/trash_filesã«ãããããã»ãšãã©ã®å Žåããã¿ç®±ã¯ãããŸããã ãããããAndroidã§ã¯ããã®ãããªãã£ã¬ã¯ããªã«ãŠãŒã¶ãŒããŒã¿ãä¿åããããšã¯ç¿æ £ã§ã¯ãããŸããã äœæ¥ãªãã·ã§ã³ãæäŸããã ãã§ãã
ã€ãŸã ã¢ããªã±ãŒã·ã§ã³ãAndroid 4.4ã§åäœããã¢ã¯ã»ã¹æš©ãæã£ãŠããªãããšãããããšããã¢ã¯ã»ã¹ã§ããŸããã ã·ã¹ãã ã«ã¡ã©ã®èšå®ã§ããã£ã¬ã¯ããª/storage/extSdCard/Android/data/com.google.android.apps.photos/DCIMã«ä¿åããããšããå§ãããŸãã Googleåçãåé€ãããšããã¹ãŠã®åçãåé€ãããããšã«æ³šæããŠãã ããã ããã§ãã¢ããªã±ãŒã·ã§ã³ã¯ãã®ãã£ã¬ã¯ããªãç¡èŠããŸãã ã¹ãããã·ã§ãããå ¥ããå Žåããã£ã¬ã¯ããªã¯åæã®éžæãªã¹ãã«è¡šç€ºãããŸããã
ã»ãšãã©ã®å Žåãããã¯ç¡å¹ãªãªãã·ã§ã³ã§ããã«ã¡ã©ã¯ã·ã¹ãã ã®ãã®ã§ããå¿ èŠãããïŒããã§ãªãå Žåãsdã«ãŒãäžã®ä»ã®èª°ãã®ãã£ã¬ã¯ããªã«æžã蟌ãããšãã§ããŸããïŒãã·ã¹ãã ã«ã¡ã©ã¯ä¿åãããã£ã¬ã¯ããªãéžæããæ¹æ³ãç¥ããªãå¯èœæ§ãé«ãã§ãïŒS4ã§ã¯æ£ç¢ºã«ããããŸããïŒã
ãªãã·ã§ã³ããã°ã§ã¯ãªãæ©èœã
ããããéçºè ã¯ãã¢ããªã±ãŒã·ã§ã³ããã¡ã€ã«ãæäœã§ããããã«ããæãç©ŽãçºèŠããŸããã ç§èªèº«ããã§ãã¯ããŸããïŒå ã®platform.xmlïŒsdã«ãŒããžã®æžã蟌ã¿ã¢ã¯ã»ã¹ããããŸããïŒã埩å ããåèµ·åããããŒã¿ã«ã³ãã³ããŒãã€ã³ã¹ããŒã«ãã...ã¢ã³ã€ã³ã¹ããŒã«ãåäœããŸãïŒ ãããŠã ã³ãŒããããã§ãã
ããã§ã¯ãGoogleã決å®ãäžããŸããããã®ãããªæ±ºå®ã¯åãå ¥ããããªããããããŸããã ããããç§ã«ãšã£ãŠã¯ããã°ãæ©èœãšããŠäœ¿çšããŠãäœãåé¡ã¯ãããŸãããæ©èœããããã«ãã¹ãŠãè¡ãå¿ èŠãããããã§ãã
ãªãã·ã§ã³ããã¹ãŠãæªãã§ãããæŽæ°ãããŸãã
ãã®èšäºã§ã¯ããã¹ãŠã®ããã€ã¹ããã®ãããªãããã³ã°ã§æ©èœãããšã¯éããªããšæžãããŠããŸãã ã¢ã¯ã»ã¹æš©ããªããšããã¡ãã»ãŒãžã衚瀺ããã ãã§ãã 確ãã«ãã«ãŒãã圹ç«ã€ããAndroidã®å¥ã®ããŒãžã§ã³ãžã®ç§»è¡ã圹ç«ã€ããšã瀺åã§ããŸããå€ãããŒãžã§ã³ãæ©èœããŸãã
ããã¯ããŒã¯ãªãã·ã§ã³
ãŸããGoogleãGoogleãµãŒãã¹ïŒããã³ããã¯ã·ã¹ãã ã¢ããªã±ãŒã·ã§ã³ïŒãæŽæ°ããŠããã¡ã€ã«ãåé€ãããªã¯ãšã¹ãã§ã·ã¹ãã 以å€ã®Googleãã©ãã¢ããªã±ãŒã·ã§ã³ããã¢ã¯ã»ã¹ã§ããããã«ãããšããèãããããŸããã ãããŠãããªãã¯ã«ãŒããå¿ èŠãšããŸããã ã°ãŒã°ã«ã¯ãããããŸããïŒ
Androidã®ææ°ããŒãžã§ã³ã®ãœãªã¥ãŒã·ã§ã³
Android 5.0ã§ã¯ãgoogleã®SAFãæ¹åãããã¢ããªã±ãŒã·ã§ã³ã¯ç¹å®ã®ãã£ã¬ã¯ããªãžã®æžã蟌ã¿ã¢ã¯ã»ã¹ãæäŸãããããŠãŒã¶ãŒã«èŠæ±ããããã«ãªããŸããã
ããããåŒçšïŒ
ã»ã«ã³ããªå ±æã¹ãã¬ãŒãžããã€ã¹ãžã®è±å¯ãªã¢ã¯ã»ã¹
KitKatã§ã¯ãSDã«ãŒããªã©ã®ã»ã«ã³ããªã¹ãã¬ãŒãžããã€ã¹ã®ã¢ããªåºæã®ãã£ã¬ã¯ããªã§ã¢ããªããã¡ã€ã«ãèªã¿æžãã§ããAPIãå°å ¥ããŸããã
éçºè ã¯ãããã®ãã£ã¬ã¯ããªãè¶ ããããè±ããªã¢ã¯ã»ã¹ãæãã§ããããšãã¯ã£ãããšèãããããLollipopã«æ°ããACTION_OPEN_DOCUMENT_TREEã€ã³ãã³ããè¿œå ããŸããã ã¢ããªã¯ãã®ã€ã³ãã³ããèµ·åããŠãããã€ã¹ã§ãµããŒããããŠããå ±æã¹ãã¬ãŒãžãªã©ããµããŒããããŠããDocumentProviderãããã£ã¬ã¯ããªãéžæããŠè¿ãããšãã§ããŸãã ãã®åŸãã¢ããªã¯ãè¿œå ã®ãŠãŒã¶ãŒæäœãªãã§ãéžæããããªãŒã®äžã®ä»»æã®å Žæã«ãããã¡ã€ã«ãšãã£ã¬ã¯ããªãäœæãæŽæ°ãåé€ã§ããŸãã ä»ã®ããã¥ã¡ã³ãã®æå³ãšåæ§ã«ãã¢ããªã¯åèµ·ååŸããã®ã¢ã¯ã»ã¹ãç¶æã§ããŸãã
ããã«ããããŠãŒã¶ãŒã¯åæéžæããã»ã¹ã«é¢äžããªãããã¢ããªã«ãã¡ã€ã«ã管çããããã®å¹ åºã匷åãªã¢ã¯ã»ã¹ãæäŸããŸãã ãŠãŒã¶ãŒã¯ããMy Vacation Photosããªã©ã®çããã£ã¬ã¯ããªãžã®ã¢ã¯ã»ã¹ãã¢ããªã«èš±å¯ããããšããSDã«ãŒãå šäœã®æäžäœãéžæããããšãã§ããŸãã éžæã¯åœŒãã®ãã®ã§ãã
ãã ããAndroid 5 googleã§ããåçã¯ãã®æ©èœã䜿çšãããåã«ã¢ã¯ã»ã¹æš©ããªãããšãå ±åããŸãã ãã£ã¬ã¯ããªãåæããåã«ãåçãåé€ã§ããããã«ãã¢ããªã±ãŒã·ã§ã³ã¯ãŸãSAFãä»ããŠæžã蟌ã¿èš±å¯ãèŠæ±ããå¿ èŠããããšèããŠããŸã ã ããã¯ãåæãããã£ã¬ã¯ããªãã¹ã€ããã§éžæããã¢ã¯ãã£ããã£ããçŽæ¥å®è¡ã§ããŸãïŒ[èšå®]-[èµ·åãšåæ]-[ãã©ã«ãã®éžæ]ïŒã Googleããªãããªãã¯ãããããŸãããïŒ
ãŸãšãããš
ã¢ããªã±ãŒã·ã§ã³ã®åäœã¯æ¬¡ã®ãšããã§ãã
ãŠãŒã¶ãŒããŽãç®±ãã¯ãªãã¯ãã
sdã«ãŒãã«æžã蟌ãçŽæ¥ã¢ã¯ã»ã¹ã¯ãããŸããïŒ
ã¯ã-ã€ã¡ãŒãžãåé€ããŸãã
ããã-ã¢ã¯ã»ã¹ã§ããªããšããã¡ãã»ãŒãžã衚瀺ããŸãã
ããã¹ã姿ïŒ
ãŠãŒã¶ãŒããŽãç®±ãã¯ãªãã¯ãã
SDã«ãŒãã«èšé²ããããã®æãç©Žãä»ããçŽæ¥ã¢ã¯ã»ã¹ã¯ãããŸããïŒ
ã¯ã-ã€ã¡ãŒãžãåé€ããŸãã
ããã-ãã®åŸ
-Android 5.0以éã§äœæ¥ããŠããŸããïŒ
-ã¯ã-SAFãä»ããŠãã£ã¬ã¯ããªãžã®ã¢ã¯ã»ã¹ãèŠæ±ããã¹ãããã·ã§ãããåé€ããŸãã
-ããã-ïŒã€ãŸããã»ãšãã©ã®å Žå4.4ã§ãããããã4.4ã®ããã«æ§æããã4.3-ãç¹å¥ã«å€æŽãããŠããå ŽåããããŸãïŒã
--ãã¢ã¯ã»ã¹ã¯ãããŸããããã«ãŒãã圹ç«ã¡ãŸãããŸãã¯Androidã®ããŒãžã§ã³ãå€æŽããŸãããŸãã¯ã/storage/extSdCard/Android/data/com.google.android.apps.photos/DCIMã«ç»åãä¿åããããã«ã·ã¹ãã ã«ã¡ã©ãèšå®ããŸããããŸãã¯Googleã®è£éã§ãGoogleãµãŒãã¹ãæŽæ°ããããããä»ããŠæžã蟌ã¿ã¢ã¯ã»ã¹ãèš±å¯ããŸããã
éçºè ãå¿ èŠ
ããã«Googleã®ä»£è¡šè ãããå Žåã¯ãéçºè ã«æ å ±ãæž¡ããŸãã ãã®ãããã¯ã¯é·ãéè°è«ãããŠããŸããããGoogleã¯ç¶æ³ãä¿®æ£ããŠããŸããã
ãããŠãAndroidã§éçºã§ããhabrayuzeryã«ã€ããŠã¯ã質åãããããšæããŸãã ç§ãèšã£ãããã«ã¢ããªã±ãŒã·ã§ã³ãå€æŽããããšã¯å¯èœã§ãããã°ãŒã°ã«ãåŸ ããã«èªåã§å€æŽããããšã¯ã§ããŸããïŒ ããžã¿ã«çœ²åã®äžæŽåã«ã€ããŠã¯ç¥ã£ãŠããŸãããç§ãã¡ã®å Žåãããã¯éèŠã§ã¯ãããŸããã çµå±ã®ãšãããããã¯ãã¹ãŠãã¢ããªã±ãŒã·ã§ã³ãã·ã¹ãã ã§ãªãå Žåã«ã®ã¿å¿ èŠã§ãã ã·ã¹ãããã¯ã§ãªãå Žåã¯ãåé€ããŠããå¥ã®çœ²åã§ã€ã³ã¹ããŒã«ã§ããŸãã YouTubeã®ä»£ããã«å€æŽãããã¢ããªã±ãŒã·ã§ã³-OGYouTubeãèŠãŸããã ãããããããã¯ç§ã説æããŠããããšã§ãã
åé¡ã説æãããŠããå Žåã¯ã ãã®ãã©ãŒã ã«èšå ¥ããŠãã ããã
調æ»çµæ
åçæ°ïŒ101ïŒ2016幎9æ20æ¥æç¹ïŒïŒ
ããã§ç§ã¯èªåã®ä»äºããããšä¿¡ããŠããŸãã ä»ã°ãŒã°ã«ç§»åã ãŸãã¯ã³ãã¥ããã£ã