Android SDK programming (Android 4.2)

¡û ¤Ï¤¸¤á¤Ë

ËÜʸ½ñ¤Ç¤Ï¡¢Google ¤¬ 2007ǯ11·î5Æü¤Ëȯɽ¤·¤¿¡¢·ÈÂÓÅÅÏøþ¤±¤Î¥×¥é¥Ã¥È¥Õ¥©¡¼¥à Android ¾å¤ÇÆ°ºî¤¹¤ë¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤ò¡¢SDK ¤òÍѤ¤¤ÆºîÀ®¤¹¤ëÊýË¡¤Ë¤Ä¤¤¤Æ¼«Ê¬¤¬ÊÙ¶¯¤·¤¿¤³¤È¤òÀâÌÀ¤·¤Æ¤¤¤­¤¿¤¤¤È»×¤¤¤Þ¤¹¡£

Ãø¼Ô¤Ï°ÊÁ°¡¢2008ǯ1·î¤Ë¡ÖAndroid SDK programming¡×¤È¤¤¤¦¥µ¥¤¥È¤ò¸ø³«¤·¤Æ¤¤¤Þ¤·¤¿¡£Åö»þ¤Ï Android ¤¬½Ð¤¿¤Ð¤«¤ê¤Ç SDK ¤â¥Ð¡¼¥¸¥ç¥ó m5-rc14/rc15 ¤ÈÀµ¼°¥ê¥ê¡¼¥¹Á°¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç¤·¤¿¡£¤½¤ì¤Ê¤ê¤ËÈ¿¶Á¤¬¤¢¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢API»ÅÍͤÎÊѹ¹¤ËÄɽ¾¤¹¤ë»þ´Ö¤¬¼è¤ì¤Ê¤¯¤Ê¤ê¡¢2009ǯ5·î¤Ë¸ø³«¤òÄä»ß¤·¤Þ¤·¤¿¡£

º£²ó¤Ï¡¢Åö»þ¤Î¥µ¥¤¥È¤ò¤Þ¤º¤Ï SDK Tools 22.0.4 (API level 17)(2013/7ÈÇ) / Android 4.2 ¸þ¤±¤Ë½ñ¤­Ä¾¤¹»ö¤«¤é»Ï¤á¤Æ¡¢¤½¤Î¸å¤ËÅö»þ¿¨¤ì¤é¤ì¤Ê¤«¤Ã¤¿ÆâÍƤˤĤ¤¤Æ½ñ¤¤¤Æ¤¤¤³¤¦¤È»×¤Ã¤Æ¤¤¤Þ¤¹¡£³«È¯¥Ä¡¼¥ë¤«¤éÂçʬÊѤï¤Ã¤Æ¤·¤Þ¤Ã¤Æ¤¤¤ëÍͤʤΤǡ¢Ä´ºº¤Ë¤½¤³¤½¤³»þ´Ö¤¬¤«¤«¤ê¤½¤¦¤Ç¤¹¡£

¢­¤³¤³¤«¤é¡¢°ÊÁ°¸ø³«¤·¤Æ¤¤¤¿¥µ¥¤¥È¤Î¡Ö¤Ï¤¸¤á¤Ë¡×¤Î°úÍѤǤ¹¡£

2007ǯ11·î5Æü¡¢Google ¤Ï·ÈÂÓÅÅÏøþ¤±¤Î¥×¥é¥Ã¥È¥Õ¥©¡¼¥àAndroid¤òȯɽ¤·¤Þ¤·¤¿¡£Android ¤Î³«È¯¤ò¹Ô¤¦Open Handset Alliance ¤Ë¤Ï¡¢È¯É½»þÅÀ¤Ç 30 ¼Ò°Ê¾å¤Î·ÈÂӥ᡼¥«¡¼¤äÄÌ¿®»ö¶È¼Ô¤¬»²²Ã¤·¤Æ¤¤¤Þ¤¹¡£¤Þ¤¿¡¢2007ǯ11·î12Æü¤Ë¤Ï¡¢ Android Developer Challenge ¤Î³«ºÅ¤òȯɽ¤¹¤ë¤ÈƱ»þ¤Ë¡¢SDK ¤ò¸ø³«¤·¤Þ¤·¤¿¡£

