android-service
Detect service availability from Activity's onCreate
From within the onCreate within an Activity, I\'d like to be able to detect whether a Service in a different application (that I\'m also writing) is available and running. The problem with AIDL is tha[详细]
2023-02-25 07:08 分类:问答Message queue solution for activities that come and go on Android?
Lets say I have a Service S and Activity A. S downloads data for A (or handles some long running work, whatever), but A is not always present. I don\'t want S to hang around when it\'s job queue is em[详细]
2023-02-25 01:20 分类:问答Android:sound pool and service
I have create the service which implement the media player class to play the back ground mus开发者_如何学Cic.But now i want to convert into sound pool so that multiple sound can be played.[详细]
2023-02-23 06:31 分类:问答Problem with sensors in a service
i\'ve a foreground service that read Accelerometer and Orientation sensors, and send a sms when the phone it\'s moved.[详细]
2023-02-22 19:28 分类:问答Android system service cannot access user data
I\'m writing an Android system service under platform/frameworks/base, it is launched by SystemServer and runs as a system service like Activity Manager and Content Manager. The service can access and[详细]
2023-02-21 06:58 分类:问答how to start Android Service/activity/dialog based on GPS Location and other events
how to start an android service/activity/di开发者_C百科alog based on 1- user inserts new SIM card[详细]
2023-02-20 14:27 分类:问答Bringing a service in android into the foreground
I have an android service where I don\'t want that the phone disables the services automatically. I therefore try to put a notification into the notifcation bar.[详细]
2023-02-20 01:03 分类:问答Can started and bound services live "forever"?
I understand that a service can run in two modes, started and bound. What I don\'t quite understand from the developer docs or other questions on this site, is whether a service running as bot开发者[详细]
2023-02-18 18:28 分类:问答Android timer based service updating a database
I am new to coding in Android. I need a suggestion regarding timers and android services.. I need to update a database specific to my app once in 24 hrs...[详细]
2023-02-18 12:22 分类:问答start/stop android service based on call events
how can i start/stop a specific service based on the following: user A call user B ( the trigger is user B answer the phone and service stopped when ca开发者_运维问答ll is ended )[详细]
2023-02-18 07:50 分类:问答