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

    Trouble setting up GTFSOffline (Android app I installed with Anbox)

    Scheduled Pinned Locked Moved Support
    3 Posts 2 Posters 218 Views 1 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.
      • M Offline
        MarkG_108
        last edited by

        Hello. I installed GTFSOffline via Anbox. It works fine, except I cannot copy the database of the transit feed, that it relies upon, in the path where it should go to.

        The readme says that the database file should go "to the /sdcard/Android/data/com.wbrenna.gtfsoffline/files/ folder of the Android device."

        But, when I checked with the Ubuntu Touch file manager, I was unable to access or even find any similar folder. And none of the folders named "data" seem accessible.

        When I try to find it with the terminal (using the locate command), I get the following result:

        phablet@ubuntu-phablet:~$ locate com.wbrenna.gtfsoffline/files
        /home/phablet/anbox-data/data/media/0/Android/data/com.wbrenna.gtfsoffline/files
        /home/phablet/anbox-data/rootfs/data/media/0/Android/data/com.wbrenna.gtfsoffline/files
        userdata/user-data/phablet/anbox-data/data/media/0/Android/data/com.wbrenna.gtfsoffline/files
        

        When I try to access these locations, I'm told "Folder not accessible. Can not access userdata." (or "Can not access data").

        Is there a way to fix this?

        Also, when I open the preferences dialogue in the app, I notice I cannot return to the main window. Where is the back button in Ubuntu Touch?

        1 Reply Last reply Reply Quote 0
        • M Offline
          MarkG_108
          last edited by

          Okay, I did manage to get the app to see the GTFS database. I used the terminal to copy it:

          phablet@ubuntu-phablet:~/Downloads$ sudo cp toOct12.db /home/phablet/anbox-data/data/media/0/Android/data/com.wbrenna.gtfsoffline/files/
          

          I originally tried it without sudo, but that didn't work. I'm not sure if the app is working yet, given its reliance on GPS. I'll have to test it outside tomorrow.

          I'm still wondering where the back button is in Ubuntu Touch.

          1 Reply Last reply Reply Quote 0
          • N Offline
            normandc
            last edited by

            Unfortunately, as far as I know GPS doesn't work with Anbox.

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