Android auto for OsmAnd is a paid feature either through subscription or one-time purchase. Has anyone tried it and do you think its worth it?

  • laenurd@lemmy.lemist.de
    link
    fedilink
    arrow-up
    5
    ·
    10 months ago

    Somewhat off-topic: those who are just looking for a decent navigation app based on OSM with a much smoother rendering than OSMAnd, try “Organic Maps”, it’s amazing.

  • noddy@beehaw.org
    link
    fedilink
    arrow-up
    3
    ·
    10 months ago

    Have you tried the “OsmAnd~” version on fdroid? I think that one is basically the full version without a paywall. You could try yourself if you find it worth it, and buy the official app if you want to support the project.

    • heyfrancis@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      10 months ago

      Yeah that’s what im using from fdroid but Android auto is not available unless i subscribed or pay for the app. Wondering hows the app for people who already used it.

      • alphafalcon@feddit.de
        link
        fedilink
        arrow-up
        3
        ·
        10 months ago

        The problem is that android auto is restricted to apps installed from the play store.

        The F-Droid Version supports Android Auto, but it’s blocked by Google.

        I managed to enable it by spoofing the installer-package during installation.

        For me, the navigation is near unusable. Location tends to lag behind by a few seconds when running on Android Auto. On my phone it’s fine.

        • heyfrancis@lemmy.mlOP
          link
          fedilink
          arrow-up
          2
          ·
          10 months ago

          I managed to enable it by spoofing the instaler-package during installation.

          How to do this?

          • alphafalcon@feddit.de
            link
            fedilink
            arrow-up
            2
            ·
            10 months ago

            I built a custom app to do it since I couldn’t manage to fire the relevant intents from an adb shell without root.

            I lifted the code from AAAD

            Specifically the InstallAPK method in MainActivity.java

            Intent intent;
            
                        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
                            intent = new Intent(Intent.ACTION_INSTALL_PACKAGE);
                            intent.setData(getUri(file));
                            intent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_ACTIVITY_NEW_TASK);
                        } else {
                            intent = new Intent(Intent.ACTION_VIEW);
                            intent.setDataAndTypeAndNormalize(Uri.fromFile(file), "application/vnd.android.package-archive");
                            intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
                        }
            
                        intent.putExtra(Intent.EXTRA_NOT_UNKNOWN_SOURCE, true);
                        intent.putExtra(Intent.EXTRA_INSTALLER_PACKAGE_NAME, "com.android.vending");
                        getApplicationContext().startActivity(intent);
                    } 
            
            

            Basically you construct an Intent ACTION_INSTALL_PACKAGE with data pointing to the APK file and the extras EXTRA_NOT_UNKNOWN_SOURCE=true and EXTRA_INSTALLER_PACKAGE_NAME="com.android.vending" which tells the installer that this APK is not sideloaded and it’s the play store asking to install it.

            You might still need to enable unknown sources in Android Auto developer settings (separate from phone developer settings).

            If I remember, I’ll try to pull the code for my app from my PC and post it.

  • BestBouclettes@jlai.lu
    link
    fedilink
    arrow-up
    2
    ·
    10 months ago

    I use it for foot navigation on hikes or to find things not on Google maps, like park benches or public toilets. Works like a charm. Never really used it for car navigation though, as it doesn’t work on Android auto. It’s very worth it in my opinion.

    • jrandomhacker@beehaw.org
      link
      fedilink
      arrow-up
      1
      ·
      10 months ago

      it doesn’t work on Android Auto

      This may be dependent on your car/Android version? I’ve started using OsmAnd with Android Auto on my 2019 Subaru Outback and it works quite well.

        • zakomo@beehaw.org
          link
          fedilink
          arrow-up
          4
          ·
          10 months ago

          the paid version is still Free and Open source. In this case free stands for Free as in Free speech and not as in Free beer.

          Also none of the Free or Open source licences prevent you to sell the compiled software. Hell, most of the Open source licences don’t even prevent you to close the source code (Mozilla, MIT, etc.) it’s only the GPL and a few others that mandate that the source code must be made available on request…

          • rah@feddit.uk
            link
            fedilink
            arrow-up
            1
            ·
            10 months ago

            the paid version is still Free and Open source

            As I understand it, the paid version is not free and open source. For example, it includes a weather plugin which is non-free.

            • zakomo@beehaw.org
              link
              fedilink
              arrow-up
              2
              ·
              10 months ago

              I cannot find any resources other than: OsmAnd is GPLv2, the API is MIT. I cannot find anything about the plugins, but that would only mean that the plugins are a mix of open and closed source, though the app itself is still open source.

              standing to their documentation they have an exception to the GPLv2 for the Google Play app to be able (my guess here) to better process payments and such.

              So to my admittedly poor understanding:

              OsmAnd -> open source
              OsmAnd on Google Play -> closed source but compiled from the FOSS code
              Plugins -> YMMV depending on the plugin

              Yet because OsmAnd and it’s API itself are FOSS I would argue that this is still the right community for the OP question. :)