UBports Robot Logo UBports Forum
    • 版面
    • 最新
    • 標籤
    • 熱門
    • 使用者
    • 群組
    • 搜尋
    • 註冊
    • 登入

    Web App generator

    已排程 已置頂 已鎖定 已移動 App Development
    30 貼文 14 Posters 10.8k 瀏覽 4 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
      回覆
      • 在新貼文中回覆
      登入後回覆
      此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
      • Vehi_MVV 離線
        Vehi_MV
        最後由 編輯

        Looks like canonical shut down their web app generator page.
        https://developer.ubuntu.com/webapp-generator

        Does any one know of some other easy way of simply creating click packages from web pages?

        1 條回覆 最後回覆 回覆 引用 0
        • F 離線
          fmulcar
          最後由 編輯

          In order that to continue with the webapps?
          It is something absurd having the explorer.
          It is to fill the shop of garbage, is my opinion.
          You have alternate-webapp-generator, great option.

          1 條回覆 最後回覆 回覆 引用 2
          • Vehi_MVV 離線
            Vehi_MV
            最後由 編輯

            Thank you.
            Alternate-webapp-generator works great.

            I do agree with you that webapps on appstore are garbage.
            I use my webapps to connect to my raspberry-pi and webcam.

            BastosB flohackF 2 條回覆 最後回覆 回覆 引用 -1
            • BastosB 離線
              Bastos @Vehi_MV
              最後由 編輯

              @Vehi_MV said in Web App generator:

              Alternate-webapp-generator works great.

              What and where is this? I can't find it in the web. Or do you mean the alternate-webapp-container

              Vehi_MVV 1 條回覆 最後回覆 回覆 引用 1
              • Vehi_MVV 離線
                Vehi_MV @Bastos
                最後由 編輯

                @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.

                J 1 條回覆 最後回覆 回覆 引用 2
                • flohackF 離線
                  flohack @Vehi_MV
                  最後由 編輯

                  @Vehi_MV Dont say this, I made a webapp for a local public transport realtime monitor and its really useful xD

                  BR

                  My languages: 🇦🇹 🇩🇪 🇬🇧 🇺🇸

                  Vehi_MVV BastosB 2 條回覆 最後回覆 回覆 引用 0
                  • Vehi_MVV 離線
                    Vehi_MV @flohack
                    最後由 編輯

                    @Flohack
                    I didn't mean they are not usefull, they are very usefull, but to very limited number of people.
                    And there are alot of such webapps, so it's really hard to find webaps that are usefull for me.
                    That is why the webapp-generator is a thing that is nice to have. 😉

                    MV

                    1 條回覆 最後回覆 回覆 引用 0
                    • BastosB 離線
                      Bastos @flohack
                      最後由 編輯

                      @Flohack realtime monitoring public transport! that is great. One of the few things fahrplan app is not able to. Is this webapp also due for germany? If yes, can you provide it?

                      flohackF 1 條回覆 最後回覆 回覆 引用 0
                      • flohackF 離線
                        flohack @Bastos
                        最後由 編輯

                        @Bastos No sorry, its done only for the Vienna public transport system 🙂

                        BR

                        My languages: 🇦🇹 🇩🇪 🇬🇧 🇺🇸

                        ? 1 條回覆 最後回覆 回覆 引用 0
                        • A 離線
                          Alexisme
                          最後由 編輯

                          I agree on your points!
                          For web-apps in the store, I totally agree that there are too much and only few users use them (even if they can be really useful!!!)

                          For the alternate-webapp-generator it's better than nothing, but what canonical did was really a wonderful idea!!! Because I'm not a developer and I don't even know how to run a script 😉
                          That's why I have two questions:
                          Would it be possible to do something as canonical did, i.e. a server were you insert a link and you can download a .click?
                          Or a better solution: would it be possible to have a web-app generator on the phone, i.e. an app where you insert a link and it generates an app directly in the phone?

                          Because I think that web-apps are "useless" in the store (even if I could install your app, I'm in Vienna too ;)), so I think there has to be found a solution even for this one day, and a web-app generator could help !

                          What do you think about it?

                          1 條回覆 最後回覆 回覆 引用 1
                          • A 離線
                            Aurze
                            最後由 編輯

                            It will be great if you could "generate" web app from the browser on your UT. It will be kinda like bookmark on steroids.

                            1 條回覆 最後回覆 回覆 引用 5
                            • J 離線
                              jamesp @Vehi_MV
                              最後由 編輯

                              @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 條回覆 最後回覆 回覆 引用 0
                              • T 離線
                                tomoqv
                                最後由 編輯

                                +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 條回覆 最後回覆 回覆 引用 0
                                • Vehi_MVV 離線
                                  Vehi_MV
                                  最後由 編輯

                                  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 條回覆 最後回覆 回覆 引用 0
                                  • BastosB 離線
                                    Bastos
                                    最後由 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 條回覆 最後回覆 回覆 引用 0
                                    • Vehi_MVV 離線
                                      Vehi_MV
                                      最後由 編輯

                                      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 條回覆 最後回覆 回覆 引用 0
                                      • BastosB 離線
                                        Bastos @Vehi_MV
                                        最後由 編輯

                                        @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 條回覆 最後回覆 回覆 引用 0
                                        • BastosB 離線
                                          Bastos
                                          最後由 編輯

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

                                          1 條回覆 最後回覆 回覆 引用 -1
                                          • A 離線
                                            Alexisme
                                            最後由 編輯

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

                                            Thank you for this app !

                                            BenTenLolB 1 條回覆 最後回覆 回覆 引用 1
                                            • BenTenLolB 離線
                                              BenTenLol @Alexisme
                                              最後由 編輯

                                              @Alexisme Nice work 😉

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

                                              A 1 條回覆 最後回覆 回覆 引用 0
                                              • 第一個貼文
                                                最後的貼文