Ãø¼Ô¤Ï¤³¤ì¤Þ¤Ç i¥¢¥×¥ê¤ä EZ¥¢¥×¥êÅù¤Î´û¸¤Î·ÈÂÓÅÅÏÃ¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Ï°ìÀÚ¿¨¤Ã¤¿¤³¤È¤¬Ìµ¤¯¡¢¶½Ì£¤âÁ´¤¯Ìµ¤«¤Ã¤¿¤¿¤á¡¢Android ¤¬È¯É½¤µ¤ì¤¿»þ¤â¡É¤Õ¤¥¤ó¡Ä¡É¤È¤¤¤¦¤Î¤¬ÀµÄ¾¤Ê´¶ÁۤǤ·¤¿¡£

¤·¤«¤·¡¢Android ¤Ï Linux ¥«¡¼¥Í¥ë 2.6 ¤ò¥Ù¡¼¥¹¤È¤·¤Æ¤¤¤Æ¥ª¡¼¥×¥ó¥½¡¼¥¹¤Ê¤¿¤á¡¢¼«Ê¬¤¬¶½Ì£¤¢¤ë¥Ç¥Ð¥¤¥¹¼þ¤ê¤Î¥³¡¼¥É¤ò¸«¤ë¤³¤È¤â½ÐÍè¤ë¤«¤Ê¡©¤È¤¤¤¦´Ø¿´¤¬Í¯¤¤¤Æ¤­¤Þ¤·¤¿¡£¤½¤ì¤Ç¡¢¤È¤ê¤¢¤¨¤º SDK ¤Ç¤â¥À¥¦¥ó¥í¡¼¥É¤·¤Æ¤­¤Æ¥¢¥×¥ê¥±¡¼¥·¥ç¥óºîÀ®¤ÎÊ·°Ïµ¤¤Ç¤âÄϤó¤Ç¤ß¤è¤¦¤«¤Ê¤È»×¤¤¡¢ËÜʸ½ñ¤ò½ñ¤­»Ï¤á¤Þ¤·¤¿¡£

¤Þ¤ÀÊÙ¶¯¤·»Ï¤á¤Çʸ¾Ï¤¬½ÐÍ褿¤È¤³¤í¤«¤é¸ø³«¤·¤Æ¤¤¤¯·Á¤Ë¤Ê¤ê¤Þ¤¹¤¬¡¢¾¯¤·¤Å¤Ä ¡ÉAndroid¡ÉÅëºÜ¤Î·ÈÂÓ¤¬½Ð¤¿¤éÇã¤Ã¤Æ»È¤Ã¤Æ¤ß¤ë¤«¤Ê¡Ä¤È¤¤¤¦µ¤¤Ë¤Ê¤Ã¤Æ¤­¤Þ¤·¤¿¡ª

¢¬°úÍѤ³¤³¤Þ¤Ç¡£

ËÜʸ½ñ¤Ø¤Î¥ê¥ó¥¯¤Ï¸æ¼«Í³¤Ë¤É¤¦¤¾¡£ËÜ¥µ¥¤¥ÈÆâ¤Îʸ¾Ï¤Ë´Ø¤·¤Æ²¿¤«¤´°Õ¸«¤Ê¤É¤¬¤¢¤ê¤Þ¤·¤¿¤é¡¢¥Ú¡¼¥¸ºÇ²¼Éô¤Ë¤¢¤ë¥¢¥É¥ì¥¹¤Þ¤Ç¡¢¤¢¤ë¤¤¤Ï¤³¤³¤«¤é¤ª´ê¤¤¤·¤Þ¤¹¡£¤Ê¤ª¡¢ËÜʸ½ñ¤Ë¤ª¤¤¤Æ»ÈÍѤ·¤Æ¤¤¤ë¥µ¥ó¥×¥ë¥³¡¼¥É¤ò zip ·Á¼°¤Ç°µ½Ì¤·¤¿¤â¤Î¤òsrc.zip¤È¤·¤ÆÃÖ¤¤¤Æ¤Þ¤¹¡£Å¸³«¤·¤ÆÆÀ¤é¤ì¤ë³Æ¥½¡¼¥¹¥³¡¼¥É¤Ï EUC ¤Ç½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡£³Æ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¤½¤Î¥³¡¼¥É¤ò»ÈÍѤ·¤¿ Lecture ¤ÎÈֹ椬Éղ䵤ì¤Æ¤¤¤Þ¤¹¡£¤³¤Î¥½¡¼¥¹¥³¡¼¥É¤Î»ÈÍѤ˴ؤ·¤Æ¤Ï¡¢ÌÈÀÕ»ö¹à¤Îµ­½Ò¤òλ¾µ¤·¤Æ¤¤¤¿¤À¤±¤ì¤Ð¼«Í³¤Ë»È¤Ã¤Æ¤¤¤¿¤À¤¤¤Æ¹½¤¤¤Þ¤»¤ó¡£

