UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Web App generator

    Scheduled Pinned Locked Moved App Development
    30 Posts 14 Posters 10.8k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • J Offline
        jamesp @Vehi_MV
        last edited by

        @Vehi_MV said in Web App generator:

        @Bastos
        It is a script and you can download it from here:
        https://github.com/Winael/ubuntu/blob/master/ubuntuphone/webapps/Reboot/alternate-webapp-generator.zip

        It uses a config.cfg file, which is included in the zip.
        You just have to put your webapps info in config file and run the script.

        Someone should make one simple gui web app creator of this. Script is not very user friendly.

        Tried to use ubuntu sdk, but it crashes all the time and couldn't transfer web app to device due to unknown error. Is sdk functionality broken with ubports version?

        1 Reply Last reply Reply Quote 0
        • T Offline
          tomoqv
          last edited by

          +1

          I haven't yet managed to get a working environment on my Ubuntu 16.10 system for compiling click apps. I used to have it working with the Ubuntu SDK, but that was a while ago. I tried to install clickable from the instructions in the wiki, but got stuck on some errors that I didn't manage to resolve.

          1 Reply Last reply Reply Quote 0
          • Vehi_MVV Offline
            Vehi_MV
            last edited by

            The webpage that Cannonical had was ok, so if there is someone that can replicate their page, It would be great.
            At this moment, I am verry happy, that at least this script exists, so we have a possibility to easily generate webapps.

            1 Reply Last reply Reply Quote 0
            • BastosB Offline
              Bastos
              last edited by Bastos

              So first time I tried the webabb generator πŸ™‚
              Unfortunately without access 😞

              Can maybe someone tell me what I have done wrong:

              1. I downloaded and unzipped https://github.com/Winael/ubuntu/blob/master/ubuntuphone/webapps/Reboot/alternate-webapp-generator.zip to my ubuntu 16.04 desktop

              2. I made the alternate-webapp-generator.sh file executable

              3. I edited the config.cfg

                # config.cfg
                export namespace="BastosNamespace"
                export app_name="xxAppname"
                export app_title="xxAppTitle"
                export app_url="http://xx.de"
                export app_description="A webapp client for xx.de."
                export app_UA="Mozilla/5.0 (Linux; Android 5.0; Nexus 5) AppleWebkit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.102 Mobile Safari/537.36"
                export app_version="0.1"
                export maintainer_name="xxx"
                export maintainer_email="xxx@gallehr.de"
                export icon_path="/home/xxx/xxx.png"
                
              4. In terminal I cd to the right folder and run . alternate-webapp-generator.sh

              5. Everything went with success, I get a .click file created

              6. I copied the .click file to my phone

              7. With UT Tweak Tool I installed the .click with sucess

              BUT unfortunately the webapp doesnt show up at my apps even not after restart.

              1 Reply Last reply Reply Quote 0
              • Vehi_MVV Offline
                Vehi_MV
                last edited by

                Hi.

                Just a stupid question. From what I see from your dummy config file.
                Are you sure icon_path is OK? Maybe you forgot the username after /home/ ?

                BastosB 1 Reply Last reply Reply Quote 0
                • BastosB Offline
                  Bastos @Vehi_MV
                  last edited by

                  @Vehi_MV said in Web App generator:

                  Maybe you forgot the username after /home/

                  Thanks. Yes you are right, i used the dummy xxx also for path. I correct it...

                  1 Reply Last reply Reply Quote 0
                  • BastosB Offline
                    Bastos
                    last edited by

                    Thanks to @Vehi_MV here is the solution https://forums.ubports.com/topic/469/webapp-generator-clicks-to-get-installed-in-the-phone

                    1 Reply Last reply Reply Quote -1
                    • A Offline
                      Alexisme
                      last edited by

                      Here there is a new solution !
                      https://open.uappexplorer.com/app/webapp-creator.jujuyeh

                      Thank you for this app !

                      BenTenLolB 1 Reply Last reply Reply Quote 1
                      • BenTenLolB Offline
                        BenTenLol @Alexisme
                        last edited by

                        @Alexisme Nice work πŸ˜‰

                        Nexus 5, Meizu MX4 Ubuntu Edition, Asus TF701T, Asus TF700T, BQ M10 FHD

                        A 1 Reply Last reply Reply Quote 0
                        • A Offline
                          Alexisme @BenTenLol
                          last edited by

                          @BenTenLol It's not me that have done the app ! You have to thank Joan CiberSheep and Paul Hodgetts!!!

                          1 Reply Last reply Reply Quote 2
                          • L Offline
                            Locamama
                            last edited by

                            FRENCH
                            0_1502791334864_screenshot20170815_115225875.png Bonjour Γ  tous,
                            J'ai essayé "webcam creator" pour créer "20ln France" mais l'icon n'affiche pas la photo 😭
                            Did you mean: Bonjour à tous, J'ai essayé "webcam creator" pour créer "20 ln France" mais l'icon n'affiche pas la photo 😭

                            ENGLISH
                            Hello everyone,
                            I tried "webcam creator" to create "20ln France" but the icon does not show the picture 😭

                            0_1502791467121_screenshot20170815_115225875.png

                            J 1 Reply Last reply Reply Quote 0
                            • J Offline
                              Jujuyeh @Locamama
                              last edited by

                              @Locamama Hi! Did you select a PNG or SVG Icon?

                              L 1 Reply Last reply Reply Quote 0
                              • L Offline
                                Locamama @Jujuyeh
                                last edited by

                                @Jujuyeh
                                Je selectionne jpeg
                                I select jpeg

                                J 1 Reply Last reply Reply Quote 0
                                • J Offline
                                  Jujuyeh @Locamama
                                  last edited by

                                  @Locamama JPG files are not supported, try converting the image to PNG or use another PNG or SVG file that fits with your WebApp

                                  1 Reply Last reply Reply Quote 0
                                  • L Offline
                                    Locamama
                                    last edited by

                                    FRENCH
                                    Merci beaucoup pour l'aide, en fait c'Γ©tait bien marquΓ© 😜. J'ai fait trois essais et totπŸ‘πŸ‘πŸΌπŸ‘πŸ½πŸ‘πŸΎπŸ‘πŸΏ

                                    ENGLISH
                                    Thank you very much for the help, in fact it was well marked 😜. I did three tries and everything worksπŸ‘πŸ‘πŸΌπŸ‘πŸ½πŸ‘πŸΎπŸ‘πŸΏ

                                    1 Reply Last reply Reply Quote 0
                                    • H Offline
                                      hladke
                                      last edited by

                                      Does this webapp generators support CSS and JS injection?

                                      1 Reply Last reply Reply Quote 0
                                      • BastosB Offline
                                        Bastos
                                        last edited by

                                        Hy together again.
                                        The alternate-webapp-generator.sh worked really good for me for 15.04 issues. What do you think, will this also work for 16.04?

                                        1 Reply Last reply Reply Quote 1
                                        • ? Offline
                                          A Former User @flohack
                                          last edited by

                                          @Flohack Is there an app/webapp for Γ–BB? Lg von Tirol!

                                          LakotaubpL 1 Reply Last reply Reply Quote 0
                                          • LakotaubpL Offline
                                            Lakotaubp @Guest
                                            last edited by

                                            @C0n57an71n Please don't respond to very old threads with a new request. This one is nearly 2 years old. You are far better asking a new question in the appropriate forum section, probably Support in this case.
                                            Also just ask the question don't ask for a specific person to answer, unless you are responding to something they specifically posted. I am going to lock this thread now .Thanks.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post