Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement the fire receiver, clean up the prefs editor for the plugin
- Loading branch information
Showing
3 changed files
with
21 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.matburt.mobileorg.Plugin; | ||
|
||
import android.content.BroadcastReceiver; | ||
import android.content.Context; | ||
import android.content.Intent; | ||
import android.util.Log; | ||
|
||
import com.matburt.mobileorg.Services.SyncService; | ||
|
||
public final class Synchronize extends BroadcastReceiver | ||
{ | ||
@Override | ||
public void onReceive(final Context context, final Intent intent) { | ||
context.startService(new Intent(context, SyncService.class)); | ||
} | ||
} |