å€ãã®ã¢ããªã±ãŒã·ã§ã³éçºè ã¯ãããšãã°ããœãŒã·ã£ã«ãã£ãã«ã§ã¢ããªã±ãŒã·ã§ã³ã宣äŒããããã¢ããªã±ãŒã·ã§ã³ã¹ãã¢ïŒããšãã°ãWindowsã¹ãã¢ïŒã§ããã¢ãŒã·ã§ã³ãè¡ã£ãããããªã©ãã¢ããªã±ãŒã·ã§ã³ã®ããã¢ãŒã·ã§ã³ãæ¯æŽãããªã¯ãšã¹ããåãåã£ãŠããŸãã
ããŒã±ãã£ã³ã°æ åœè ãæåã«å°ãã質åã¯æ¬¡ã®ãããªãã®ã§ãããããªãã¯äœãããŸãããïŒãæè¡å°é家ã¯åã質åãããŸãããç®çã¯ç°ãªããŸãã ãã®èšäºã§ã¯ãããããšä»ã®äž¡æ¹ããããã€ãã®ã¢ããã€ã¹ãéããããšããŸããã
ããŒã±ãã£ã³ã°ã®ãã³ã
1.ã¢ããªã±ãŒã·ã§ã³ã«ã€ããŠèŽè¡ã«äŒããŸãã
ã©ããªã«äºçŽ°ãªããšã§ãã倧äŒæ¥ãäžå°äŒæ¥ããåã ã®éçºè ããäœæããã¢ããªã±ãŒã·ã§ã³ã«ã€ããŠããŠã§ããµã€ãã®èšªåè ããœãŒã·ã£ã«ãããã¯ãŒã¯ã®è³Œèªè ãªã©ãèªåã®ãã€ãã£ããªãŒãã£ãšã³ã¹ãšè©±ãã®ãå¿ããŠããããšããããããŸãã
å®éšãšããŠãæã人æ°ã®ããäžäœ5ã€ã®ãªã³ã©ã€ã³æ ç»é€šã調ã¹ãŠããµã€ãã§ç¬èªã®ã¢ããªã±ãŒã·ã§ã³ãžã®ãªã³ã¯ãèŠã€ããŠãã ããã çµæã¯æ¬¡ã®ããã«ãªããŸãã
- ããŒã¿ã«Aã§ã¯ããã¹ãŠã®ãªã³ã¯ãå°äžå®€ã«é ãããŠããŸããããåç¥ã®ããã«ãããã«ãããå¿ èŠããããŸãã åæã«ãã¹ãã¢ãžã®ãªã³ã¯ã¯ãå€ãWindows / Windows Phoneã¢ã€ã³ã³ã䜿çšããŠãWindows MarketplaceããšåŒã¶ããšãã§ããŸãã
- ããŒã¿ã«Bã§ã¯ããªã³ã¯ã¯å°äžã«é ãããŠããŸãããããšãã°ãWindowsã®å ŽåãWindows 8ã®ã¢ããªã±ãŒã·ã§ã³ã®ã¹ã¯ãªãŒã³ã·ã§ãããååšãããšããäºå®ãšã®éã«ã¯æ確ãªäžäžèŽããããŸãããã¢ããªã±ãŒã·ã§ã³ã¯ãããŸããïŒãµãŒãã¹ã«ãã£ãŠé ãããŠããŸãïŒã
- BããŒã¿ã«ã«ã¯ãã¢ããªã±ãŒã·ã§ã³ã¯ãããŸãããã¢ããªã±ãŒã·ã§ã³ãžã®ãªã³ã¯ã¯ãŸã£ãããããŸããã
- GããŒã¿ã«ã«ããªã³ã¯ã¯ãããŸããããã¢ããªã±ãŒã·ã§ã³ããããŸãã
- å°äžã®ããŒã¿ã«Dã«ã¯ãWindows Phoneçšã®ã¢ããªã±ãŒã·ã§ã³ãžã®ãªã³ã¯ããããŸãããã¢ãã€ã«ã»ã¯ã·ã§ã³ã«ã¯èšèŒãããŠããŸããïŒããã¯ãäŒç€Ÿã®ç°ãªãåçéã®æãããªççŸã§ãïŒã
ãã®ç¶æ³ã¯åžžã«èŠ³å¯ãããŸãã
ãã³ã1.èªèå¯èœãªæ¹æ³ã§ããŠãŒã¶ãŒãã¢ã¯ã»ã¹ã§ããå Žæã«ã¹ãã¢ãžã®ã¢ããªã±ãŒã·ã§ã³ãžã®ãªã³ã¯ãé 眮ããŸãã
çŸåšã人æ°ã®ããã¹ãã¢ã®ã¢ããªã±ãŒã·ã§ã³ã«ã€ããŠã¯ããã®èª¬æããŒãžã®WebããŒãžã§ã³ãå©çšå¯èœã§ãã ã¿ãŒã²ãããã©ãããã©ãŒã ã§éãå ŽåããŠãŒã¶ãŒãã¹ãã¢ã€ã³ã¿ãŒãã§ãŒã¹ã«è»¢éããŸããã¹ãã¢ã€ã³ã¿ãŒãã§ãŒã¹ãããã¢ããªã±ãŒã·ã§ã³ãããã€ã¹ã«ããŠã³ããŒãããããšããã§ã«å¯èœã§ãã
ãªã³ã¯ãé 眮ããæãæ£ç¢ºã§èªèå¯èœãªæ¹æ³ã¯ã察å¿ããã¹ãã¢ã®ã¢ã€ã³ã³ã䜿çšããããšã§ãã
ãšããã§ããŠãŒã¶ãŒã«ã¹ã¯ãªãŒã³ã·ã§ããã衚瀺ããå Žåã察å¿ãããã©ãããã©ãŒã ã«é¢é£ãããã®ãå éšãã®ç¹å®ã®ããã€ã¹ãå®è¡ããããšããå§ãããŸãã äžéšã®å¿åç»åãæäŸããŠããŸãããç¹å®ã®è£œé å ïŒNokia Lumiaãªã©ïŒã®ããã€ã¹ã䜿çšããããšãã§ããŸãã
ãã®ãããªåçãèŠã倧å¢ã®èŠèŽè ãããå Žåãããã¯ããã€ã¹ã¡ãŒã«ãŒãšã®çžäºããã¢ãŒã·ã§ã³ã®è°è«ã®å¯Ÿè±¡ã«ããªããŸãã ããªãã¯åœŒãã®ãã®ã§ããã圌ãã¯ããã€ã¹å ã®ã¢ããªã±ãŒã·ã§ã³ã§ãã
ãã³ã2.äŒç€ŸãŸãã¯åŸæ¥å¡ã«äººæ°ã®ããã°ããã€ãã¿ãŒãVK / FB / ...ã¢ã«ãŠã³ããããå Žåã¯ãã¢ããªã±ãŒã·ã§ã³ãŸãã¯ãã®ã¢ããããŒãããªãªãŒã¹ããããšããç¥ãããã ããã
ãã©ãããã©ãŒã ã®æ°ããã¢ããªã±ãŒã·ã§ã³ã®ãªã¹ãããšãã©ãèŠãŠãã¢ããªã±ãŒã·ã§ã³ã®å€éšã«èª°ã«ãæããŠããªãæåãªèè /äŒæ¥ã®ã¢ããªã±ãŒã·ã§ã³ãäºæããèŠã€ããŸãïŒãªãªãŒã¹ã¯èšããŸã§ããããŸããïŒã æ®å¿µãªããšã«ã誰ãç¥ããªãçŽ æŽãããã¢ããªã±ãŒã·ã§ã³ã
å€ãã®å Žåããã®ãããªã¢ããªã±ãŒã·ã§ã³ã®ãªãªãŒã¹ã¯ããã¬ã¹ãªãªãŒã¹ãäŒç€Ÿã®ãŠã§ããµã€ãããŸãã¯ãã€ãã¿ãŒããã§ã€ã¹ããã¯ã®ããŒãžããèŠã€ããããšãã§ããŸããã 人æ°ã®ãããµã€ãã®ã¬ãã¥ãŒã«åŸãããã¹ãã¢ã§æ°ããã¢ããªã±ãŒã·ã§ã³ãç£èŠããã ãã§ãã
å€ãã®äŒæ¥ã«ãšã£ãŠããèªåã®ã¢ããªã±ãŒã·ã§ã³ã®ãªãªãŒã¹ã«ã€ããŠãªã³ã©ã€ã³ãŠãŒã¶ãŒã«äŒããããšããå¹³å¡ãªèãã¯ãæã極端ãªå Žåã«ã®ã¿äœ¿çšã§ããææ³ã§ããããã«æãããŸãããŸã£ãã䜿çšããªãã»ããããã§ãããã
é²æ©çãªäŒæ¥ã¯é·ãéïŒæ¥ä»ã«æ³šæãæã£ãŠïŒããŠãŒã¶ãŒã®ããã«äœããããã«ã€ããŠè©±ãããšãheããŸããã§ããã
ã€ã³ã¿ãŒãããäžã§å€§å¢ã®èŠèŽè ãããå ŽåãããããŠãŒã¶ãŒãåŒãä»ããæãå¹æçãªæ¹æ³ã§ããããšã瀺ããŠããŸãïŒããããã¹ãã¢èªäœã§çŽæ¥ããã¢ãŒã·ã§ã³ãè¡ã£ãåŸïŒã
ïŒãããŠãç§ãã¡ã¯ãŠãŒã¶ãŒãžã®åç¥ã®ã¿ãŒã²ãããçµã£ãã¡ãŒã«ã«ã€ããŠè©±ããŠããŸããïŒãªããšãããŠã¿ãŠãã ãããïŒ
ãã³ã3.ä»ã®ã¢ããªã±ãŒã·ã§ã³ã®ãŠãŒã¶ãŒã«ã¢ããªã±ãŒã·ã§ã³ã«ã€ããŠäŒãã
å€ãã®ãŠãŒã¶ãŒãæ¢ã«æã£ãŠããä»ã®äººæ°ã®ããã¢ããªã±ãŒã·ã§ã³ãæ¢ã«æã£ãŠããå Žåãããã¯åœŒããšã®ã³ãã¥ãã±ãŒã·ã§ã³ã®ããã®æœåšçãªãã£ãã«ãããããšãæå³ããŸãã
ããªãã¯å¹³å¡ãªãã®ããå§ããããšãã§ããŸãïŒã¢ããªã±ãŒã·ã§ã³ã®ã»ã¯ã·ã§ã³ã§ãä»ã®ã¢ããªã±ãŒã·ã§ã³ã®ãªã¹ããæäŸããè¿œå ã®çžäºããã¢ãŒã·ã§ã³ãæäŸããŸãã
ããã«ïŒã²ãŒã äŒç€Ÿãå®æçã«è¡ã£ãŠããïŒããã«é²ãã§ãããç©æ¥µçãªåœ¢ã§æ°ããã¢ããªã±ãŒã·ã§ã³ãã²ãŒã ã«ã€ããŠè©±ãããšãã§ããŸãã ããšãã°ããã³ã¯ã®è±¡ã«é¢ãã人æ°ã®ããããã¡ããããã2çªç®ã®ã·ãªãŒãºãå¥ã®ã¢ããªã±ãŒã·ã§ã³ãšããŠãªãªãŒã¹ããå Žåã確ãã«ãååãªãã¬ã€ããããããã€ã¹ããã²ãŒã ãåé€ããªãã£ããŠãŒã¶ãŒã倧å¢ããŸãã
圌ãã«éç¥ãéãããã¿ã€ã«ãæŽæ°ããŠãããªãã®ç©èªããã€ç¶ãããç¥ãããŸãã
2.ãŠãŒã¶ãŒã«è©äŸ¡ãšã¬ãã¥ãŒãä¿ã
ããããæšæž¬ãããããã«ãã¹ãã¢å ã®ç¹å®ã®ãã£ã¬ã¯ããªã«ãããã¢ããªã±ãŒã·ã§ã³ã®äœçœ®ã¯ãããŠã³ããŒãæ°ã«å€§ããªåœ±é¿ãäžããå¯èœæ§ãããããã®ããŠã³ããŒãæ°ã¯ãäœããã®åœ¢ã®å©çã«å€æã§ããŸãã
ç¹å®ã®ã©ã³ãã³ã°åŒãå ¬éããŠããã¹ãã¢ã¯ãããŸããããããŠã³ããŒããè©äŸ¡ãã¬ãã¥ãŒãããã³ãããã®ãã€ããã¯ã¹ãå«ãŸããŠããããšãç¥ãããŠããŸãã ãŠãŒã¶ãŒãæèŠãå€æŽããïŒåæ祚ããïŒãªã©ã®ãã©ã¡ãŒã¿ãŒããç¹å®ã®è©äŸ¡ã§ã¬ãã¥ãŒããããšã圹ç«ã€ãšèãããŠãŒã¶ãŒã®æ°ãéèŠã§ãã
äžè¬ã«ãã¬ãã¥ãŒãšè©äŸ¡ãåªããŠããŠåªããŠããã»ã©ãã¢ããªã±ãŒã·ã§ã³ã«ãšã£ãŠã¯è¯ãïŒéçºè ãšã®å¹³å¡ãªãã£ãŒãããã¯ãã£ãã«ã¯èšããŸã§ããªãïŒããããã®ãã£ãã«ã«åœ±é¿ãäžããå¿ èŠããããŸãã
å€ãã®ãŠãŒã¶ãŒã¯ãã¢ããªã±ãŒã·ã§ã³ã«æ祚ããããã£ãŒãããã¯ãéã£ããã§ããããšãç¥ããŸããã ãã¡ãããããã¹ãŠã倱ããããã¹ãŠãå£ãããå ŽåããŠãŒã¶ãŒã¯èªåã®å€±æãéçºè ã«äŒããæ¹æ³ãèŠã€ããŸãããæ¥åžžç掻ã§ã¯ãã»ãšãã©ã®ãŠãŒã¶ãŒã¯æ Œä»ãã®ã¢ã€ãã¢ãéèŠã ãšã¯èããŸããã
ããã¯ãããŠã³ããŒãæãããã«ã¯ã¢ããªã±ãŒã·ã§ã³ãã²ãŒã ã®è³Œå ¥æã«ãå¹³åè©äŸ¡ãæ°ãããã³äžè¬çãªé°å²æ°ã圌ãã«ãšã£ãŠéåžžã«éèŠãªåœ¹å²ãæãããšããäºå®ã«ããããããã§ãã
ãã³ã4.è©äŸ¡ãšã¬ãã¥ãŒã®éèŠæ§ããŠãŒã¶ãŒã«æãåºãããŸãã
å€ãã®å ŽåãããŠã³ããŒãæ°ã¯å€ããã®ã®ãã¬ãã¥ãŒãè©äŸ¡ãéåžžã«å°ãªãã¢ããªã±ãŒã·ã§ã³ã衚瀺ãããŸãã ãŠãŒã¶ãŒã¯ããŠã³ããŒãã®æ°ãç¥ããªããããå°æ°ã®è©äŸ¡ããã®ã¢ããªã±ãŒã·ã§ã³ã䜿çšããŠãããŠãŒã¶ãŒãããªãããšã瀺åããŠããŸãã åªããã¢ããªã±ãŒã·ã§ã³ã®å Žåãããã¯ãããããŸããã
åæã«ãåãã©ãããã©ãŒã ã«ã¯ãã¢ããªã±ãŒã·ã§ã³ã¹ãã¢ã«å¯Ÿå¿ããAPIããããŸããããã«ããããŠãŒã¶ãŒãã¢ããªã±ãŒã·ã§ã³è©äŸ¡ããŒãžã«ç§»åã§ããŸãïŒè©³çŽ°ã¯ä»¥äžãåç §ïŒã
èæ ®ãã¹ãéèŠäºé ïŒ
- è©äŸ¡ãã¬ãã¥ãŒã§ãŠãŒã¶ãŒãé »ç¹ã«ç
©ãããªãã§ãã ããã ãã®æ©èœãå®è£
ãããšãã¯ãã¢ããªã±ãŒã·ã§ã³ã®äœ¿çšãšãªãã€ã³ããŒã®é©åãªãã©ã³ã¹ãèŠã€ããŠãã ããã
- ãã€ã¢ãã°ããã¯ã¹ããããã¢ããã¡ãã»ãŒãžã衚瀺ããããã¢ããªã±ãŒã·ã§ã³ã®æ°žç¶çãªã€ã³ã¿ãŒãã§ã€ã¹ã«çŽæ¥ãªã³ã¯ãé 眮ããããããªã©ãããŸããŸãªã€ã³ã¿ãŒãã§ã€ã¹ãœãªã¥ãŒã·ã§ã³ã§æ祚ãžã®æåŸ ã衚瀺ã§ããŸãã
- ãªãã€ã³ããŒã衚瀺ãããã€ã³ãã泚ææ·±ãç£èŠããŸãã ã¢ããªã±ãŒã·ã§ã³ãæ©èœããªãå Žåãããã¯åŠå®çãªè©äŸ¡ãåŒãèµ·ããå¯èœæ§ããããŸãã
- ãŠãŒã¶ãŒã¯ãè¯ãè©äŸ¡ãäžããããã«ãªãã¡ãŒãåŠå®çã«åãå ¥ããå ŽåããããŸãã äœãã§åœŒãããæ°ã«ãããŠãã ããã
ãã³ã5.ãŠãŒã¶ãŒã®ã¬ãã¥ãŒã«è¿ä¿¡ããã
ã¬ãã¥ãŒå ããã³ãœãŒã·ã£ã«ãããã¯ãŒã¯ãŸãã¯ããã°ã®äž¡æ¹ã§ããŠãŒã¶ãŒãã¢ããªã±ãŒã·ã§ã³ã«ã€ããŠæžããŠããå 容ã泚ææ·±ãç£èŠããŸãã åçã説æãä¿®æ£ãè¿œå ãæ¹åã
ã¡ãªã¿ã«ããã«ãã«ã³ãã¡ã¬ã³ã¹ã§ãä»åŸæ°ãæ以å ã«ããŠãŒã¶ãŒã¬ãã¥ãŒã«çŽæ¥å¿çããæ©èœãWindowsã¹ãã¢ã§æäŸãããããšãçºè¡šãããŸããã
3.ã¢ããªã±ãŒã·ã§ã³ãæ°ãããŠãŒã¶ãŒã«å®£äŒãã
ã¯ãã¹ãªã³ã¯ïŒAdduplexçµç±ãææãã©ãã£ãã¯ïŒMSåºåãªã©ïŒãããŒãããŒã¿ã«ã§ã®ã¬ãã¥ãŒãªã©ïŒã§ããŠãŒã¶ãŒãåŒãä»ããããã®åŸæ¥ã®ããŒã±ãã£ã³ã°ã®æ©äŒããã¹ãŠæ¢ã«æå¹ã«ãªã£ãŠãããããæ瀺çãªã¢ããã€ã¹ãªãã§ãããè¡ããŸãã ã
ç§ãã¡ã¯ãŸã 1ã€ã®ã¢ããã€ã¹ãããŸããïŒ
ãã³ã6.æ€çŽ¢ã«çµ±åããŸãã
ãåç¥ãããããŸãããããŠãŒã¶ãŒã¯ã¢ããªã±ãŒã·ã§ã³ãååã§ã¯ãªãé¢é£ããé¢é£ä»ãã§æ€çŽ¢ããããšããããŸãã 圌ãã¯ããªãã®ã¢ããªã±ãŒã·ã§ã³ãæ°ã«ãããªããããããŸãããããã®äžèº«ã¯éèŠã§ãã ãããã®å Žåãã¢ããªã±ãŒã·ã§ã³ãèŠã€ããããšãéèŠã§ãã
ããã¯ãŸããããŒã¯ãŒãã説æãªã©ã®ãããµãããã®ã«é©çšãããŸãã
ããã... ...ãŸããæ€çŽ¢ãšã³ãžã³ïŒBingïŒã«ã¢ããªã±ãŒã·ã§ã³ã®å 容ãšãã®æ¹æ³ãäŒãããšãããã«å€ãã®çµæãåŸãããšãã§ããŸãã
ãã®ããã«ãWebãµã€ããšã¢ããªã±ãŒã·ã§ã³ããªã³ã¯ããããã®ç¹å¥ãªã¡ã«ããºã ããããŸã ã ãã«ãäŒè°ã®ã¬ããŒãã æ€çŽ¢çµæã§ã¢ããªãããã¢ãŒã ãã§è©³çŽ°ã確èªã§ããŸãã
ããã¯ãBingïŒç±³åœïŒã®ååšæã®ããåžå Žãã¿ãŒã²ããã«ããŠããå Žåã«ç¹ã«æå³ããããŸãã
ããã§ãæè¡å°é家ã«ããã¢ãæž¡ããŸãã
æè¡çãªã³ã¡ã³ã
çžäºã«é¢é£ãã2ã€ã®ãã€ã³ãã«ã€ããŠã³ã¡ã³ãããŸããã¢ããªã±ãŒã·ã§ã³ãžã®ãªã³ã¯ã®ååŸãšãã¬ãã¥ãŒã®ããããŒãžãžã®ãªã³ã¯ã®åä¿¡ã§ãã
ã¢ããªã®Webãªã³ã¯
Windows 8.xã®ã¢ããªã±ãŒã·ã§ã³ãžã®ãªã³ã¯ã¯æ¬¡ã®ããã«ãªããŸãã
apps.microsoft.com/windows/app/en {GUID}
ãªã³ã¯å šäœã¯ãéçºè ããŒã¿ã«ã®æ å ±ããã«ïŒã¢ããªã±ãŒã·ã§ã³æ å ±ã»ã¯ã·ã§ã³ïŒã«ç€ºãããŠããã蚌ææžã«ãèšèŒãããŠããŸãã
Windows Phoneã®ã¢ããªã±ãŒã·ã§ã³ãžã®ãªã³ã¯ã¯å°ãç°ãªããŸãã
windowsphone.com/s?appId= {GUID}
ãŸããéçºè ã®ããŒã¿ã«ã§å ¬éãããã¢ããªã±ãŒã·ã§ã³ã«é¢ãã詳现ãå«ã察å¿ããã»ã¯ã·ã§ã³ã«ããããŸãã
泚ïŒWindowsãšWindows Phoneã®2ã€ã®GUIDã¯ç°ãªããŸããã åºèã®æ®µéçãªçµ±åã«ãã ããããã ãŠãããŒãµã«ã¢ã㪠ãããã³ã¢ããªã±ãŒã·ã§ã³ãçžäºã«é¢é£ä»ããæ©èœïŒãŠãŒã¶ãŒã¯ãç°ãªãããã€ã¹çšã®ã¢ããªã±ãŒã·ã§ã³ãããããšã確èªãããããã®ã¢ããªã±ãŒã·ã§ã³ã«äžåºŠæ¯æãããšãã§ããŸãïŒã
ã¹ãã¢å ã®ã¢ããªã«ç§»åããŸã
éçºè ã¯ãã¹ãã¢ã®ç¹å®ã®ã»ã¯ã·ã§ã³ã«ãŠãŒã¶ãŒããªãã€ã¬ã¯ãããããã®ç¹å¥ãªããããã³ã«ãAPIã䜿çšã§ããŸãã
Windows 8.x
Windows 8ã®å Žåããªã³ã¯æ§é ã¯æ¬¡ã®ãšããã§ãã
ms-windows-storeïŒ{ã¢ã¯ã·ã§ã³}ïŒ{ãã©ã¡ãŒã¿ãŒ}
å¯èœãªã¢ã¯ã·ã§ã³ãšãã©ã¡ãŒã¿ãŒïŒ
- PDP-ã¢ããªã±ãŒã·ã§ã³ã®èª¬æããŒãžããã©ã¡ãŒã¿ãŒïŒPFN-ã¢ããªã±ãŒã·ã§ã³ããã±ãŒãžãã¡ããªã®ååïŒããã±ãŒãžã³ã°-ããã±ãŒãžãã¡ããªåã»ã¯ã·ã§ã³ã®ã¢ããªã±ãŒã·ã§ã³ãããã§ã¹ãã§è¡šç€ºã§ããAPIãããå©çšå¯èœïŒ;
- ã¬ãã¥ãŒ -ã¬ãã¥ãŒãŸãã¯è©äŸ¡ãè¿œå ããããã®ããŒãžããã©ã¡ãŒã¿ãŒïŒPFN-ããã±ãŒãžãã¡ããªãŒã®ååïŒã¢ããªã±ãŒã·ã§ã³ãã€ã³ã¹ããŒã«ãããŠããªãå Žåãã¢ããªã±ãŒã·ã§ã³ããŒãžãéããŸãïŒ;
- çºè¡è -ã¢ããªã±ãŒã·ã§ã³ã®çºè¡è ã®ããŒãžããã©ã¡ãŒã¿ãŒïŒåå-çºè¡è ã®è¡šç€ºåã
- æ€çŽ¢ -ã¹ãã¢å ã®æ€çŽ¢çµæãå«ãããŒãžããã©ã¡ãŒã¿ãŒïŒquery-æ€çŽ¢ã¯ãšãªã
- æŽæ°-ãã©ã¡ãŒã¿ãŒãªãã®ã¹ãã¢å ã®æŽæ°ããŒãžã
Windows.System.Launcher.LaunchUriAsyncã¡ãœããïŒJSã®launchUriAsyncãå°ããªæåïŒã䜿çšããŠãªã³ã¯ãéãã ãã§ãã ããšãã°ãã¢ããªã±ãŒã·ã§ã³ã®ããŒãžãéãã«ã¯ã次ã®åŒã³åºãïŒJSïŒã䜿çšã§ããŸãã
var uri = new Windows.Foundation.Uri("ms-windows-store:PDP?PFN=" + Windows.ApplicationModel.Package.current.id.familyName); Windows.System.Launcher.launchUriAsync(uri);
Windows Phone
ãã®ã¿ã¹ã¯ã®Windows Phoneã®ãããã³ã«APIã¯ãããã«ç°ãªããŸãã
- zuneïŒããã²ãŒãããŸãappid = [ã¢ããªID]-ã¢ããªã±ãŒã·ã§ã³ããŒãžã«ç§»åããŸãã
- zuneïŒreviewapp-èµ·åäžã®ã¢ããªã±ãŒã·ã§ã³ã«é¢ãããã£ãŒãããã¯ãæçš¿ããããã®ããŒãžã
- zuneïŒreviewappïŒappid = app [ã¢ããªID]-ç¹å®ã®ã¢ããªã±ãŒã·ã§ã³ã«é¢ãããã£ãŒãããã¯ãæçš¿ããããã®ããŒãžïŒã¢ããªã®ãã¬ãã£ãã¯ã¹ã«æ³šæããŠãã ããïŒ;
- zuneïŒsearchïŒkeyword = [search keyword]ïŒpublisher = [publisher name]ïŒcontenttype = app-ã¹ãã¢ã§æ€çŽ¢ãéå§ãããã¹ãŠã®ãã©ã¡ãŒã¿ãŒã¯ãªãã·ã§ã³ã§ãã
ããŒãžãéãã«ã¯ãWindows.System.Launcher.LaunchUriAsyncãšåãéåæã¡ãœããã䜿çšããå¿ èŠããããŸãã
ããã«ã察å¿ããæ¢è£œã®ãã¿ã¹ã¯ãïŒMicrosoft.Phone.TasksïŒã«ãããã¹ãã¢ã®ç®çã®ã»ã¯ã·ã§ã³ã«ç§»åã§ããŸãã
- MarketplaceDetailTaskââ-ã¢ããªã±ãŒã·ã§ã³ã®è©³çŽ°ã
- MarketplaceReviewTask-ã¢ããªã±ãŒã·ã§ã³ã«é¢ãããã£ãŒãããã¯ã
- MarketplaceSearchTask-ã¹ãã¢ã§æ€çŽ¢ã
- MarketplaceHubTask-ç¹å®ã®ã»ã¯ã·ã§ã³ãéããŸãã
è©äŸ¡ãšã¬ãã¥ãŒ
äžèšã®èª¬æããæãããªããã«ãã¢ããªã±ãŒã·ã§ã³ãè©äŸ¡ããŠã¬ãã¥ãŒãæžãããã®ãã©ãŒã ã§ããŒãžãéãã«ã¯ã1è¡ãŸãã¯2è¡ã®ã³ãŒãã§ååã§ãã
JSãWindows 8.x
var uri = new Windows.Foundation.Uri("ms-windows-store:Review?PFN=" + Windows.ApplicationModel.Package.current.id.familyName); Windows.System.Launcher.launchUriAsync(uri);
CïŒãWindows 8.x
Windows.System.Launcher.LaunchUriAsync(new Uri(String.Format("ms-windows-store:REVIEW?PFN={0}", Windows.ApplicationModel.Package.Current.Id.FamilyName)));
ã芧ã®ãšãããæ§æã¯ã»ãšãã©åãã§ãããã¡ãœãããšããããã£ã®ã±ãŒã¹åã®éãã«æ³šæããŠãã ããïŒåèšèªã«å žåçãªæ £ç¿ã䜿çšãããŠããŸãïŒã
ã¢ããªã±ãŒã·ã§ã³ãããã®ãããªã³ãŒããåŒã³åºãå Žåãããã€ãã®ãã¥ã¢ã³ã¹ãèæ ®ãããšäŸ¿å©ã§ãã
- ãŠãŒã¶ãŒã«ã¢ããªã®è©äŸ¡ãäŸé Œããåã«ãã€ã³ã¿ãŒãããæ¥ç¶ã確èªããŠãã ããã ã¹ãã¢ãæäœããã«ã¯ãã¹ãã¢ã®å¯Ÿå¿ããWebãµãŒãã¹ãšã®å¯Ÿè©±ãå¿ èŠã§ãã
- ãŠãŒã¶ãŒã®éžæãèŠããŠãããŠãã ããïŒããšãã°ãæ祚ã«åæããŸããïŒã ãŠãŒã¶ãŒã¯è€æ°ã®ããã€ã¹ãæã€ããšãã§ãããããè€æ°åæ祚ããããã«åŒ·å¶ããããšã¯æå³ããªãã®ã§ãããŒã¿åæïŒããŒãã³ã°ïŒã䜿çšããããšã«æ³šæããŠãã ããã
ãšããã§ããŠãŒã¶ãŒãããªãã®ããã«ç¹å¥ã«èšå®ãããã®ãããã°ã©ã ã§ç¢ºèªããããšã¯ã§ããŸããã®ã§ããŠãŒã¶ãŒã®å¿ççãªããªãã¯ãšåæ©ã«ã€ããŠèããŠãã ããã
ç¹å®ã®æ°ã®ã¢ããªã±ãŒã·ã§ã³èµ·åã«å¯ŸããŠã¢ããªã±ãŒã·ã§ã³ãè©äŸ¡ããããã«æ±ãããªãã€ã³ããŒã衚瀺ããå ŽåãåŸæ¥ã®ã¹ããŒã ã¯æ¬¡ã®ãšããã§ãã
- æåã®å®è¡ïŒæ祚ãã©ã°ãfalseã«èšå®ããå®è¡ã«ãŠã³ã¿ãŒããªã»ããããŸãïŒèšå®ãä¿åããŸãïŒã
- æã¡äžãïŒ
- ãŠãŒã¶ãŒããŸã æ祚ããŠããªãå Žåã¯ãã«ãŠã³ã¿ãŒãå¢ãããŸã
- ã«ãŠã³ã¿ãŒãç¹å®ã®æ°Xã®åæ°ã§ããå Žåãæ祚ã®ææ¡ã衚瀺ããŸã
- ï§ãŠãŒã¶ãŒãåæããå Žåã圌ã¯æ祚ãããšæãããŸã
- ï§ãŠãŒã¶ãŒãæåŠããå ŽåãåŸã§ãŠãŒã¶ãŒã«æ»ããŸã
Windows Phoneã®ãµã³ãã«ã³ãŒã
以äžã¯ãã¢ããªã±ãŒã·ã§ã³ã§äœ¿çšã§ããããªãåçŽãªã³ãŒãã®äŸã§ã
Windows Phoneã®ã³ãŒã
private void Application_Launching(object sender, LaunchingEventArgs e) { //... this.updateReviewStatus(); } // protected override void OnNavigatedTo(NavigationEventArgs e) { base.OnNavigatedTo(e); //... this.checkReviews(); } // ( ) private int reviewBarrier = 5; private string reviewKey = "userReviewedApp"; private string launchesKey = "userReviewAppLaunches"; private string reviewText = ", XXXX."; private string reviewInviteText = ", "; // private void updateReviewStatus() { var appSettings = IsolatedStorageSettings.ApplicationSettings; if (appSettings.Contains(this.reviewKey)) { var reviewed = (bool)appSettings[this.reviewKey]; var launches = (int)appSettings[this.launchesKey]; if (!reviewed) { appSettings[this.launchesKey] = ++launches; } } else { appSettings.Add(this.reviewKey, false); appSettings.Add(this.launchesKey, 0); } } // private void checkReviews() { var appSettings = IsolatedStorageSettings.ApplicationSettings; var reviewed = (bool)appSettings[this.reviewKey]; var launches = (int)appSettings[this.launchesKey]; if (!reviewed && launches > 0 && launches % this.votingBarrier == 0) { this.askForReview(); } } // private void askForReview() { var returnvalue = MessageBox.Show(this.reviewText, this.reviewInviteText, MessageBoxButton.OKCancel); if (returnvalue == MessageBoxResult.OK) { var marketplaceReviewTask = new MarketplaceReviewTask(); marketplaceReviewTask.Show(); var appSettings = IsolatedStorageSettings.ApplicationSettings; appSettings[this.reviewKey] = true; } }
å¿ èŠã«å¿ããŠããè©äŸ¡ãæãåºããªãããã§ãã¯ããŒã¯ãç°¡åã«è¿œå ããŠãã€ã³ã¿ãŒãããæ¥ç¶ããã¢ããªã±ãŒã·ã§ã³ã®ãŠãŒã¶ãŒã¹ã¯ãªããã®è©³çŽ°ãªã©ã«é¢é£ä»ããããŠããè¿œå ã®ããžãã¯ã確èªã§ããŸãã
Windows 8.x-JavaScript
JavaScriptã¢ããªã±ãŒã·ã§ã³çšã®Windows 8.xã®ã³ãŒãïŒ
ã³ãŒãäŸ
// RateMe.js /* Usage: 1. include js file into default.html or other page; 2. call on app activation or navigation event: var rateMe = new Promo.RateMe(); rateMe.checkReviews(); */ (function () { "use strict"; var applicationData = Windows.Storage.ApplicationData.current; // var roamingSettings = applicationData.roamingSettings; var rateMe = WinJS.Class.define( function init() { this.loadReviewStatus(); }, { status: null, loadReviewStatus: function () { var reviewStatus = roamingSettings.values["reviewStatus"]; if (!reviewStatus) { reviewStatus = new Windows.Storage.ApplicationDataCompositeValue(); reviewStatus["userReviewedApp"] = false; reviewStatus["userReviewAppLaunches"] = 0; } this.status = reviewStatus; }, saveReviewStatus: function () { roamingSettings.values["reviewStatus"] = this.status; }, checkReviews: function () { if (!this.status) { this.loadReviewStatus(); } var reviewed = this.status.userReviewedApp; var launches = this.status.userReviewAppLaunches; if (!reviewed && launches > 0 && launches % rateMe.REVIEWS_BARRIER == 0) { this.askForReviewAsync(); } this.status.userReviewAppLaunches++; this.saveReviewStatus(); }, askForReviewAsync: function () { var that = this; var messageDialog = new Windows.UI.Popups.MessageDialog(rateMe.REVIEW_TEXT); messageDialog.commands.append(new Windows.UI.Popups.UICommand(rateMe.REVIEW_INVITE_TEXT, function (c) { var uri = new Windows.Foundation.Uri("ms-windows-store:Review?PFN=" + Windows.ApplicationModel.Package.current.id.familyName); Windows.System.Launcher.launchUriAsync(uri); that.status.userReviewedApp = true; that.saveStatus(); })); messageDialog.commands.append(new Windows.UI.Popups.UICommand(rateMe.REVIEW_DECLINE_TEXT, function (c) { })); messageDialog.defaultCommandIndex = 0; messageDialog.cancelCommandIndex = 1; return messageDialog.showAsync(); } }, { REVIEWS_BARRIER: 4, REVIEW_TEXT: ", XXXX. , .", REVIEW_INVITE_TEXT: "", REVIEW_DECLINE_TEXT: " " } ); WinJS.Namespace.define("Promo", { "RateMe": rateMe }); })();
Windows 8.x-CïŒ
CïŒã®å ŽåãããŒã¿ã¹ãã¬ãŒãžãšãã€ã¢ãã°ããã¯ã¹ã®åŒã³åºãã¯ãŸã£ããåãæ¹æ³ã§ïŒæ§æã®éãã«æ£ç¢ºã«ïŒè¡ãããæ®ãã¯ã¯ã©ã¹ãäœæããããã®ã©ãããŒã§ãã
ã³ãŒãäŸ
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.Storage; /* RateMe.cs * * Usage: * Place the following code somewhere during page initialization: * * var rateMe = new Promo.RateMe(); * rateMe.CheckReviewsAsync(); */ namespace Promo { class RateMe { static private int REVIEWS_BARRIER = 4; static private string REVIEW_TEXT = ", XXXX. , ."; static private string REVIEW_INVITE_TEXT = ""; static private string REVIEW_DECLINE_TEXT = " "; public RateMe() { this.LoadReviewStatus(); } private ApplicationDataCompositeValue status; private void LoadReviewStatus() { var roamingSettings = ApplicationData.Current.RoamingSettings; var reviewStatus = (ApplicationDataCompositeValue)roamingSettings.Values["reviewStatus"]; if (reviewStatus == null) { reviewStatus = new ApplicationDataCompositeValue(); reviewStatus["userReviewedApp"] = false; reviewStatus["userReviewAppLaunches"] = 0; } this.status = reviewStatus; } private void SaveReviewStatus() { var roamingSettings = ApplicationData.Current.RoamingSettings; roamingSettings.Values["reviewStatus"] = this.status; } public async void CheckReviewsAsync() { if (this.status == null) { this.LoadReviewStatus(); } var reviewed = (bool)this.status["userReviewedApp"]; var launches = (int)this.status["userReviewAppLaunches"]; if (!reviewed && launches > 0 && launches % RateMe.REVIEWS_BARRIER == 0) { await this.AskForReviewAsync(); } this.status["userReviewAppLaunches"] = ++launches; this.SaveReviewStatus(); } private async Task AskForReviewAsync() { var messageDialog = new Windows.UI.Popups.MessageDialog(RateMe.REVIEW_TEXT); messageDialog.Commands.Add(new Windows.UI.Popups.UICommand(RateMe.REVIEW_INVITE_TEXT, async (action) => { var uri = new Uri("ms-windows-store:Review?PFN=" + Windows.ApplicationModel.Package.Current.Id.FamilyName); await Windows.System.Launcher.LaunchUriAsync(uri); this.status["userReviewedApp"] = true; this.SaveReviewStatus(); } )); messageDialog.Commands.Add(new Windows.UI.Popups.UICommand(RateMe.REVIEW_DECLINE_TEXT, null)); messageDialog.DefaultCommandIndex = 0; messageDialog.CancelCommandIndex = 1; await messageDialog.ShowAsync(); } } }
ãšããã§ãCïŒãšJavaScriptã®ãªãã·ã§ã³ã®é¡äŒŒæ§ã«æ³šæããŠãã ããã
ãŸãšã
ãã¹ãŠã®ãã³ãããŸãšããïŒ
- èªèå¯èœãªæ¹æ³ã§ããŠãŒã¶ãŒãã¢ã¯ã»ã¹ã§ããå Žæã«ã¹ãã¢ãžã®ã¢ããªã±ãŒã·ã§ã³ãžã®ãªã³ã¯ãé 眮ããŸãã
- äŒç€ŸãŸãã¯åŸæ¥å¡ã«äººæ°ã®ããããã°ããã€ãã¿ãŒãVK / FB / ...ã¢ã«ãŠã³ããããå Žåã¯ãã¢ããªã±ãŒã·ã§ã³ãŸãã¯ãã®ã¢ããããŒãããªãªãŒã¹ããããšããç¥ãããã ããã
- ã¢ããªãä»ã®ã¢ããªã®ãŠãŒã¶ãŒãšå ±æããŸãã
- è©äŸ¡ãšã¬ãã¥ãŒã®éèŠæ§ããŠãŒã¶ãŒã«æãåºãããŸãã
- ãŠãŒã¶ãŒã®ã¬ãã¥ãŒã«è¿ä¿¡ããŸãã
- æ€çŽ¢ã«çµ±åããŸãã
- ããŒãã¹ïŒWindows / Windows Phoneçšã®åªããã¢ããªã±ãŒã·ã§ã³ãæ¢ã«æã£ãŠããå ŽåããŸãã¯ä»ã®ãã©ãããã©ãŒã ããåªããã¢ããªã±ãŒã·ã§ã³ã転éããäºå®ãããå Žåã¯ãäºåã«ãç¥ãããã ããã
æåããã¢ããªã±ãŒã·ã§ã³ãšå¹žããªãŠãŒã¶ãŒïŒ
䟿å©ãªãªã³ã¯
2014幎ã®äŒè°èšé²ã®äœæ
Windows 8.1ã¢ããããŒã
Visual Studio 2013 Update 2 RCãããŠã³ããŒã
Windowsããã³Windows Phoneã®éçºè åãããŒã¿ã«