Can I test an app in my own device before submitting it?

Former Member
Former Member
Hi there,

I configured Eclipse and the simulator successfully, everything ok there. But I would like to test it on my device. So I can check if it consumes battery or it feels right with the menus and everything.

How can I do that? I tried to connect the device via USB and go to the apps folder but I couldn't find where would those *.iq files are stored.

Thanks!
  • What you'll do is "side load" (it talks about this in the programmer's guide.)

    You don't use a .iq file. You copy over a .prg file. In Eclipse, under the "Connect IQ" menu, use "Build for device", with <your usb drive>\garmin\apps as the destination.

    https://developer.garmin.com/connect-iq/programmers-guide/getting-started/
  • First build for device, it asks you where to put the file, locate the generated .prg file, connect your device to the pc, close Garmin Express if it autostarts, locate the folder garmin\apps and copy the generated .prg file to that folder. 

  • But the modern watches don't connect as usb drive

  • But the modern watches don't connect as usb drive

    Right, modern watches connect via MTP, as opposed to older watches which connected via USB Mass Storage. 

    In Windows you can access MTP devices via File Explorer. There are some limitations compared to USB Mass Storage, such as being unable to directly edit files on the device, but you're still able to copy files to and from the device.

    In Mac you can use 3rd party software such as OpenMTP to access MTP devices.

    It's still the case that you have to completely exit Garmin Express first (including closing the system tray icon).

    --

    Although MTP is much slower and more limited than mass storage, it does have the advantage that it's unnecessary to manually eject / safely remove the device before unplugging the cable, because file operations are atomic (either they succeed or they don't, so it's theoretically impossible to corrupt the storage via a half-finished operation or to copy a file halfway.)