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

    Building Address Book app

    Scheduled Pinned Locked Moved App Development
    13 Posts 4 Posters 2.5k Views 2 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.
      • D Offline
        doniks @gb
        last edited by

        @gb said in Building Address Book app:

        Hi,

        I´m trying to build the address-book-app in my laptop

        directly on the machine or in some container? which os do you have on your laptop?

        I think you probably should try building it with clickable

        1 Reply Last reply Reply Quote 1
        • gbG Offline
          gb
          last edited by

          I tried it directly on my pc with Elementary OS 0.4.1 Loki (based on ubuntu 16.04)

          $uname -a
          Linux sumatra 4.4.0-131-generic #157-Ubuntu SMP Thu Jul 12 15:51:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux$ tree -L 1

          I am trying clickable instead. I created a new project with clickable init.
          The following is a list of the files that clickable generates:

          ../address-book-app
          ├── address-book-app.apparmor
          ├── address-book-app.desktop.in
          ├── assets
          ├── clickable.json
          ├── CMakeLists.txt
          ├── LICENSE
          ├── manifest.json.in
          ├── plugins
          ├── po
          ├── qml
          └── README.md

          And this is the clone from the previous address-book-app

          $ tree -L 1
          .
          ├── address-book-apparmor.json -> ./click/address-book-apparmor.json
          ├── build
          ├── click
          ├── clickable.json
          ├── cmake
          ├── CMakeLists.txt
          ├── cmake_uninstall.cmake.in
          ├── config.h.in
          ├── COPYING.CC
          ├── COPYING.GPL-3
          ├── data
          ├── debian
          ├── examples
          ├── Jenkinsfile
          ├── manifest.json -> ./click/manifest.json.in
          ├── po
          ├── README.md
          ├── setup
          ├── snapcraft.yaml
          ├── src
          └── tests

          What of this files are mandatory to build the?
          I understand that "src" and "po" should be copied.
          Anything else?

          Thanks 🙂

          D 1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User @gb
            last edited by

            A long time ago (!) I had the idea of a more intelligent contacts app - http://localhost/index.php/s/XyLj4MRpcL34cdD

            • where the person could choose who had what contact details
            • where changing one's own details changed them for everyone, so that your details were always correct, and
            • where you could set contact preferences depending on location or time...

            But I'm not a coder, so I only got as far as the Presentation! 😕

            If anyone would like to code it though, be my guest! 😉

            advocatuxA 1 Reply Last reply Reply Quote 0
            • advocatuxA Offline
              advocatux @Guest
              last edited by

              @3arn0wl you've posted a link to localhost 😉

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

                That's because I'm an idiot, @advocatux! 😉 (I thought I could share a file from Nexcloud as I could with Dropbox)

                advocatuxA 1 Reply Last reply Reply Quote 0
                • advocatuxA Offline
                  advocatux @Guest
                  last edited by

                  @3arn0wl you can share links with NextCloud if your server is publicly accessible and your user has the rights to do it

                  ? 2 Replies Last reply Reply Quote 0
                  • ? Offline
                    A Former User @advocatux
                    last edited by

                    That's very bad news then, @advocatux, because it means that I still haven't got my port-forwarding sorted out properly. Meh!

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      doniks @gb
                      last edited by doniks

                      @gb said in Building Address Book app:

                      I am trying clickable instead. I created a new project with clickable init.

                      No no. No need for clickable init. There is already a https://github.com/ubports/address-book-app/blob/master/clickable.json added by @NeoTheThird . All you should need to do is:

                      Connect with usb cable
                      git clone
                      clickable

                      This should build it, install it on your phone and run it. If your phone is on xenial, do clickable --sdk 16.04 instead.

                      If it's not clear, or you're not familiar with clickable yet, be sure to

                      • scan https://docs.ubports.com/en/latest/appdev/index.html
                      • read http://clickable.bhdouglass.com/en/latest/
                      • consider building your own hello world app with clickable init and play around a bit
                      1 Reply Last reply Reply Quote 1
                      • ? Offline
                        A Former User @advocatux
                        last edited by

                        I think I finally managed to sort out the port forwarding, @advocatux - woot woot.

                        So here was the idea I had (please let it work!) https://3arn0wl.hopto.org/index.php/s/xnNJPoDp25gqQ2N

                        advocatuxA 1 Reply Last reply Reply Quote 0
                        • advocatuxA Offline
                          advocatux @Guest
                          last edited by

                          @3arn0wl yep, it works \o/

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

                            🙂 Thanks for confirming that, @advocatux.

                            advocatuxA 1 Reply Last reply Reply Quote 1
                            • advocatuxA Offline
                              advocatux @Guest
                              last edited by

                              @3arn0wl btw if you don't have it already, it's good to have 2FA https://docs.nextcloud.com/server/14/user_manual/user_2fa.html

                              1 Reply Last reply Reply Quote 0

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              • First post
                                Last post