User Attendence app - android

Guys i have requirment and im confused. User's staffs have smart phones. Now he wants to develop an attendance app.
Requirment is when a staff mark his attendance via his mobile app he should
be presented in the office premise. we need to prevent his marking attendance when he is out of the office.
I was thinking about ibeacon. but its not feasible. i thought to check if staff connected office wifi. But User was telling staff can access the wifi even from the road. Is it possible to use gps Proximity for this kind of validation?
User is requesting to do a research if there is any other way to achieve this, only via the technologies reside in the phone.
ideas welcome. (please dont tell to use finger print. this a research. finger print is alternate solution.)

Few Solutions:
1] Store the co-ordinates of the office in and database. So when staff checks in for Attendance on the app. Locate its co-ordinates, match them, if same then enaaaaabe him to attend.
2] When app launches check for the location, if office then proceed further.
3] When staff punches in for attendance, launch a samera task to grab a selfie. See to that no gallery access. Tag the photo with time and location

One of the best solution is to use Mobile phone as a Beacon Broadcaster. It gives best solution. We need Bluetooth LTE Supporting devices for this.

Related

accessing to an online service

I am struggling with a technical/functional issue and I would appreciate your views on how to tackle this.
I have a service hosted (web app) and my clients can access to this service either using their own devices (IOS or android) or the devices made available in my premises (as an example let's assume it is a shop in a mall).
Clients may access to the service using either a wifi network we do not control (IP may change) or their 4G connection
The business is asking
1 - ONLY give access to the service when the customer is in our premises.
2 - No sign in should be asked to the customer to identify the customer while accessing the service
the Question : how to identify the device as being in my shop to allow the access to the service
Any question is more than welcome
You can use geolocation for this purposes.
Just add all the coordinates of point of sales into your backend and ask user to give geo permissions for your app/website.
However, there is drawback, geo could could be easily spoofed and GPS may be not precise enough to meet business requirements (like users will be able to access your app at the parking lot of the mall etc).
I like the idea with geolocation, you can track when a user enters/exits specific region.
If your mall has permanent Wifi's name then you can check is the user connected to this then you will know he/she is in mall (I use this technique in one of my app).
Use beacons, place some beacons in your place then track them (you need background mode permission to track it while app is in background)

How does this works. Triangulation to find a phone

The thing is a teacher of mine showed us an application that can show the location of a phone (within 1 - 2 km I think) just using the phone number, I asked him how was that possible and he said it uses triangulation to do that.
I'm just curious about it, it is really possible, I'm learning android programming and that sounds awesome, so I'm really interested in it. I really would like to know how it works.
I'm not a native English speaker. If you don't understand something you can ask me.
What you describe is not possible, except in specialized situations, such as:
The phone number in question is for some landline or other fixed-location phone, in some country where the location can be inferred from some digits of the number. For example, in the United States, you used to have a good idea where the phone was located based on area code and "exchange" (next three digits after the area code). In general, I would not expect this to give you "within 1 - 2 km" results, and it would not involve triangulation.
The user of the phone with the phone number is running some app on that phone that reports the phone's location to some server, and the app that your teacher ran is querying that server to find the location given a phone number. How the app on the user's phone determines its location would vary (GPS, cell tower triangulation, etc.). This approach has serious privacy implications, particularly if the user of the phone does not know that this app is publishing their location.
Your teacher has hacked into some system run by the mobile carrier, to query one of its servers that might have this location. If so, your teacher might get arrested, as this is illegal in some jurisdictions.
In general, it is not possible to find the location of a phone, given its number, for blindingly obvious privacy reasons.

referential location with android (non gps, non cell tower , non wifi)

My intention is to track a mobile device with respect to another mobile device or wifi.
i am looking for some pointers to proceed on building a location tracking system something that does not depend in gps for location tracking instead.
A possible set of approaches might be.
user can click on "start" button on mobile which will be the origin and then start tracking the position w.r.t that origin tracking the direction changes.
A tracking system that depends on Wifi or another mobile device to locate itself
Is it possible for android device to know distance between them , if yes is it possible to know the direction as well?
I would like to get this done on android device , is this possible? i have given lot of search before posting this, so please help me.
Wifi localisation is possible with sensor fusion (still in research for better accuracy).
There are many papers available on this topic in net
http://www.cs.stanford.edu/people/dstavens/icra11/huang_etal_icra11.pdf
http://personal.stevens.edu/~ychen6/mobi248_liu.pdf
http://www.ri.cmu.edu/pub_files/2011/8/RobustIndoorLocalizationTech2011.pdf

Android to PC communication

I am working on a project to guide blind students. I am using WiFi Tags and android mobile.
WiFi tags are placed on the wall and android is carried by blind student. The student's time table, shortest path algorithm to reach specific lecture hall is loaded onto HOST.
Whenever android mobiles comes in vicinity of any Wifi tag, it receives the beacons from WiFi Tag. In order to achieve this, android has to scan all the wifi devices every 3 sec(say).So, the android has to forward the WiFi tag id (mac address), android mac id, Received Signal Strength to the HOST. So, how should I do this? What are the different applications to be loaded onto the android mobile? How should the scanning be done?
Once HOST receives the data from android, it will determine the shortest path in accordance to algorithm and has to send back instruction (say direction - Go Left) to android. So, how can we do this? Since the student is visually impaired, the incoming msg should be audio.
Please let me know how to achieve this? I am new to android.
Thanks
Shaban
Nice Idea ! Stick with Wifi tags, as NFC wont be a ideal solution !
Have you thought of the problems?Each school will have a different arcitecture, how do you plan to counter that?
As far as audio signals are concerned, u could use TTS(Text To Speech) converter to convert the recieved text into audio.!
Coming to wifi tags part, you could use something like this:
A student runs the app and the app in turn sends a particular msg/request thus making the wifi tags recognise that a student needs directions, then u could go on to improve it by student telling the phone where/which class to go to and the wifi tags/server calculates the path and then u could guide the student by using Navigation! Have a look at the documentation for Navigation app from google !
Also if you need my help let me know :)

Android: Connect two phones wirelessly?

I'm interested in fleshing out an idea for a Android phone app, and I'm wondering if this is possible. So I would have the app running in the background on Phone A, then when it finds another Android phone B, it saves certain information like time, GPS location, just state variables.
But if the other phone is also running the same app, the two phones connect and share trivial non-private information.
Hypothetically, would this be possible? Would I go through a local ad-hoc Wi-Fi connection, or constantly broadcast Bluetooth?
If both people have the same app, you could do it in a round about way. If two people installed the app on their phone and agreed to have their gps coordinates shared, you could upload both sets of gps coordinates to a server as the people move around. The server could then compare which people are close to each other. When the user wants to share information with another user, the phone just needs to ask the server who is in their vicinity and sharing could be done over the internet. This is essentially how Bump works. Bumping two phones together triggers a call to the server to see who else is bumping in that vicinity at the same time. After phones close by are discovered, you might be able to trigger bluetooth pairing and sharing if you don't want to share over the internet.
Bluetooth is the easiest way for two phones to communicate directly with each other. However, both phones would have to be paired through the Settings->Wireless->Bluetooth menu. You would experience better range and speed with WiFi, but this requires a router as far as I know.
I found out how this can be done, use the viewranger app on both phones, create a user and log into the app on both phones. I set this up with myself as the user. Then the second phone (the one with broken gps) is used to track the user who is in my back pocket.
The user in both cases is me.
The problem with this is that a phone signal is required.

Categories

Resources