¥È¥Ã¥×   ÊÔ½¸ Åà·ë º¹Ê¬ ¥Ð¥Ã¥¯¥¢¥Ã¥× źÉÕ Ê£À½ ̾Á°Êѹ¹ ¥ê¥í¡¼¥É   ¿·µ¬ °ìÍ÷ ñ¸ì¸¡º÷ ºÇ½ª¹¹¿·   ¥Ø¥ë¥×   ºÇ½ª¹¹¿·¤ÎRSS

·ÈÂÓ/docomo/DoJa-5.0

Last-modified: 2018-11-14 (¿å) 15:24:16 (2153d)
Top / ·ÈÂÓ / docomo / DoJa-5.0

[·ÈÂÓ/docomo]

üËöÉáµÚ¶ñ¹ç¤Èµ¡Ç½¤ò¸«¤Æ¡¢¤È¤Æ¤âÌ¥ÎϤò´¶¤¸¤ë¥×¥í¥Õ¥¡¥¤¥ë¤Ç¤¢¤ëDoJa-5.0¤Î¤Þ¤È¤á¤Ç¤¹¡£
docomo 903i¥·¥ê¡¼¥º°Ê¹ß¤ÎüËö¤¬Åö¤Æ¤Ï¤Þ¤ê¤Þ¤¹¡£¤¤¤ï¤æ¤ë¥á¥¬¥¢¥×¥êÂбþüËö¤Ç¤¹¡£

¥¹¥Ú¥Ã¥¯°ìÍ÷

¹àÌÜÆâÍÆÈ÷¹Í
ȯÇä»þ´ü2006ǯ10·î¡Á
jar+ScratchPad¥µ¥¤¥º1024kb
903i¥·¥ê¡¼¥º¤Îi¥¢¥×¥ê²èÌÌ¥µ¥¤¥ºP:240x240 D,F,SH:240x320, SO:240x368 N:480x480
°ìÅ٤˼õ¿®¤Ç¤­¤ëÍÆÎÌ150kb90Xi¥·¥ê¡¼¥º¶¦ÄÌ
°ìÅÙ¤ËÁ÷¿®¤Ç¤­¤ëÍÆÎÌ80kb90Xi¥·¥ê¡¼¥º¶¦ÄÌ
GPS¿¤¯¤Îµ¡¼ï¤ÇÍøÍѲÄǽ¡£¤¿¤À¤·¥¢¥×¥ê¤Ç¤Ï¤Ê¤¯¥Ö¥é¥¦¥¶¥¢¥¯¥»¥¹»þ¤Î¤ß¤È¹Í¤¨¤¿¤Û¤¦¤¬¤è¤µ¤½¤¦¤Ç¤¹Ãí¡§903i¤ÇiTV, iX¤¬ÉÕ¤¯µ¡¼ï¤ÏGPS¤¬»È¤¨¤Þ¤»¤ó
mascot capsule¥Ð¡¼¥¸¥ç¥ó3¤ª¤è¤Ó4¤ò¤É¤Á¤é¤Ç¤âÍøÍѲÄǽ
903i¥·¥ê¡¼¥º¤ÇÍøÍѤǤ­¤ëOpen GL ESP903i¤Î¤ßÂбþ
Flash Lite¥Ð¡¼¥¸¥ç¥ó1.13.0¤Ï905i¤«¤é
i-HTML¥Ð¡¼¥¸¥ç¥ó7.0
i-XHTML¥Ð¡¼¥¸¥ç¥ó2.1
i¥¢¥×¥ê¤Î̾¾ÎÁ´³Ñ´¹»»£¸Ê¸»ú°ÊÆâ
i¥¢¥×¥ê¤Î¥Ð¡¼¥¸¥ç¥óʸ»úÎóȾ³Ñ10ʸ»ú°ÊÆâ

¢¨¾Ü¤·¤¤¥¹¥Ú¥Ã¥¯°ìÍ÷¤Ï¼¡¤Îpdf¥Õ¥¡¥¤¥ë¤ò»²¾È¤·¤Æ¤¯¤À¤µ¤¤
http://www.nttdocomo.co.jp/binary/pdf/service/imode/make/content/spec/imode_spec.pdf

