Skip to main content

All Questions

1 vote
1 answer
148 views

Find Current Location using Background Service on Android studio in java

I want to get the current location and show it on my maps activity. I have succeeded doing that but I have to move the part of the code that I use to find the current location to a background service ...
Nafsika's user avatar
  • 47
0 votes
1 answer
201 views

Android Studio BackgroundService run whole time without user interaction?

I am having the problem that I want to have a BackgroundService in Android Studio which every few minuten runs and checks if a JSON File is changed. My question is how to let the service run the whole ...
Tentaquod's user avatar
0 votes
1 answer
964 views

Creating background (foreground?) service that counts time and updating ui throughout whole application life (like in endomondo)

I want to make stopwatch like in endomondo. When we launch application, it should count time and update textView in main activity (actually it is a fragment). I did background service (like here)but ...
Mate's user avatar
  • 192
0 votes
1 answer
464 views

Can't catch clipboard event in a background service android

I'm trying to catch a clipboardChanged event in a background service public class MainActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState) { ...
Assaf Cohen's user avatar