React-Native Geolocation of other devices - android

I know React-Native has support for Geolocation, but what I need is for people to see my geolocation. Like they download the app and see where my phone is. Not theirs - mine. Pretty much an app that shows where I am and where people can find me. Is that possible?
Edit: I need this to be realtime. So a person can download my app and watch my every step.

It depends on your usecase.
case 1)
You want to keep track of your own location within the same App. Then react-native shouldn't be your choice. You would need to update your location even in background mode, but this is currently not possible.
case 2)
You track your own location with a native app/or something else and you use react-native just to allow people to "follow you". Then react-native would be sufficient. You just need to send your current location from a server to your mobile app. Inside your react-native app you then need to display your current position. Therefore you could use react-native-maps

Related

any google assistant command that can use inbuilt option in another android app e.g. 'send live location via whatsapp to <contact>'

sending live location via whatsapp to a particular contact(or default contact) especially while driving would be a great way to ensure safety during night time or in bad weather.
The possibilities for such applications are endless but it could simplify our lives for the better in more ways than we can imagine.
Let me know what you think and ideas for implementing the same are also welcome.
I've tried to creat 'flows' through android automation apps but my knowledge is limited at this point and i'm looking for guidance

Cordova - Track when apps open and move to background

I'm doing a research project looking at app usage, habitual use and addition. I'm programming an app using HTML5, CSS3, and jQuery and need a Cordova plugin that can identify when other apps are being used (i.e. open an app, move to the background, foreground, close an app). All this app needs to do is track how much users open apps and how long they use them.
We will recruit users to willingly participate in this study and only inform our research participants about the data we are tracking and how it's being used.
I know that the app I'm working on needs to be open and running in the background to be able to collect this data and I've already found Cordova plugins to prevent the app from going to sleep. I'm also considering battery usage as well.
There are parental monitoring apps that do this already and collect way more data that we need so I know it's possible. If anybody can point me in the right direction and help I would greatly appreciate it!

Web App vs iOS App - Geo Location Considerations

I am working on developing my first app. Essentially, I am trying to create a roadmap at this point and I am having difficulty figuring out what path is the best. I need users to be able to login with either their gmail account or their facebook account. Once they log in, I need permission to access their location, pictures, name, age and interests (facebook).
Would it be wiser to develop this app for iOS and Android separately or because it is a web app, I can make it compatible with both android and iOS devices and develop it with something like jquery mobile? The location part of the application is key. I was planning on using HTML5/JavaScript Geo to look up the users current location. Will this suffice? Or do most applications use the native OS geo location tools?
Essentially the end goal is to develop a downloadable app for both iOS and Android. Which asks the users for permissions to access their friends list, location services, name, age etc. Once access is given, the user stays logged in until they manually log out. I appreciate any guidance in this regard. I am trying to avoid spending a lot of time on developing a big project on the wrong path and I appreciate any suggestions.
Thanks in advance
The answer, of course, is it depends. HTML5 geolocation works fine if you just need the location. If you want to track someone accurately (for example a running app or a driving app) and need frequent updates then you want native. If you want your location updates to function when the app is minimized then you want native. Also, HTML5 may not work on older phones and older browsers, whereas native is guaranteed to work if they are able to open your app. But at this point, most phones will work fine.
Your third option is to split the difference if you don't want to build/support multiple native apps (or don't want to learn multiple languages). There are plenty of frameworks (e.g. PhoneGap, Cordova, etc) to allow you to build native apps (which access native geolocation) using web technologies like HTML5 and Javascript which function on all (major) OS platforms.

Building Mobile Apps out of HTML5, with motion tracking?

This is an open question and I was really hoping for advice...
I am planning on creating a mobile app which will track your steps and distance (based on GPS), while sitting in your pocket.
I was planning to make the app out of html5 as I know you can calcualte the motion of the device using this
So, I am really asking if people think this is possible on HTML5?
Thanks
Assuming you know JavaScript, you should be able to accomplish this with PhoneGap's Geolocation object.
Appcelerator has Titanium.Geolocation as well.
If you plan to do it with HTML5 and PhoneGap is probably your best option. But you'll still need to program a background service* in order to handle tracking the location while the app isn't actively in use.
It sounds like the real work will need to be done in Java either way so I think you should just make a regular Android application. But as I said PhoneGap is still an option for the interface if that's what you really want.
* The background service will still need to be done with Android API's. Which would then need to be hooked into PhoneGap. It might just be simpler to make a native app.

Intranet deployment for Android apps

Could someone give me some advice on how I can deploy the Android app remotely?
Things to take note are:
1).No access to android market (it will run on intranet)
2).About 300 devices
3).I don't want the user to do many steps to update the app.
If there is no easy way to do the deployment, I can do it manually(probably down load from Intranet website and manually run it) for the first time but for the subsequent updates, is there a way to update the application by itself?
I don't think there's anything in the standard device to do this; the Android Market client doesn't provide that kind of flexibility. You can certainly download and install .apk files through the browser (provided the server is offering them up with the right MIME type), but that doesn't solve your update problem.
The only approach I can think of is what Amazon did: write your own app management app. It could also run as a service that would periodically check for updates (or, better, receive push notifications of updates) and download and install them in the background. It's a lot of work, but probably fairly straightforward to do.

Categories

Resources