package edu.vanderbilt.cs282.assignment_4;

import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;

import android.app.IntentService;
import android.app.Service;
import android.app.Activity;
import android.app.PendingIntent;
import android.content.Intent;
import android.net.Uri;
import android.util.Log;
import android.os.Bundle;
import android.os.AsyncTask;
import android.os.Environment;
import android.os.IBinder;
import android.os.Message;
import android.os.Messenger;

// Please document all the classes, methods, and data members in this
// file.

public class DownloadIntentService extends IntentService 
{
    public DownloadIntentService() { super(); }

    // You fill in here.

    public DownloadIntentService(String name) 
    {
        super(name);
    }

    String downloadFile (Uri uri) 
    {
        // You fill in here.
        return null; // fix this to return the right value.
    }

    private void sendPath (String outputPath, Messenger messenger) 
    {
        // You fill in here.
    }

    protected void onHandleIntent (Intent intent) 
    {
        // You fill in here.
    }
}
