Giter Site home page Giter Site logo

Comments (6)

Stimim avatar Stimim commented on May 24, 2024

Found something interesting:

<a href="intent://scan/#Intent;scheme=zxing;package=com.google.zxing.client.android;end"> Take a QR code </a>

https://developer.chrome.com/multidevice/android/intents

Maybe we can set the package to google chrome?

from 2019-ncov.

Stimim avatar Stimim commented on May 24, 2024

hmm, href="intent://www.google.com/maps/timeline/kml?authuser=0&pb=!1m8!1m3!1i2020!2i2!3i3!2m3!1i2020!2i2!3i3#Intent;scheme=https;package=com.android.chrome;end" seems working, but this only works on Android phone.
I don't think iPhone support this :D
On my phone, chrome browser was used directly, Android didn't ask me which App to use.
Let me try to make the change.

from 2019-ncov.

Stimim avatar Stimim commented on May 24, 2024

Can't make it work... opening one URL is fine, but can't open multiple urls, the browser would only download the first one. You can check the ToT of master branch.

from 2019-ncov.

yjlou avatar yjlou commented on May 24, 2024

We can do this hack for Android only. Will try later today. Thanks.

from 2019-ncov.

highoak avatar highoak commented on May 24, 2024

Did you implement this hack?

from 2019-ncov.

Stimim avatar Stimim commented on May 24, 2024

We did, but that didn't work.
Google Chrome on did open all the intent request in new tabs. However, only the first one got downloaded.
Therefore we rollback to previous implementation.

from 2019-ncov.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.