Selecting fenix3_sim on mac

Former Member
Former Member
How do you get the simulator to run in fenix3_sim mode? I can't figure out how to do that.
  • You have to modify the project properties to indicate the fenix3 is a supported device. Then you have to create (or modify) a run configuration for that device.

    That should get you started. I'm going to bed for the night. If you're still stuck when I get up, I'll past mere detailed instructions when I get up.
  • Former Member
    Former Member over 10 years ago
    The base project I've been playing with is from this repo:
    https://github.com/phatboyg/DigitAll

    The manifest.xml has this entry in it:

    <iq : products>
    <iq : product id="fenix3"/>
    </iq : products>

    My simulator runscript is just this:
    #!/bin/sh

    monkeydo bin/alld.prg

    build script is this:
    #!/bin/sh

    monkeyc -o bin/alld.prg -m manifest.xml -z resources/resources.xml:resources/layouts/layout.xml source/DigitAllApp.mc source/DigitAllView.mc
  • Is there some reason you aren't using eclipse to build/run the project? Creating an eclipse project is not difficult and makes this much simpler

    If you insist on using the command line, you need to pass the name of the device to the compiler and simulator. This means adding -d fenix3 to the monkeyc invocation, and the device name to monkeydo as below. I haven't written bash in a while so the changes might not work, but the idea is right.

    #!/bin/sh

    # default device if fenix3
    device=fenix3
    if [ ! -z $1 ]
    then
    device=$1
    fi

    monkeyc -o bin/alld.prg -d ${device} -m manifest.xml -z resources/resources.xml:resources/layouts/layout.xml source/DigitAllApp.mc source/DigitAllView.mc


    #!/bin/sh

    # default device if fenix3
    device=fenix3
    if [ ! -z $1 ]
    then
    device=$1
    fi

    monkeydo bin/alld.prg ${device}