Code Monkey home page Code Monkey logo

Comments (4)

fm-sys avatar fm-sys commented on May 23, 2024

I didn't even know that using a mobile hotspot is possible with https://snapdrop.net/ at all. There's an API to check if tethering is enabled. If so, Snapdrop should pass the WiFi check, with additional information that the device uses mobile data (for set up the connection) and might not work on every device...

https://stackoverflow.com/a/20432036/13513639

from snapdrop-android.

crok avatar crok commented on May 23, 2024

I didn't even know that using a mobile hotspot is possible with https://snapdrop.net/ at all. There's an API to check if tethering is enabled. If so, Snapdrop should pass the WiFi check, with additional information that the device uses mobile data (for set up the connection) and might not work on every device...

I think you didn't get the situation and the problem.
Imagine two phones with no router or AP involved, like you are in a picnic in the forest with your loved ones and you took some pictures you want to share with the others.
Device "A" activates WIFI hotspot, device "B" connects to this hotspot - so both are having a kind of WLAN (and actual IP) connectivity to the other.. no Internet involved, just the hotspot (phone "A" has no mobile network access, but it doesn't even matter).
So the two phones' owners are trying to share files via Snapdrop.. but the one that actually the hotspot AP reports that there's no WLAN connection at all so Snapdrop doesn't even start (although the other one says everything is fine since it has a WLAN connection to an AP, does not matter whether it is a hotspot or an infrastucture AP connection).
So, this is the problem.. in this scenario (tested) Snapdrop does not pass the Wifi check and you can't use the Snapdrop app like a "WIFI direct share" app even though technically the networking between the phones is actually totally available (and for example a simple HTTP, WebDAV or FTP, SCP, SFTP, etc.. service could easily run between them). I guess this is what @mubashir-rehman is trying to say. Edit: and I would really love to see this feature in Snapdrop, too!

from snapdrop-android.

mubashir-rehman avatar mubashir-rehman commented on May 23, 2024

@crok thanks a lot for explaining it well. I usually use https://github.com/trebleshot/android but it doesn't support Apple devices and has slow development because of many reasons. Snap drop is versatile, but the only problem is dependence on snap drop server for validating devices.

from snapdrop-android.

fm-sys avatar fm-sys commented on May 23, 2024

See #48 (comment). There I posted a screenshot, how the first solution will look like. Feel free to suggest better ideas...

from snapdrop-android.

Related Issues (20)

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.