Simulator not working correctly - buttons inactive

Former Member
Former Member
hi,

I am usingEclipse IDE for Java Developers on windows 8 64
Version: Luna Service Release 2 (4.4.2)
Build id: 20150219-0600

and downloaded the Connect IQ SDK 1.1.1 released on Apr 21, 2015.

I got the firstApp running but the buttons in the simulator does not work.
I subsequently tried to run the different samples provided with the SDK and get the following(see at end) ....the simulator runs but with the previous run config I setup(so not the sample app I loaded).
Even after removing the previous project(firstApp) and the new(Keyboard) setup 'run config', it still keeps running the previous firstApp I did. I tried cleaning the project. Restarting Eclipse. Re- installing. I have checked and the file "Keyboard.prg" does exist in the mentioned folder. Seems like bytecode or something.

Can someone thread some light onto this please? :o - really wanna get coding!! :-D

Found Transport: tcp
Connecting...
Connecting to device...
Device Version 0.1.0
Device id 1 name "A garmin device"
Shell Version 0.1.0
Could not open file: C:\*****left out by me******\Connect%20IQ%20SDK\connectiq-sdk-win-1.1.0\samples\Keyboard\bin\Keyboard.prg Error: 2
Connection Finished
Closing shell and port
Found Transport: tcp
Connecting...
Connecting to device...
Device Version 0.1.0
Device id 1 name "A garmin device"
Shell Version 0.1.0
Hello Monkey C!
  • I believe the issue is related to the spaces in the path to the SDK/samples directory. Try remove the spaces or move your SDK to a new location that does not have spaces in the path.
  • Former Member
    Former Member over 10 years ago
    I believe the issue is related to the spaces in the path to the SDK/samples directory. Try remove the spaces or move your SDK to a new location that does not have spaces in the path.


    You are 100% correct thanks! :-D
    All is working as expected now.
    I assume then it is an eclipse issue based on Java.
  • Out of curiosity....my simulator does not respond to button presses when displaying a watchface. Is that correct behaviour, or can I assume mine is also broken because of something like the path?
  • Former Member
    Former Member over 10 years ago
    I assume then it is an eclipse issue based on Java.


    It has to do with how paths are handled within the plug-in. We have some work in place to handle spaces but it's not 100% there just yet.
  • Former Member
    Former Member over 10 years ago
    Out of curiosity....my simulator does not respond to button presses when displaying a watchface. Is that correct behaviour, or can I assume mine is also broken because of something like the path?


    Watch faces cannot receive any input. If you're able to run the app on the simulator then you aren't having any problems with spaces in your path.