How to begin developing Add-ons?

  1. 2 years ago

    Bryan D

    1 Feb 2018 Pre-Release Testers, Xojo Pro

    I need to develop a add-on that will display ePubs as I have NO budget for development due to being an independent developer.

    I can not find ANY documentation on how to do this, not even bundled with Xojo itself!

    Suggestions?

  2. Jean-Yves P

    1 Feb 2018 Pre-Release Testers, Xojo Pro Europe (France, Besançon)

    why a plugin ? pretty sure you can do it with a canvas.

  3. Bryan D

    1 Feb 2018 Pre-Release Testers, Xojo Pro
    Edited 2 years ago

    Because ePubs are ZIP files under the hood and therefore need to be extracted first and my attempts to convert the C source code of Info-Zip's Unzip to rb have not been successful so far.

  4. Tim P

    1 Feb 2018 Pre-Release Testers Rochester, NY

    I google'd "xojo zip" and the first result was Thom's library (which is exactly what I was looking for): http://www.tempel.org/RB/ZipPackage

  5. Bryan D

    1 Feb 2018 Pre-Release Testers, Xojo Pro

    Using the MUCH easier ZipFolderItem class REQUIRES a $35 license and, as mentioned up front, I have no budget.

  6. Maurizio R

    1 Feb 2018 Pre-Release Testers, Xojo Pro

    Hi Bryan,
    I don't know what your knowledge are.
    If you are skilled in C you can use any free development environment to develop Xojo plugin or external dll.
    In the "Extras\PluginSDK" directory installed with Xojo you can find documentation and some basic plugin examples.

    I prefer to use and develop dll, not Xojo plugins: this let me use many other facilities not available in the Xojo framework.

  7. Tim P

    1 Feb 2018 Pre-Release Testers Rochester, NY

    @Bryan D Using the MUCH easier ZipFolderItem class REQUIRES a $35 license and, as mentioned up front, I have no budget.

    I'm pretty sure you can extract without using the ZipFolderItem or license-required functions.

  8. Markus W

    1 Feb 2018 Pre-Release Testers #JeSuisHuman New Zealand, Auc...

    @Bryan D Using the MUCH easier ZipFolderItem class REQUIRES a $35 license and, as mentioned up front, I have no budget.

    Ah. You want to use free solutions and NOT have to put in any effort. You should have said, then I could simply have ignored this thread.

    Note: the other‘s are VERY helpful. I on the other hand have far less patience because in my book there‘s a fine line between being useful and being used.

  9. Bryan D

    1 Feb 2018 Pre-Release Testers, Xojo Pro

    I need my app to run on Mac, Win, and (ideally) iOS. So an add-on/plugin is my only option.

    I don't mind putting in a little effort, but his plugin lacks iOS support as well.

  10. Maurizio R

    1 Feb 2018 Pre-Release Testers, Xojo Pro

    I don't want to discourage you but aren't you starting with a bigger than usual goal?
    A free epub reader already exists for these platforms.

  11. Maurizio R

    1 Feb 2018 Pre-Release Testers, Xojo Pro

    ... and also open source...

  12. Jason P

    1 Feb 2018 Xojo Inc Texas

    FWIW, there's no plugin support on iOS.

  13. Andrew L

    1 Feb 2018 San Francisco, CA, USA

    There's nothing wrong with free software. Heck, most of the paid zip-compression solutions for Xojo are based on a free and open source library, zlib.

    (And considering how expensive Xojo is, it's odd that something as basic, useful, and x-plat friendly as zip support isn't built-in.)

    In any case, a plugin or paid solution is not required. Here's an open-souce Xojo/zlib wrapper that supports extracting/listing zip archives.

  14. Phillip Z

    1 Feb 2018 Pre-Release Testers, Xojo Pro Florence, SC

    @Andrew L (And considering how expensive Xojo is, it's odd that something as basic, useful, and x-plat friendly as zip support isn't built-in.)

    The RAD needs to be a main focus in 2018 IMO.

  15. Jean-Yves P

    1 Feb 2018 Pre-Release Testers, Xojo Pro Europe (France, Besançon)

    @Bryan D Because ePubs are ZIP files under the hood and therefore need to be extracted first and my attempts to convert the C source code of Info-Zip's Unzip to rb have not been successful so far.

    Excel xlsx files are also zip files, and I read them without any plugin.
    you can call command lines unzip on the mac, on windows an OLEobject, on iOS I don't know
    but as there are no plugin on iOS, going with xojo native is easier than a plugin IMHO.

    see more here : https://forum.xojo.com/conversation/post/346415

  16. Tim P

    1 Feb 2018 Pre-Release Testers Rochester, NY

    I would start with a reachable goal. Use one of the linked solutions in this thread to get Mac and Windows running first. Once you have Mac and Windows running you can consider the amount of work that it will take to get ZIP on iOS working, and plan your next steps.

  17. Jeff T

    1 Feb 2018 Pre-Release Testers Midlands of England, Europe

    Version 2 isnt $35 , its 'donationware' if I recall.

    http://files.tempel.org/RB/TTsZipPackage-older-versions/

    But even $35 is nothing if it saves you 2 hours work.

    I have NO budget for development due to being an independent developer.

    So is Thomas.

or Sign Up to reply!