Android Open Source - NetworkClipboardAndroid Boot Receiver






From Project

Back to project page NetworkClipboardAndroid.

License

The source code is released under:

GNU General Public License

If you think the Android project NetworkClipboardAndroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.adyrhan.networkclipboard;
// w w  w .j a v a 2 s . c om
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class BootReceiver extends BroadcastReceiver {
  public static boolean bootStartup;
  @Override
  public void onReceive(Context context, Intent intent) {
    if(bootStartup) {
      Intent serviceIntent = new Intent(context, com.adyrhan.networkclipboard.NetworkClipboardService.class);
      context.startService(serviceIntent);
    }

  }

}




Java Source Code List

com.adyrhan.networkclipboard.BootReceiver.java
com.adyrhan.networkclipboard.HttpServer.java
com.adyrhan.networkclipboard.NetworkClipboardService.java
com.adyrhan.networkclipboard.PortIOError.java
com.adyrhan.networkclipboard.ServiceControlActivity.java
com.adyrsoft.framework.android.InputStreamUtils.java