1 |
package com.caddi.android.caddipictureupload; |
2 |
|
3 |
import android.app.Service; |
4 |
import android.content.Intent; |
5 |
import android.os.IBinder; |
6 |
import android.util.Log; |
7 |
|
8 |
public class UploadService extends Service { |
9 |
public UploadService() { |
10 |
} |
11 |
|
12 |
@Override |
13 |
public int onStartCommand(Intent intent, int flags, int startId) { |
14 |
|
15 |
Log.i("CADDI", "UploadService::onStartCommand()"); |
16 |
|
17 |
return START_STICKY; |
18 |
} |
19 |
|
20 |
@Override |
21 |
public IBinder onBind(Intent intent) { |
22 |
// We don't provide binding, so return null |
23 |
return null; |
24 |
} |
25 |
} |