Intent to execute a SyncFile on a Android plus

LR
Lionel, RAULT
Solutys Technologies

The idea is to create an Apk on the device that would ask the Device Agent to execute a syncfile (like commloader -syncfile on Windows CE)

I guess there is an intent that can be sent to the device Agent ?

What is the right syntax to do this ?

7 years ago
Android
ANSWERS
MD
Matt Dermody Diamond Contributor
7 years ago

Are you looking to have a device initiated File Sync rule synchronization? I am trying to understand the use case. 

LR
Lionel, RAULT
7 years ago

Yes Matt

RC
Raymond Chan Diamond Contributor
7 years ago (edited 7 years ago)

For the device side to initiate operation associated with a file-sync rule, an indirect approach is to do the following:

1. Enable the option "Sync Files When Device Connects" in the schedule tab of the file-sync rule;

2. On the device, turn off (for 1 minute or so), and then on ALL available communication connections (Wifi, mobile network, Ethernet [via USB], etc.), so as  to create a "Connected" event for the device recognizable by the Mobicontrol server.  If there are many such communication options on a device to be managed, building a custom app (e.g. a toggle widget) may be needed for 1-step operation for device end-users.