Android location tracking - android

I'm a beginner in android development. I need some idea about how can I make an app which can track a phone's live location. I want to use the same app on 2 devices and both of them should be able to track each other. Can someone please help?

the good starting point is https://developer.android.com/training/location where you can find examples and best practices. Depending on your application please consider a suitable strategy (background tracking, geofencing, and impact on the battery). The second thing you have to solve is how to exchange/share information between devices. There are ways how to deal with it. For example, google API, web socket or something else. Sorry for the general answer.

Related

Is there any solution to detect modified app using flutter?

I am pretty much curious to know If there is any solution to detect whether the app is modified by the user or not? I am using flutter for development. Cause nowadays I can see people are trying to modify apk files according to their needs. So I am confused about the spike for reverse engineers. If you people can give me a good suggestion to detect the app is modified by that particular user.
I will be thankful if you give effort to find a better solution for this issue.

Tracking screen time in android

for a university project I have to track the screen time of an android smartphone. It's hard to find proper search results, because my search engines do only suggest apps, that already do this for you. I am interested in how these apps do this. I assume, there is a native API on android which supports you with this. Unfortunately, I can't find anything that already does this.
The app is supposed to run a little service which tracks the time of the screen activity and other stuff (like location). It would be great, if someone of you can help me out on where to look for examples and where to find information about the android API.
Edit:
To be a bit more precise: It's about the overall screen time, not about the screen time a specific app has.
Broadcast Actions might be a solution for this,
ACTION_SCREEN_ON
ACTION_SCREEN_OFF
https://developer.android.com/reference/android/content/Intent.html#ACTION_SCREEN_ON
https://developer.android.com/reference/android/content/Intent.html#ACTION_SCREEN_OFF

Android App with HTML/CSS/jQuery. [How] Can it be done?

I know this has been asked before (did not find a straight forward answer) but can I (Or how can I) create and Android App using CSS/HTML/Jquery ?
I will not need to hook into native functions, such as the accelerometer, camera, or even the Toast Messages...I only need to create an app to show a list of names and some details when name is selected, therefore I don't know if it's worth learning to make my life more complicated for something like this.
PS: I need the app to work offline, otherwise I would have just made it with jQuery Mobile and uploaded it on a server.
UPDATE AFTER GETTING DOWNVOTED
Ok, so I get downvotes for this question, probably because it's been asked before, or maybe not, since he/she didn't take the time to write a reason...
Anyway, my point is: I did googled it and searched, but at this moment there are a lot of ads of websites and web apps that will help you do this BUT are they reliable, safe..do they really do the trick or it comes with bugs? That is why I asked the question, to see who used what and what was their experience with it. So yeah, you can downvote me for not trusting every ad and not taking the time to try out everything out there!
Well you can use https://software.intel.com/en-us/html5/tools to develop cross-platform apps. I used it to develop too. It is quite good but it only has one major issue: you can't use php. It also enables you to do on-device testing.

interaction between apps

Hi everyone i am doing Mphil in computer science...i came across that interoperability amoung mobile apps is difficult to achieve...........so i am going to try answer this question in my mphil dessertation.....so thought to make some ground works.....it would be a honor if u guys help me achieving it.....
is it possible for different apps on the same device to interact?
are there any existing ways to do this?if so what are they?
is this commonly done in industry?
if so what are the overheads involved?
has this been tried by anyone before?
Sure you can by using Bound Services and Android Interface Definition Language (AIDL).
Bound Services
One of the method is to use BroadcastReceiver at both ends to exchange information. It is a commonly used technique to share date between applications.
Using Content Providers may be another option for you to consider.
As far as I know, these two are the simplest way of sharing data among apps.

How can I find a user's walking speed using GPS?

I want to find the walking speed of a person using GPS. Is this possible? If so, how?
Are you looking for a way to code that in an android app, or just an app that will do that for you?
Ican't help with code, but if it's the second one, here's a link to one. There are dozens, though. Look through the health section of the Android market. Any run timer or cyclometer will generally do.
Be aware that android is less consistently compatible with user generated apps, that some other ap markets, so make sure that whatever you use will work with your device befre you download it.

Categories

Resources