upload, publish of widget-app fails

Hello,

I wrote a small widget which writes a small random text (wisdom) on the screen (150 wisdoms are availible). I want to publish this widget-app for free. But your upload script does not accept my zip-File with sources and compiled prg.

Can you help?

Kai
  • In Eclipse, under Connect IQ, is "Export Application Package". That creates a ".iq" file that has the manifest file and the proper .prg file for each device you support. It's also a non-debug version of the .prg's and the files are much smaller. Then when you are asked for the .zip file when you submit, actually use the ".iq" file (it's actually in .zip format).
  • Thank you for the Information about iq-File and zip-Format. Unfortendly I dont use Eclipse. Is there a way to do this with a command line tool in the sdk-package? Wich files have to be in the iq-File?

    Kai
  • Command line - MSDOS? Windows?
    See the readme

    Top of head

    Monkeyc -e -o /bin/progname.iq -m manifest.xml -z resource/*.xml source/*.xml
  • No, that would compile the program into file named progname.iq which is not correct. The .iq file is a bundle of .prg files and a manifest file for several different devices. It looks like you need to build .prg files for each device that you expect to support, then invoke connectiqpkg passing the appropriate arguments (including paths to the .prg files). This thread may be of help.

    As mentioned above, Eclipse takes care of all of this for you; it isn't a great piece of software, but it does do the job.

    Travis
  • Huh? I tot the OP wanted to publish the app. Then he should need the iq file right?
  • hm... that posts says the same thing as what I typed.

    what did i miss?
  • Former Member
    Former Member over 10 years ago
    Monkeyc -e -o /bin/progname.iq -m manifest.xml -z resource/*.xml source/*.xml


    The -e option tells the compiler you're creating an app package and will call the package tool for you. This command should work. If you use the -e option you have to specify a .iq file as the output (as opposed to a .prg file).
  • That's what I've been using for some time now.
    But, the prg file that gets created - the launcher icon looks bad compared to the iq file that gets uploaded to the Garmin App Store.
  • Thank you for your detailed help. I did load this Eclipse-Tool (150 MB) and it generated a small iq-File which was accepted from the upload page. After writing the Widget-description an error happens:

    Sorry, this page is currently unavailable.
    Please try again later.

    I will try it later :)

    Thanks Kai
  • The -e option tells the compiler you're creating an app package and will call the package tool for you. This command should work. If you use the -e option you have to specify a .iq file as the output (as opposed to a .prg file).


    Sorry, I didn't check before opening my fat mouth. The last time I used the command line, I don't think there was a -e flag.