¤Þ¤¿¡¢¥½¡¼¥¹¥³¡¼¥É¤ò´Þ¤á¤¿Ê¸½ñÁ´ÂΤΥ¢¡¼¥«¥¤¥Ö( zip ·Á¼° )¤ò android2_doc.zip¤È¤·¤ÆÃÖ¤¤¤Æ¤Þ¤¹¡£¤³¤Á¤é¤â EUC ¤Ç½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡£

¤Ê¤ª¡¢¥½¡¼¥¹¥³¡¼¥É¤Ï SDK Tools 22.0.4 / ¥×¥é¥Ã¥È¥Õ¥©¡¼¥à Android 4.2 ¤Ç¥³¥ó¥Ñ¥¤¥ë²Äǽ¤Ç¤¹¡£

¡û Á°Äé´Ä¶­

ËÜʸ½ñ¤Ç¤Ï¡¢Windows/Linux® ¤¤¤º¤ì¤«¤Ç Android SDK ¤òÍѤ¤¤Æ¥×¥í¥°¥é¥à¤òºîÀ®¤·¤Þ¤¹¡£Eclipse ¤Ï»ÈÍѤ»¤º¡¢¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¥³¥ó¥Ñ¥¤¥ë/ºîÀ®¤·¤¿¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î¼Â¹Ô¤ò¹Ô¤¤¤Þ¤¹¡£¤Þ¤¿¡¢Android SDK ¤Î¥Ð¡¼¥¸¥ç¥ó¤Ï SDK Tools 22.0.4 (API level 17)(2013/7ÈÇ) / ¥×¥é¥Ã¥È¥Õ¥©¡¼¥à Android 4.2 ¤ËÂбþ¤·¤Æ¤¤¤Þ¤¹¡£

¡û ÌÈÀÕ»ö¹à

ËÜ¥µ¥¤¥È¤Ç¸ø³«¤·¤Æ¤¤¤ëÆâÍƤˤĤ¤¤Æ¤Ï²Äǽ¤Ê¸Â¤êÀµ³Î¤ò´ü¤¹¤ëÍͤ˿´³Ý¤±¤Æ¤¤¤Þ¤¹¤¬¡¢Ãø¼Ô¤ÎÃμ±ÉÔ­¤«¤éµ»½ÑŪ¤Ê¸í¤ê¤â¤·¤¯¤ÏÉÔŬÀÚ¤Êɽ¸½¤ä¸í¿¢¤ò´Þ¤à²ÄǽÀ­¤¬¤¢¤ê¤Þ¤¹¡£¤³¤ì¤é¤ÎÆâÍƤò»ÈÍѤ¹¤ë¤³¤È¤Ë¤è¤Ã¤ÆÀ¸ ¤¸¤ë²ÄǽÀ­¤Î¤¢¤ë¤¤¤«¤Ê¤ëÈï³²/»³²¤ËÂФ·¤Æ¡¢Ãø¼Ô¤Ï°ìÀÚ¤ÎÀÕǤ¤òÉ館¤Þ¤»¤ó¡£¤è¤Ã¤Æ¡¢¤´ÍøÍѤˤʤé¤ì¤ëºÝ¤Ï¤ß¤Ê¤µ¤ó³Æ¼«¤ÎÀÕǤ¤ÇÆâÍƳÎǧ/Æ°ºî³Îǧ¤ò¹Ô¤Ã¤Æ²¼¤µ¤¤¡£