¥É¥­¥å¥á¥ó¥È

DoJa-5.0³«È¯´Ä¶­¤Î¥¤¥ó¥¹¥È¡¼¥ë

docomo 903i¥·¥ê¡¼¥º°Ê¹ß¤ËÂбþ¤¹¤ë¥½¥Õ¥È¤ò³«È¯¤¹¤ë¤¿¤áDoJa-5.0³«È¯´Ä¶­¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£
»²¹Í¡§OS¤ÏWindows 7(64bit)¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤·¤¿¡£

  1. docomo¤Î³«È¯¼ÔÍÑ¥Ú¡¼¥¸¤Ç¥¤¥ó¥¹¥È¡¼¥ëÊýË¡¤ò³Îǧ ¼¡¤Îdocomo³«È¯¥Ú¡¼¥¸¤ò³«¤¤¤Æ¡¢¥¤¥ó¥¹¥È¡¼¥ëÊýË¡¤ò³Îǧ¤·¤Þ¤¹
    [docomo]DoJa-5.0¥×¥í¥Õ¥¡¥¤¥ë¸þ¤±i¥¢¥×¥ê³«È¯¥Ä¡¼¥ë
  2. J2SDK 1.4.2¤ò¥¤¥ó¥¹¥È¡¼¥ë
    J2SDK ver.1.4.2¤¬Æþ¤Ã¤Æ¤¤¤Ê¤¤¤È¤­¤Ï¡¢¼¡¤Î¥Ú¡¼¥¸¤«¤é¥À¥¦¥ó¥í¡¼¥É¤·¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£
    http://java.sun.com/products/archive/j2se/1.4.2_19/index.html
    j2sdk-1_4_2_19-windows-i586-p.exe
    ¥¤¥ó¥¹¥È¡¼¥ëÀ衧C:\Develop\jdk\j2sdk1.4.2
    ¥·¥¹¥Æ¥à´Ä¶­ÊÑ¿ô¤òÀßÄꤷ¤Þ¤¹
    JAVA_HOMEC:\Develop\j2sdk\j2sdk14
    PATHÄɲÃC:\Develop\j2sdk\j2sdk14\bin
  3. Eclipse¤ò¥¤¥ó¥¹¥È¡¼¥ë
    Eclipse 3.4.2¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤·¤¿¡£
    eclipse-java-ganymede-SR2-win32.zip
    ¥¤¥ó¥¹¥È¡¼¥ëÀè¡ÊŸ³«Àè¡Ë¡§C:\Develop\eclipse\eclipse3_4_doja50
    »²¹Í¡§ºÇ½é¡¢DoJa³«È¯´Ä¶­¤¬Eclipse 3.0.x¡¢3.1.xÂбþ¤È¤Î¤³¤È¤Ç¤·¤¿¤Î¤Ç¡¢version 3.1.2¡Êeclipse-SDK-3.1.2-win32.zip¡Ë¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤·¤¿¤¬¡¢¤Ê¤¼¤«¥Ó¥ë¥É¤Ç¤­¤º¡¢[Project] - [DoJa-5.0] - [ADF/¥È¥é¥¹¥Æ¥Ã¥ÉÆ°ºîÀßÄê] - [ADFÀßÄê]¤ÎÀßÄê¹àÌܤÎÃæ¿È¤¬¸½¤ì¤Ê¤«¤Ã¤¿¤Î¤ÇºÇ¿·¤ÎEclipse¤òÆþ¤ì¤Æ¡¢·ë²ÌOK¤Ç¤·¤¿¡£
  4. DoJa-5.0³«È¯¥Ä¡¼¥ë¤ò¥¤¥ó¥¹¥È¡¼¥ë
    emufordoja5_0_3_01.zip
    Ãí¡§Eclipse¥¤¥ó¥¹¥È¡¼¥ëÀè¤Ê¤É¤òÀßÄꤹ¤ë¤¿¤á¡¢ÅÓÃæ¡Öɸ½à¡×¤Ç¤Ê¤¯¡Ö¥«¥¹¥¿¥Þ¥¤¥º¡×¤Ç¥¤¥ó¥¹¥È¡¼¥ëºî¶È¤ò¿Ê¤á¤Æ¤¯¤À¤µ¤¤
    Sun Java Studio Enterprise 8 & NetBeans IDE 4.1 ¥â¥¸¥å¡¼¥ë¤Î¥Á¥§¥Ã¥¯¤ò³°¤¹
    ¥¤¥ó¥¹¥È¡¼¥ëÀ衧C:\Develop\docomo\doja50\
    ÅÓÃæ¤ÇEclipse¥×¥é¥°¥¤¥ó¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤¿¤á¤ËEclipse¥¤¥ó¥¹¥È¡¼¥ëÀè¤òʹ¤«¤ì¤ë¤Î¤Ç¡¢¼¡¤ÎÃͤòÆþÎÏ
    C:\Develop\eclipse\eclipse3_1_doja50\
    ¥¨¥ß¥å¥ì¡¼¥¿Ã¼Ëö²èÌÌ¥µ¥¤¥º¤ÎÄɲÃ
    [ÀßÄê] - [¥¨¥ß¥å¥ì¡¼¥¿´Ä¶­ÀßÄê] - [üËö¥¦¥£¥ó¥É¥¦¤ÎÀßÄê]
    ̾¾ÎMainÉýMain¹â¤µSubÉýSub¹â¤µ
    D_F_SH903i240240120120
    N903i480480120120
    P903i240240120120
    SO903i240368120120
    • Sub²èÌ̤ÏÄ̾異¥×¥ê¤Ç»È¤ï¤Ê¤¤¤Î¤Ç120x120¤ò¥À¥ß¡¼¤ÇÀßÄꤷ¤Þ¤¹
    • ̾¾Î¤Ë¥«¥ó¥Þ¤òÆþ¤ì¤ë¤ÈEclipse¦¤Îɽ¼¨¤¬Íð¤ì¤ë¤Î¤Ç¡ÖD_F_SH903i¡×¤È¤·¤Æ¤¤¤Þ¤¹
  5. Eclipse¦¤ÇDoJa-5.0¤Î¥¤¥ó¥¹¥È¡¼¥ëÀè¤òÀßÄê
    [Window] - [Preferences](Eclipse¤òÆüËܸ첽¤·¤Æ¤¤¤ë¤È¤­¤Ï[¥¦¥£¥ó¥É¥¦] - [ÀßÄê])¤ÇDoJa-5.0 Environment¤òÁªÂò¤·¡¢¡Öi¦Áppli DevelopmentKit for DoJa-5.0¤Î¥¤¥ó¥¹¥È¡¼¥ëÀè¡×¤Ë¡ÖC:\Develop\docomo\doja50¡×¤òÆþÎÏ
  6. i¦ÁppliTool for DoJa-5.0¤òµ¯Æ°¤·¤Æ¥µ¥ó¥×¥ë¤ÇÆþ¤Ã¤Æ¤¤¤ëCarRace¥×¥í¥¸¥§¥¯¥È¤ò³«¤­¡¢DoJa¥¨¥ß¥å¥ì¡¼¥¿¤Ç¼Â¹Ô¤Ç¤­¤ë¤³¤È¤ò³Îǧ¤·¤Þ¤¹

