• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  1. Home
  2. magdesign
  3. Posts
Offline
  • Profile
  • Following 0
  • Followers 1
  • Topics 16
  • Posts 90
  • Groups 0

Posts

Recent Best Controversial
  • RE: Bicycle Navigation App Development (HELP needed)

    @applee

    Thank you very much for your support !!

    I was able to mount the docker image with:

    docker run -it clickable/amd64-16.04-arm64:16.04.5 bash
    

    But suddenly I realised that libqt5remoteobjects5 is not available on xenial 16.04, nor on the xenial-backports universe and manually installing from ports.ubuntu.com results in an error.

    So I guess here is the end. I seriously have to think about switching OS after 5 years Ubports... 😞

    posted in App Development
    M
    magdesign
    9 Jul 2022, 08:32
  • No space left on device

    OTA-23
    Oneplus6

    Trying to compile a navigation app on my phone (since I failed with using clickable), but whe installing all dependencies via apt-get, I get the error:

    No space left on device
    

    What is the most elegant/simplest way to make the partition bigger?

    (searched this forum, but the stuff I found did not resize the partition)

    Any help very welcome!

    posted in Support
    M
    magdesign
    7 Jul 2022, 21:54
  • RE: Bicycle Navigation App Development (HELP needed)

    @kugiigi
    thanks for the hint.
    so i started the approach to directly compile on the phone, but there i am stuck much simpler problems:

    No space left on device
    
    posted in App Development
    M
    magdesign
    6 Jul 2022, 06:32
  • RE: Bicycle Navigation App Development (HELP needed)

    ok, I got a bit further, content of my clickable.yaml looks like:

    clickable_minimum_required: 7.1.2
    builder: cmake
    build_args:
    - B build
    - DBUILD_DEVICE_MOBILE=ON 
    - DCMAKE_C_COMPILER=/usr/bin/clang 
    - DCMAKE_CXX_COMPILER=/usr/bin/clang++ .
    
    dependencies_host:
    
    - git
    - clang
    - libomp-dev
    
    dependencies_target:
    
    - qtdeclarative5-dev
    - libqt5svg5-dev
    - qtquickcontrols2-5-dev
    - libqt5sensors5-dev
    - qtmultimedia5-dev
    - libqt5remoteobjects5-dev
    - qtpositioning5-dev
    
    kill: osmin
    

    now I have following error:

    E: Unable to locate package libqt5remoteobjects5-dev:amd64
    The command '/bin/sh -c apt-get update && apt-get install -y --force-yes --no-install-recommends git clang libomp-dev qtdeclarative5-dev:amd64 libqt5svg5-dev:amd64 qtquickcontrols2-5-dev:amd64 libqt5sensors5-dev:amd64 qtmultimedia5-dev:amd64 libqt5remoteobjects5-dev:amd64 qtpositioning5-dev:amd64 && apt-get clean' returned a non-zero code: 100
    Command exited with non-zero exit status 100, see above for details. This is most likely not a problem with Clickable.
    

    How can I provide the missing package, its installed on my system when I do

    sudo apt-get install libqt5remoteobjects5-dev
    

    I get:

    libqt5remoteobjects5-dev is already the newest version (5.12.8-0ubuntu1).
    

    Any help very welcome!!!

    posted in App Development
    M
    magdesign
    5 Jul 2022, 20:43
  • RE: Bicycle Navigation App Development (HELP needed)

    @magdesign

    So I installed clickable on my computer and
    created a new project with:

    clickable create
    

    then I copied the whole git library from:
    https://github.com/janbar/osmin
    into the clickable created folder.

    from terminal I executed:

    git submodule init
    git submodule update
    mkdir build
    

    Now I want to build the app for ubports, but I have no idea how.
    The normal command would be:

    cmake -B build -DBUILD_DEVICE_MOBILE=ON -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ .
    

    followed by:

    cmake --build build/ -j8
    

    I tried with:

    clickable
    

    but getting following error:

    Could not find a package configuration file provided by "Qt5RemoteObjects"
      with any of the following names:
    
        Qt5RemoteObjectsConfig.cmake
        qt5remoteobjects-config.cmake
    
      Add the installation prefix of "Qt5RemoteObjects" to CMAKE_PREFIX_PATH or
      set "Qt5RemoteObjects_DIR" to a directory containing one of the above
      files.  If "Qt5RemoteObjects" provides a separate development package or
      SDK, be sure it has been installed.
    

    libqt5remoteobjects5-dev and libqt5remoteobjects5-bin are installed.
    Can someone please help me on this !!
    I guess its something with https://docs.ubports.com/en/latest/appdev/guides/dependencies.html,
    so I need to modify the clickable.yaml, but what would I need to add??

    posted in App Development
    M
    magdesign
    24 May 2022, 10:17
  • RE: Bicycle Navigation App Development (HELP needed)

    @spctrl Thanks.

    The nice thing about OSMIN is:

    • works 100% offline
    • has all the desired overlays built in
    • has a GPS tracker
    • can load GPS tracks
    • builds on linux phones
    posted in App Development
    M
    magdesign
    2 May 2022, 11:14
  • RE: Bicycle Navigation App Development (HELP needed)

    I found a great app which is compatible with Linux/Unix systems:

    https://github.com/janbar/osmin

    Tried to compile on UBPorts, but stuff is complicated with Clickable and Libertine, gave up after a few hours... it compiles nice on pinephone.

    if you are into copiling on UBports, please try out Osmin.

    posted in App Development
    M
    magdesign
    1 May 2022, 20:38
  • RE: uAdBlock is back again

    Great to hear to its alive again, thanks to everyone!

    @mihael
    a workaround is to use UBdious

    posted in App Development
    M
    magdesign
    24 Apr 2022, 15:01
  • RE: Cellular Roaming not working at all

    @stanwood

    Thanks for your info!

    This helps me a lot, I will completely erase my phone and try again for roaming,
    and hopefully mark this issue as solved..... if its not an OP6 issue...

    posted in Oneplus 6/6T
    M
    magdesign
    20 Apr 2022, 06:45
  • RE: GPS Help Request

    @dtarrant

    I own a OP6 device and figured out that I only get location data when a SIM is inserted and I do have mobile data. To get the position, in Battery settings => Lock when idle => After 10 Minutes,
    leave the navigation app open, check after 9 Minutes, touch the screen so it gets another 10 Minutes until it has the position. When display turns off, it somehow does not search for location anymore.... maybe this info helps you.

    posted in Lenovo Tab M10 X605F/L
    M
    magdesign
    18 Apr 2022, 10:46
  • RE: Cellular Roaming not working at all

    @MrT10001 : I am on OTA-22 stable, did not try on RC since there was no Roaming/Internet 😉

    @Keneda : Totally agree with you. But as you see in the screenshot, wifi is disabled.

    No one else having Roaming issues with the OP6 ?

    posted in Oneplus 6/6T
    M
    magdesign
    18 Apr 2022, 10:38
  • RE: OSM Scout Server: offline maps

    @applee
    convergence: plugging in a screen, mouse and keyboard and use it like a computer.

    pure maps works great indeed. but convergence does not, the nexus is not powerful enough...

    posted in App Development
    M
    magdesign
    17 Apr 2022, 19:26
  • RE: Cellular Roaming not working at all

    @mrt10001
    Finally tested on SIM Slot 1,
    same issue, roaming is not working.

    screenshot20220416_101058979.png

    So, as soon as I am close to a border, there is no more internet and no more location data, which sucks a bit 😉

    posted in Oneplus 6/6T
    M
    magdesign
    17 Apr 2022, 19:24
  • RE: OSM Scout Server: offline maps

    @rvan
    Convergence never worked on my Nexus5, so don't be sure to get convergence on any device running under Ubports...

    posted in App Development
    M
    magdesign
    13 Apr 2022, 13:05
  • RE: Why uAdBlock currently no longer works

    @beli3ver : thank you for all the effort over the years.

    @domubpkm: does this mean we could share hosts files to do adblocking?

    Maybe we should check out if we somehow can manage to use tblock on ubports devices.

    posted in App Development
    M
    magdesign
    27 Mar 2022, 09:26
  • RE: Bicycle Navigation App Development (HELP needed)

    @emphrath arm64 might be the case 👍

    @everyone:
    I have no idea of C, more a sysadmin + bash + python artist and like to write documentations. If some of you has the time to explain, I am willing to learn the basic of how to fix/extend this apps.

    @costales: Should we work on uNav then?

    Overlaying waterdrops from OSM and all kind of sustainable things like farmer shops, mundraub locations, weekly market places, shelters....

    maybe even a simple contribute button the push a location of drinking water.

    posted in App Development
    M
    magdesign
    2 Mar 2022, 09:29
  • RE: Bicycle Navigation App Development (HELP needed)

    @cibersheep
    Sure!

    https://open-store.io/app/navigator.costales

    is the one I am currently using (together with PureMaps).
    Missing several simple stuff like:

    • setting start-, way- and endpoints with a finger
    • seeing the height profile of the tour
    • seeing more OSM data like where to get water, grillplaces, refuge
    • importing + exporting gpx
    • using 100% offline

    https://open-store.io/app/biketrack.quitejonny

    does not seem to be available anymore or at least on my device...

    posted in App Development
    M
    magdesign
    1 Mar 2022, 18:12
  • Bicycle Navigation App Development (HELP needed)

    Recently I found this very useful bicycle navigation app called brouter.
    While they have an online web version* without GPS support, I am wondering how hard it is to create a working app for UBports.

    The whole thing is based on java and I was able to compile the brouter-1.6.3-all.jar file and run it via terminal.
    Since I have no idea (yet) in clickable and java development I am kindly asking here for support and to spread again the idea of a cycling/walking navigation system, since organicmaps does not seem the way to go.

    Picture left: brouter-web calculating the track
    Picture right: puremaps imported the created track for routing

    screenshot_maps.jpg

    • the web version is hard to zoom in Morph browser, works with Onion browser but there is the lack of downloading a GPX track due to ro filesystem.
    posted in App Development
    M
    magdesign
    1 Mar 2022, 11:28
  • RE: does pygame run on ubuntu touch

    @amy
    I was able to install it with:

    sudo apt-get install python-pygame
    

    and then tried to run a simple pygame, resulted in:

    Fatal Python error: (pygame parachute) Segmentation Fault
    Aborted
    

    So why not test it yourself?

    posted in App Development
    M
    magdesign
    27 Feb 2022, 19:35
  • RE: Bluetooth Not Working with Sony Headphones on OP6T

    @bielsnohr

    Just checked on my OP6 with OTA-22:
    I am able to connect to Bluetooth headphones (MusicMan BT-X42) and listen to music.
    Make sure that in

    /etc/bluetooth/main.conf
    

    the last line says:

    AutoEnable=true
    

    About bluetoothctl, its sometimes a bitch, but you can try:

    sudo bluetoothctl
    

    then you get a inside the terminal something like:

    [bluetooth]#
    

    there you enter, always followed by an 'enter':

    power on
    agent on
    default-agent
    scan on
    

    wait a moment... until you see $yourheadphones device.
    You first need to trust your headphones:

    trust $yourheadphones
    

    then when its trusted, you should be able to pair:

    pair $yourheadphones
    

    and finally connect:

    connect $yourheadphones
    

    Not sure if you have to turn scan off or not:

    scan off
    

    Hope that helped... I did not test this procedure on my phone, but on a rpi 😉

    posted in Oneplus 6/6T
    M
    magdesign
    22 Feb 2022, 07:48