A Service is an application component representing either an application's desire to perform a longer-running operation while not interacting with the user or to supply functionality for other applications to use.
0
votes
0answers
3 views
Integrating widget code in AppInventor decompiled code
I frequently use the MIT AppInventor, as I am not too used to Java, but it lacks features.
So can anybody tell me how, if I want to add homescreen widget or a system service into my app, how do I do ...
0
votes
1answer
32 views
intent service never starts
I am creating my first intent service, I have followed this tutorial but for some reason my intent service never starts. I am trying to call the intentService from fragment. Here is my onCreate code ...
0
votes
0answers
29 views
Why is Android replaying intents to killed/restarted app?
Is there a reason why Android would replay intents? I've got a logging app and I decided to test and see what happened if the app was killed. To my surprise, when the app is restarted, it suddenly ...
1
vote
1answer
17 views
BroadcastReceiver with IntentFilter for Intent.ACTION_PACKAGE_REPLACED not working within a service
I am trying to set up a service that checks when a new update of an activity is installed in a device. I have already done so within an application activity, declaring the broadcastreceiver in the ...
0
votes
1answer
11 views
Android Reboot Simulation : Service not working
I followed this post here How to reboot emulator to test ACTION_BOOT_COMPLETED?
I implemented all steps listed there. But still my service not running even on reboot.
I am trying to convert ...
0
votes
0answers
4 views
write a service to detect a particular file has been received over bluetooth
I am developing an android application where I am able to successfully transfer a file with extension ".Xcard" over bluetooth.
Now what I want to do is, when the file is received I want it to ...
1
vote
1answer
31 views
How to create application which is display message in specific time and day in android
I am creating app which contain.
-> time like 2:30 AM
-> Repeat like sat,sun
User is dynamic add time and repeating value.For example we have 10 record with different value.
So how i can ...
0
votes
0answers
19 views
Properly use of Service class
I have an android app that records audio and play the recordings. Both(recording and play) has their own services to run with. The recording service starts when the app start and is never stopped by ...
0
votes
1answer
29 views
How to run services even after screen off, Lock the screen?
In my application am using services move to another activity after ten minutes even the screen in off,screen locked.
my problem Service is run when screen is in ON condition,but in screen OFF or when ...
-1
votes
0answers
11 views
how to get the name of the package when it is clicked on its icon?
I want to develop an application which display the a toast of package name when user cliks on any of the icon from app drawer?
...
0
votes
1answer
17 views
Create system service in Android
I want to create a system service. My requirements:
The service should be protected by permission. If possible, it should not be accessible to the user (accessible only inside Android system).
...
0
votes
0answers
31 views
SecurityException: Not allowed to start service Intent without permission
I have a library called com.example.library, containing a service called com.example.library.http.RestService. The library's manifest contains these elements:
<uses-permission ...
0
votes
0answers
8 views
overridePendingTransition from a service giving error
I am trying to start an intent from a service using overridePendingTransition it looks like this
Intent dialogIntent = new Intent(this, PopUpMainActivity.class);
...
0
votes
1answer
18 views
Does binding to a service connect the client to a new service instance?
In Android if you were to bind to a service while there was already an instantiation of the service, would another service be instantiated or would the client bind to the existing instantiation?
-4
votes
0answers
31 views
Home replacement battery consumption [closed]
I'm having a problem with a software I developed for the company where I work.
I've developed an home replacement, and users are complaining about high battery consumption after installing it. This ...