Android Open Source - photo-paper Wifi Receiver

From Project

Back to project page photo-paper.


The source code is released under:

MIT License

If you think the Android project photo-paper 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.lukekorth.android_500px.receivers;
//w ww. j a v a2s .c  om
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.lukekorth.android_500px.helpers.Utils;

public class WifiReceiver extends BroadcastReceiver {

    public void onReceive(Context context, Intent intent) {
        if (Utils.isConnectedToWifi(context) && Utils.needMorePhotos(context)) {
            context.startService(new Intent(context, ApiService.class));


Java Source Code List