Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Technical Discussion
  3. Android deep links to app content

Android deep links to app content

Planlagt Fastgjort Låst Flyttet Technical Discussion
linksappsintegration
7 Indlæg 3 Posters 0 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • A This user is from outside of this forum
    A This user is from outside of this forum
    almino@activitypub.space
    wrote sidst redigeret af
    #1

    Can we agree to have a standard for app deep links on Android (and maybe in other OS’s)?

    I haven’t done my research on the topic, also I am not a mobile or Android developer. But I know there can be links that apps can open.

    https://developer.android.com/training/app-links/deep-linking

    Maybe every implementation of a GUI for the ActivityPub should have a “open in app” button that will prompt for any of the compatible apps installed on your device tô open that content.

    Example 1: I am in this Forum (activitypub.space) and I want to reply to this thread using my Mastodon account. I click the button “open in app” and chose moshidon@floss.social as the app. Then Moshidon shows me the original post on its UI and I can reply using my Mastodon account.

    Example 2: I’m browsing Lemmy on voyagerapp@mastodon.social and find a really interesting and funny meme I want to boost on Mastodon. I click the three dots (kebab) button and choose the option “open in another app…”. The OS (Android, mainly) prompts me which app I want to open with. Again, I choose Moshidon e boost it to my followers.

    It would be a very nice way to integrate these apps. The scheme protocol keyword could be “activitypub”.

    julian@community.nodebb.orgJ 1 Reply Last reply
    0
    • A almino@activitypub.space

      Can we agree to have a standard for app deep links on Android (and maybe in other OS’s)?

      I haven’t done my research on the topic, also I am not a mobile or Android developer. But I know there can be links that apps can open.

      https://developer.android.com/training/app-links/deep-linking

      Maybe every implementation of a GUI for the ActivityPub should have a “open in app” button that will prompt for any of the compatible apps installed on your device tô open that content.

      Example 1: I am in this Forum (activitypub.space) and I want to reply to this thread using my Mastodon account. I click the button “open in app” and chose moshidon@floss.social as the app. Then Moshidon shows me the original post on its UI and I can reply using my Mastodon account.

      Example 2: I’m browsing Lemmy on voyagerapp@mastodon.social and find a really interesting and funny meme I want to boost on Mastodon. I click the three dots (kebab) button and choose the option “open in another app…”. The OS (Android, mainly) prompts me which app I want to open with. Again, I choose Moshidon e boost it to my followers.

      It would be a very nice way to integrate these apps. The scheme protocol keyword could be “activitypub”.

      julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.org
      wrote sidst redigeret af
      #2

      I won’t pretend to be an expert on this matter.

      The crux of the problem is that these open in app associations are associated by domain… and that the fediverse is split across thousands of domains essentially makes it a non-starter.

      For example, take a look at NewPipe. This is the domain association popup.

      1000005268.png

      Yikes!

      Unfortunately I am also not an Android developer so I don’t have any clue what the solution would be!

      1 Reply Last reply
      0
      • julian@community.nodebb.orgJ This user is from outside of this forum
        julian@community.nodebb.orgJ This user is from outside of this forum
        julian@community.nodebb.org
        wrote sidst redigeret af
        #3

        That said…! benpate@mastodon.social has been working on something called Activity Intents (https://w3id.org/fep/3b86) that offloads this from the browser layer and onto the web apps themselves.

        It’s something that could function as a stopgap until such time that a better solution is found for app-based clients.

        1 Reply Last reply
        0
        • julian@community.nodebb.orgJ This user is from outside of this forum
          julian@community.nodebb.orgJ This user is from outside of this forum
          julian@community.nodebb.org
          wrote sidst redigeret af
          #4

          Another solution involves the standard OAuth2 login flow to authenticate a user, and then using the ActivityPub API (aka C2S) to perform actions on behalf of the remote user.

          I talked about this one a bit in my talk at FediCon.

          1 Reply Last reply
          0
          • evan@activitypub.spaceE This user is from outside of this forum
            evan@activitypub.spaceE This user is from outside of this forum
            evan@activitypub.space
            wrote sidst redigeret af
            #5

            At least for actors, we have the acct: URI scheme:

            https://en.wikipedia.org/wiki/Acct_URI_scheme

            I did a little work with using the scheme in a Web page.

            https://acct.swf.pub/

            I’d like to see more Fediverse apps registering themselves to handle the acct: URI scheme, so at least you could link to an actor with <a>Evan Prodromou</a> and go straight to a profile interface that you could interact with (follow, block, and so on).

            1 Reply Last reply
            0
            • evan@activitypub.spaceE This user is from outside of this forum
              evan@activitypub.spaceE This user is from outside of this forum
              evan@activitypub.space
              wrote sidst redigeret af
              #6

              Oh, here I am also. Seems like there’s a problem with the outbox collection in NodeBB, though.

              https://acct.swf.pub/?q=evan%40activitypub.space

              julian@community.nodebb.orgJ 1 Reply Last reply
              0
              • evan@activitypub.spaceE evan@activitypub.space

                Oh, here I am also. Seems like there’s a problem with the outbox collection in NodeBB, though.

                https://acct.swf.pub/?q=evan%40activitypub.space

                julian@community.nodebb.orgJ This user is from outside of this forum
                julian@community.nodebb.orgJ This user is from outside of this forum
                julian@community.nodebb.org
                wrote sidst redigeret af
                #7

                You’re right! NodeBB serves an outbox but doesn’t put anything in it.

                Happy to work towards rectifying it… It just didn’t seem to break anything and you’re honestly one of the first who even noticed 😳

                1 Reply Last reply
                0
                Svar
                • Svar som emne
                Login for at svare
                • Ældste til nyeste
                • Nyeste til ældste
                • Most Votes


                • Log ind

                • Har du ikke en konto? Tilmeld

                • Login or register to search.
                Powered by NodeBB Contributors
                Graciously hosted by data.coop
                • First post
                  Last post
                0
                • Hjem
                • Seneste
                • Etiketter
                • Populære
                • Verden
                • Bruger
                • Grupper