List of usage examples for android.content Intent ACTION_SYNC
String ACTION_SYNC
To view the source code for android.content Intent ACTION_SYNC.
Click Source Link
From source file:com.heneryh.aquanotes.ui.controllers.ControllersActivity.java
/** * Be clear here whether we are talking about a database refresh or actually going out to the * controller for fresh data. In this case we want to really go get new data from the controller. *//*from ww w. j ava 2 s. c om*/ private void triggerRefresh() { final Intent intent = new Intent(Intent.ACTION_SYNC, null, this, SyncService.class); startService(intent); }