So I want to create a website for internal company use that allows a user to fill in a survey on a mobile device and upon submitting the survey, their GPS location is also submitted.
Is this possible to do? If so can anyone recommend the software to do it?
Assuming that you are using a Android App from your tag. You would want to pull the GPS location through a single update. Pass that to the webview through the URL parameters and then pass those along through the form submit.
If you are using just a webpage opened by a mobile browser on a phone I would suggest looking into HTML5 which has some handy resources. This however will only work on the more modren browsers and is not a 100% pinpoint location.
http://www.w3schools.com/html/html5_geolocation.asp
Related
I have never used Google store before to publish an app and I hope someone will advice me how can I manage the following problem.
I am implemnting an Android app to display the bus location in my city in Google maps view based on Crowd sourcing. The data (lat, long, mac, speed, time, etc.) is being recorded in the background and transmitted to the server. The MAC address is used as identifier for the requester at the server side and I am storing it in the database tables as long as the background tracking service runs.
To use the app, the user has to agree this term when installing the app.
my question: Can I manage this work with google store for example in the Full description area or some where els to get this confirmation from the users or I have to implement the installation process by myself?
There are a lot of users who don't usually read the description, so it's not good to paste the terms in there.
The best way is to show the terms on the first launch of the application.
The scenario is, a user is visiting my webpage, click the download button to download my apk package (on Android) or go to App Store (on iOS). Then install the app and open it.
What I want to do is, when the user visits my webpage, I store some data to somewhere, and when the app is installed and opened, it can somehow read the the data (so the custom url scheme doesn't work in this situation).
For example, the user is reading an article on my webpage and then he finds out that we have an native app. So he downloads the app and installs it. We hope that when he opens the app, it could automatically display the article he was just reading. Therefore, the native app needs to know the article id from the webpage.
Now I can think of two solutions to do this but have some difficulty to overcome:
When the user visits my webpage, I copy the data to system clipboard using document.execCommand('copy') and then in my app, I acquire the data from system clipboard. While, as you may know, this API are badly supported on mobile browsers due to security reasons.
Use remote server as media. Webpage sends data to the server and app fetches it. But the data is device sensitive, and I can't think of what can be used as a unique identifier for a device. Because all webpage can obtain is some navigator.userAgent information.
So, is there someone that can help me out here and find a perfect way to send the data from webpage to native app. I would be very grateful!
I think the best option you have is to :
-Store the data in a table
-Create a php page that will do the query to get the data
-Do a http query from you android/ios app to this php page, you've your data !
Is it possible to create android app to find map location using Mobile Number. As soon as the mobile number is entered the app prompts the user of that mobile number to allow access for finding his location.
If yes please suggest the possible ways of creating apps.
Thanks in advance
You can't get exact location from mobile number, because it is subject to mobile security that harm the government policy.
But you can get state name from mobile number, as i have seen on website so that using a web service and some another way we can access that data. Just check out this link.
What kind of access you can ask from just a mobile number? Ofcourse you can make a call to user's mobile by asking him/her for that, and then further more you can ask user to speak his/her location which you can parse at your end. Other than this I am not able imagine any permission. Also as #milind pointed out, you can guess few things like network provider and area from the mobile number, as they are allocated in a pattern. There are few vendors who provide this API as a service, one of them is Mobile Number Tracker.
You know there are internet providers that require log in though a website. Most common examples are the coffee shops, or airport points, or hotels.
It's ok for your laptop because you can use a browser and you are done, but what if you wanted to use your android apps in your phone? how you set the auth data to them?
does anybody knows an app which will allow me to do that? e.g. set the needed auth to let the rest of the apps run without a problem.. I'm thinking of a proxy but not sure if it is what i need here..
thanks!
The way those authentication points work is that most traffic through the access point are dropped until the user opens their browser. The browser's HTTP request is ignored and the gateway page is displayed instead, and once the user accepts the terms of service, or pays, or whatever, the packet filter is disabled for your device.
This means that an app that's authenticated to the hotspot can run any kind of application over the network without the application being aware of the hotspot's specific security model. However, it does mean that you'd need to put a browser in your app and use some fairly fuzzy logic to determine when to show it.
Most of the time, the user will know when he or she is using this type of provider and will know to login through the android browser first.
I'm trying to create a web filter app that will intercept an incoming website(one that is being browsed to) and redirect it's data to my app. Then it will compare the site to certain criteria and display it if it passes.
Basically, I want to turn my app into a proxy of sorts. How might I go about doing this?
You would have to build your own browser. Use a simple webview and build the functionality you want around it.