Back to project page DistributedMemory.
The source code is released under:
Apache License
If you think the Android project DistributedMemory listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.faudroids.distributedmemory.ui; /* w w w . j a v a2 s . c o m*/ import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; public final class StopServerBroadcastReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { Intent stopServiceIntent = new Intent(context, HostService.class); context.stopService(stopServiceIntent); } }