android-service
How to start and switch applications(APK) from a remote service?
I have two application and a remote service.. The remote service is subscribing to http server... Now based on the web servers response i need to start or switch application.[详细]
2023-04-03 19:42 分类:问答Passing an array of integers from an AppWidget to a preexisting RemoteViewsService to be rendered by the RemoteViewsFactory
I have an AppWidget that has a StackView contained within it.Along with the AppWidget, I have a service that is started when a user adds my AppWidget to their homescreen that polls for new data every[详细]
2023-04-03 17:05 分类:问答Using a variable in one class in my service
This is a part of my main class: @Override public boolean shouldOverrideUrlLoading(WebView view, String url) {[详细]
2023-04-03 03:40 分类:问答autostart of service in android app
I am trying to develop simple app (service) which will start automatically on boot. With main activity is also created new s开发者_Go百科ervice (I can see it in service task manager list). This servic[详细]
2023-04-03 00:31 分类:问答get Activity's reference from a Service
I need to get a reference to the main Activity from a Service. This is my design: MainActivity.java public class MainActivity extends Activity{[详细]
2023-04-03 00:06 分类:问答Toast in a self running service
I have an android activity which runs a remote service and then quits. The service itself, polls on a device node, and checks for changes,[详细]
2023-04-02 12:27 分类:问答Stopping a thread in an Android Service
I have a Thread running in a Service... its run method looks something like this: class Consumer implements Runnable {[详细]
2023-04-02 00:57 分类:问答How to transfer files between Android applications running on the same device?
I am writing an Android application that interfaces with a RESTful service.This web service essentially fronts a file system, and provides metadata as well CRUD access to the files.My application retr[详细]
2023-04-01 10:42 分类:问答Android AIDL problem with activity and service
I\'m writing an Android 2.1 app which supposed to display a dialog to the user when an external event triggers one of the GPIO\'s. I have written the Linux device driver, and written the JNI user-spac[详细]
2023-03-31 20:20 分类:问答Is an android service guaranteed to call onDestroy()?
The life cycle diagram of an Activity on an android does not guarantee that onDestroy() would be called, but that the process may be killed and the Activity is removed abruptly. The life cycle diagram[详细]
2023-03-31 09:31 分类:问答