Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

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

    Support
    2
    3
    73
    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
      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
        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
          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