¤Ê¤ª¡¢ËÜ¥µ¥¤¥È (Android SDK programming (Android 4.2)) ¤Ë·ÇºÜ¤·¤Æ¤¤¤ë¥µ¥ó¥×¥ë¥×¥í¥°¥é¥à¤Ë¤Ä¤¤¤Æ¤Ï½¤Àµ BSD ¥é¥¤¥»¥ó¥¹¡Ê¿· BSD ¥é¥¤¥»¥ó¥¹¡Ë¤Ë½¾¤¦¤³¤È¤È¤·¤Þ¤¹¡ÊOpen Source Initiative ¤Ë¤è¤ë¥Æ¥ó¥×¥ì¡¼¥È¤Ï¤³¤Á¤é¡£¥Æ¥ó¥×¥ì¡¼¥È¤Î»²¹ÍË®Ìõ¤Ï¤³¤Á¤é¡Ë¡£

Copyright (c) 2013, Ryo Ichinose
All rights reserved.

Redistribution and use in source and binary forms, with or without 
modification, are permitted provided that the following conditions are met:

   * Redistributions of source code must retain the above copyright 
     notice, this list of conditions and the following disclaimer.
   * Redistributions in binary form must reproduce the above copyright 
     notice, this list of conditions and the following disclaimer in the 
     documentation and/or other materials provided with the distribution.
   * Neither the name of the auther nor the 
     names of its contributors may be used to endorse or promote products 
     derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

¡û ¾¦É¸

  • Linux ¤Ï Linus Torvalds »á¤ÎÆüËܵڤӤ½¤Î¾¤Î¹ñ¤Ë¤ª¤±¤ëÅÐÏ¿¾¦É¸¤Þ¤¿¤Ï¾¦É¸¤Ç¤¹¡£
  • ¤½¤Î¾¡¢ËÜ¥µ¥¤¥È¤Îʸ½ñÃæ¤Ëµ­ºÜ¤µ¤ì¤Æ¤¤¤ë²ñ¼Ò̾¤äÀ½ÉÊ̾¤Ï¡¢°ìÈ̤˳ƼҤξ¦É¸¤Þ¤¿¤ÏÅÐÏ¿¾¦É¸¤Ç¤¹¡£
  • ¤Ê¤ª¡¢ËÜ¥µ¥¤¥È¤Îʸ½ñÃæ¤Ç¤Ï TM ¤ª¤è¤Ó R ¥Þ¡¼¥¯¤òÌÀµ­¤·¤Æ¤¤¤Þ¤»¤ó¤¬¡¢¸¢Íø¤ò¿¯³²¤¹¤ë°Õ»×¤äÌÜŪÅù¤Ï°ìÀÚ¤¢¤ê¤Þ¤»¤ó¡£

¡û »²¹Í¾ðÊó(ʸ¸¥¡¢¥ê¥ó¥¯)

  • Google on Android

    Google¤ÎAndroid¥µ¥¤¥È¤Ç¤¹¡£¤³¤³¤«¤é¸å½Ò¤Î³«È¯¼ÔÍÑ¥µ¥¤¥È¤Ë¹Ô¤Ã¤¿¤ê½ÐÍè¤Þ¤¹¡£

  • Open Handset Alliance

    ·ÈÂӥ᡼¥«¡¼¤äÄÌ¿®»ö¶È¼Ô¤Ë¤è¤Ã¤ÆÀßΩ¤µ¤ì¤¿¡¢Android ¤Î³«È¯¤ò¹Ô¤¦ÁÈ¿¥¤Ç¤¹¡£

  • Android Freeware Directory

    ±Ñ¸ì¤Î¥µ¥¤¥È¤Ç¤¹¡£Android ¤Î¥Õ¥ê¡¼¥½¥Õ¥È´ØÏ¢¤Î¾ðÊó¤ò½¸¤á¤è¤¦¤È¤·¤Æ¤¤¤Þ¤¹¡£Ãø¼Ô¤¬ºîÀ®¤·¤¿ DodgeBalls ¤È¤¤¤¦Ä¶Ã±½ã¥²¡¼¥à¤â·ÇºÜ¤µ¤ì¤Æ¤¤¤Þ¤¹¡ª