ȥå   Խ ʬ Хåå ź ʣ ̾ѹ   ñ측 ǽ   إ   ǽRSS

/docomo/DoJa-5.0

Last-modified: 2010-12-20 () 09:56:49 (2529d)
Top / / docomo / DoJa-5.0

[/docomo]

üڶȵǽ򸫤ơȤƤ̥Ϥ򴶤ץեǤDoJa-5.0ΤޤȤǤ
docomo 903i꡼ʹߤüƤϤޤޤᥬץбüǤ

ڥå

ȯ2006ǯ10
jar+ScratchPad1024kb
903i꡼iץ̥P:240x240 D,F,SH:240x320, SO:240x368 N:480x480
٤˼Ǥ150kb90Xi꡼
٤Ǥ80kb90Xi꡼
GPS¿εѲǽץǤϤʤ֥饦Τߤȹͤۤ褵Ǥ903iiTV, iXդGPSȤޤ
mascot capsuleС34ɤǤѲǽ
903i꡼ѤǤOpen GL ESP903iΤб
Flash LiteС1.13.0905i
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ȯĶ򥤥󥹥ȡ뤷ޤ
͡OSWindows 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.x3.1.xбȤΤȤǤΤǡversion 3.1.2eclipse-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\
    ߥ졼ü̥ɲ
    [] - [ߥ졼Ķ] - [üɥ]
    ̾MainMain⤵SubSub⤵
    D_F_SH903i240240120120
    N903i480480120120
    P903i240240120120
    SO903i240368120120
    • Sub̤̾異ץǻȤʤΤ120x120ߡꤷޤ
    • ̾Τ˥ޤEclipse¦ɽΤǡD_F_SH903iפȤƤޤ
  5. Eclipse¦DoJa-5.0Υ󥹥ȡ
    [Window] - [Preferences](Eclipseܸ첽ƤȤ[ɥ] - [])DoJa-5.0 Environment򤷡ippli DevelopmentKit for DoJa-5.0Υ󥹥ȡפˡC:\Develop\docomo\doja50פ
  6. ippliTool 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.4Standard VMJRE homeˡC:\Program Files (x86)\Java\j2re1.4.2_19פ
      ԤʤȡjarǤƤ⥨ߥ졼ưƤλޤ
    • Package Explorersrcե򱦥å[New] - [class]
    • Name˥ᥤȤʤ륯饹̾MainʤɡˤϤSuperclassˡIApplicationפϤ[Finish]
    • import com.nttdocomo.ui.*;
      
      public class Main extends IApplication {
      	public void start() {
      		Display.setCurrent(new HelloCanvas());
      	}
      }
    • Package Explorersrcե򱦥å[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);
      	}
      }
  2. ADF
    • Package ExplorerǥץȤΥե򤷡[Project] - [DoJa-5.0(S)] - [ADF/ȥ饹ƥåư]
    • AppName˹ʥץ̾HelloWorldʤɡˤѴʸꤷAppClass˥ᥤ󥯥饹̾Main
  3. ӥ
    • [Project] - [Build Project]ǥӥ
  4. ߥ졼Ǽ¹
    • [Run] - [Run Configurations] - [DoJa-5.0ץꥱ]New_configurationʤɤͤ
      ץHelloWorldʤɥץ̾
      üdevice1ʤɥߥ졼Ȥü̾
      ư̾ﵯư
    • [Run]

̿͡ԤϡΤ褦꤬ɬפǤ