HelloWorld

  1. ¥×¥í¥¸¥§¥¯¥È¿·µ¬ºîÀ®
    • [File] - [New] - [Project...] - [Java] - [DoJa-5.0¥×¥í¥¸¥§¥¯¥È] - [Next]
    • Project name¤Ë¡ÖHelloWorld¡×¤ÈÆþÎϤ·¡¢[Finish]
    • [Window] - [Preferences] - [Java] - [Compiler] - [Compiler compliance level]¤ò1.4¤ËÀßÄê
      [Window] - [Preferences] - [Java] - [Installed JREs]¤ò1.4¤ËÀßÄê¡ÊStandard VM¤ÇJRE home¤Ë¡ÖC:\Program Files (x86)\Java\j2re1.4.2_19¡×¤òÀßÄê¡Ë
      Ãí¡§¤³¤ÎÀßÄê¤ò¹Ô¤ï¤Ê¤¤¤È¡¢jar¤¬¤Ç¤­¤Æ¤â¥¨¥ß¥å¥ì¡¼¥¿¡¼¤¬µ¯Æ°¤·¤Æ¤¹¤°½ªÎ»¤·¤Þ¤¹¡£
  2. ¥½¡¼¥¹¿·µ¬ºîÀ®
    • Package Explorer¤Çsrc¥Õ¥©¥ë¥À¤ò±¦¥¯¥ê¥Ã¥¯¤·¡¢[New] - [class]
    • Name¤Ë¥á¥¤¥ó¤È¤Ê¤ë¥¯¥é¥¹Ì¾¡ÊMain¤Ê¤É¡Ë¤òÆþÎϤ·¡¢Superclass¤Ë¡ÖIApplication¡×¤ÈÆþÎϤ·¡¢[Finish]
    • ¥½¡¼¥¹¤òÆþÎÏ
      import com.nttdocomo.ui.*;
      
      public class Main extends IApplication {
      	public void start() {
      		Display.setCurrent(new HelloCanvas());
      	}
      }
    • Package Explorer¤Çsrc¥Õ¥©¥ë¥À¤ò±¦¥¯¥ê¥Ã¥¯¤·¡¢[New] - [class]
    • Name¤Ëɽ¼¨ÍѤΥ­¥ã¥ó¥Ð¥¹¥¯¥é¥¹Ì¾¡ÊHelloCanvas¡Ë¤òÆþÎϤ·¡¢Superclass¤Ë¡ÖCanvas¡×¤ÈÆþÎϤ·¡¢[Finish]
    • ¥½¡¼¥¹¤òÆþÎÏ
      import com.nttdocomo.ui.*;
      
      public class HelloCanvas extends Canvas {
      	public void paint(Graphics g) {
      		g.drawString("Hello world!", 0, 12);
      	}
      }
  3. ADFÀßÄê
    • Package Explorer¤Ç¥×¥í¥¸¥§¥¯¥È¤Î¥Õ¥©¥ë¥À¤òÁªÂò¤·¡¢[Project] - [DoJa-5.0(S)] - [ADF/¥È¥é¥¹¥Æ¥Ã¥ÉÆ°ºîÀßÄê]¤òÁªÂò
    • AppName¤Ë¹¥¤­¤Ê¥¢¥×¥ê̾¡ÊHelloWorld¤Ê¤É¡Ë¤òÁ´³Ñ´¹»»£¸Ê¸»ú°ÊÆâ¤ÇÀßÄꤷ¡¢AppClass¤Ë¥á¥¤¥ó¥¯¥é¥¹Ì¾¤òÀßÄê¡ÊMain¡Ë
  4. ¥Ó¥ë¥É
    • [Project] - [Build Project]¤Ç¥Ó¥ë¥É
  5. ¥¨¥ß¥å¥ì¡¼¥¿¤Ç¼Â¹Ô
    • [Run] - [Run Configurations] - [DoJa-5.0¥¢¥×¥ê¥±¡¼¥·¥ç¥ó]¤ÎNew_configuration¤Ê¤É¤ÇÃͤòÀßÄê
      ¥×¥í¥¸¥§¥¯¥ÈHelloWorld¤Ê¤É¥×¥í¥¸¥§¥¯¥È̾
      üËödevice1¤Ê¤É¥¨¥ß¥å¥ì¡¼¥È¤¹¤ëüËöÀßÄê̾
      µ¯Æ°¼ïÊÌÄ̾ﵯư
    • [Run]¤òÁªÂò

»²¹Í¡§ÄÌ¿®¤ò¹Ô¤¦¾ì¹ç¤Ï¡¢¼¡¤Î¤è¤¦¤ÊÀßÄ꤬ɬÍפǤ¹¡£

¥ê¥ó¥¯