this post was submitted on 18 Jul 2023
45 points (100.0% liked)

Ask Lemmy

26778 readers
1279 users here now

A Fediverse community for open-ended, thought provoking questions

Please don't post about US Politics. If you need to do this, try !politicaldiscussion@lemmy.world


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 1 year ago
MODERATORS
 

I need too build one for school, I figure this would be a way to brainstorm

you are viewing a single comment's thread
view the rest of the comments
[–] TheHobbyist@lemmy.zip 11 points 1 year ago* (last edited 1 year ago) (2 children)

What about an app which lists all visible WiFi networks and as you walk around, it tries to triangulate the source? It will fail in some cases due to reflections and obstacles, but when in line of sight or with few obstacles, could be a fun and interactive app.

You would need to familiarize yourself with the networking api on your phone, retrieve signal SSIDs to distinguish them, then retrieve signal strength, then estimate your own position (either precise location estimated by your phone or estimate it yourself using accelerometer and gyroscope and integrate over the retrieved data points to know how far you moved in each direction). Not sure what familiarity level you are at with any of this but the maths involved are all things I learned in school.

You could easily show how well it works by having another phone act as a temporary hotspot and see whether you can show an arrow towards it and possibly estimate distance.

Edit: estimating distance will be tricky, because you would need to know/estimate the signal emission power and that is probably different for all kinds of routers, some are even dynamic. But identifying the direction of the source is very much doable.

[–] venusenvy47@lemm.ee 7 points 1 year ago* (last edited 1 year ago) (1 children)

If that's your dumbest idea, you are undervalued wherever you work. That sounds like a pretty interesting idea.

[–] TheHobbyist@lemmy.zip 3 points 1 year ago

I thought it would be more engaging to propose a simple yet interactive app =] glad you like it. Joy in programming drives learning and motivation.

Interesting idea, and honestly sounds fun. I was planning on using react native, so I’ll check expos network api