android-service
Which is better for repeated user notifications: A series of broadcasts, a started service or a bound service?
I\'m currently developing an android application that will repeatedly ask a question to the user in randomly determined time intervals. This means it will wake up the device if nessecary, pop up an Ac[详细]
2023-04-12 16:22 分类:问答Service using too much memory in android resulting Force stopping
In my application,from a Service, i am entering data into database and collecting those datas in some Bean class object in a repeated time interval using a Timer. I am using that instance in my Activi[详细]
2023-04-12 13:12 分类:问答How to apply changes to widget when placing it on the homescreen in onEnabled?
When I try to put my weather widget on the homescreen I want to give the user an option of choosing a city at that moment and the widget starts showing the weather for that city. For this I have made[详细]
2023-04-12 10:38 分类:问答Using Service, TimerTask and BroadcastReceiver to check for various updates
I\'m trying to create a simple program that does the following: A service (NewsService) started by my activity (UpdateServiceActivity) checks for news.[详细]
2023-04-12 05:11 分类:问答Several AsyncTasks in Service
I have a service which can be called from Activities in an app. The service contains of two different 开发者_运维技巧AsyncTasks that downloads data and populates a DB. The tasks downloads different d[详细]
2023-04-12 00:09 分类:问答A service calling a service, onServiceConnected never called?
I have a remote service, it calls some jni to start a c process. After it starts the process it can report the port numbers for a remote activity (via AIDL) to connect to. I have a service in another[详细]
2023-04-11 13:18 分类:问答Is it possible to create an Android Service as a Native Extension - that would continue to run after the app has been closed?
Using AIR\'s native extensions is it possible to make an Android service that 开发者_StackOverflow社区would continue to run even if the App has been closed?[详细]
2023-04-11 07:13 分类:问答Android Service never appears to start - onStartCommand() not called
I am trying to create a service that will handle file I/O in the background. Activities that update the data will bind to the service and call the service\'s methods to perform the I/O. I am using the[详细]
2023-04-11 06:12 分类:问答How to force onDestroy method of the Service
Is there a way to force onDestroy method of the Service from the Android OS or, say, explicitly? Ok, I think I found a way how to do it manually.[详细]
2023-04-10 18:59 分类:问答Give access to an Android service without giving the sources
I am creating an Android service that my own app will use, but I also want it to be available to external apps.[详细]
2023-04-10 09:02 分类:问答