Support for Android 9
Please use it in task automation software when SMBSync2 shortcut can not be used or Intent can not be sent.
When launching the application, it ends after sending the Intent.(Nothing is displayed on the screen)
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Intent in=new Intent("com.sentaroh.android.SMBSync2.ACTION_START_SYNC");
sendBroadcast(in,null);
finish();
}
}