Hi    Dianne Hackborn ,

Thanks for the reply, still I am having some doubts,

1) I read that HeadsetObserver which is a systemservice, starts whenever
headset is detected and stops working whenever we removed the headdset.
Similarly I want to start or stop particular
systemservice(PackageManagerService,ActivityMAnagerService etc...) whenever
it's required.

**

** **

Why I want to do restart the systemservices means, whenever user presess on
a button I want reload all the applications, without rebooting complete
device. instead of that I am planning to ****

restart some systemservices like PackageManagerService and
ActivityManagerService because these are services which plays keyrole for
loading ****

apps(SystemApps and Market apps).****

** **

2) If it's not possible to restart the systemservices then I am planning to
restart the SystemServer(SystemServer .java) so that all systemservices
will be restarted, eventually all

**

apps will be reloaded without rebooting complete device.****

** **

I dont know whether these are possible things or not just I am thinking. I
am ready to do Framework level changes.


Could you please suggest me as I am new to Application Framework.



On Sun, Jul 15, 2012 at 1:01 PM, Dianne Hackborn <[email protected]>wrote:

> Not from a third party app.  You can stop/start it with "adb shell stop"
> and "adb shell start."  If it is stopped, all of the framework goes down,
> including all applications.  You can't stop/start individual system
> services.
>
> On Sat, Jul 14, 2012 at 10:17 PM, Abhilash baddam <
> [email protected]> wrote:
>
>> Hi,
>>
>> Generally SystemServer wiil start all systemservices
>> (ActivityManagerService, PackageManager etc..)right.
>>
>> 1)Is it possible  to restart the systemserver  so that all systemservices
>> will be restarted.
>> 2) Similarly can we restart the particular systemservice for ex:
>> PackageManagerService.
>>
>>  --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to