Hi,
Thanks for the reply. So If want to reload all the applications,  what is
the best solution.
1)Fr example, GoLauncher app is there if we press on launcher button user
will get the refreshed Home screen.

2)On click of button just I want to reload the complete apps like how home
app is displayed immediately after booting... suggest me please.

On Tue, Jul 17, 2012 at 10:31 PM, Dianne Hackborn <[email protected]>wrote:

> You can't.  Asking the same question again doesn't change the answer. :/
>
> And good ghod, no of course you can't restart the freaking activity
> manager without restarting all the apps.  I mean... come on!
>
> You haven't actually said what you are trying to do, but the path you are
> going down here is almost certainly wrong for whatever it is.  Restarting
> something like the activity manager is not in any way shape or form correct
> as a normal part of the system operation.
>
> On Tue, Jul 17, 2012 at 7:52 AM, Abhilash baddam <
> [email protected]> wrote:
>
>> 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
>>
>
>
>
> --
> 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