Side Loading Questions

Hi,

Sorry, just need to get some understanding straight in my head - as I am getting confused.

My understanding is:
- If you side load an App, which isn't previously installed (as a release), on a device it's filename remains as the one built - e.g. MyApp.PRG. Therefore the Log Text File needs to be MyApp.TXT - Correct?
- If you side load an App, which is previously installed (as a release), on a device it's filename is renamed when you disconnect to it's unique store ID - e.g. AA999999.PRG. Therefore the Log Text File needs to be AA999999.TXT - Correct?

So
- How do you determine the unique ID, for creating the Logging Text File?
- When you finishing debugging, should you delete the PRG (if it's using the unique ID), or can you 'reinstall' the store version over the top?

Basically, I am testing a debug build of a live store App on a device, but don't know which PRG it is, or how I can restore back to the store version!

Thanks
Chris
  • Here's what I do: If I have something sideloaded, I uninstall/delete it before installing a store version, and if I have a store version, I uninstall/delete it before installing a sideload.

    So sideloads are always "myprg.prg", and store versions are always the 8 char "store name".prg

    So creating the log for sideloads is always simple. for the store version, you might be able to just look and see when the .prg was installed and/or the size, and get the name for the log. If I'm not sure which store loaded .prg is which, I actually use "notepad". Open the .prg with notepad and search for ".mc" You'll find the name of one of your source files near the beginning of the file.
  • Thanks Jim.

    I guess if I uninstall or reinstall (from the Store) it will delete the bug version?

    Cheers
    Chris
  • You can delete both sideload and store versions using GCM or GE. Debug vs release is set in "Build for Device" in Eclipse. Store versions (compiled when the .iq is created) are always release versions.