def METHOD_NAME():
    if not RUNNING_ON_ANDROID:
        print(NON_ANDROID_DEVICE_MSG, '...cancelled service.')
        return (NON_ANDROID_DEVICE_MSG, 400)
    args = request.args
    if 'action' not in args:
        print('ERROR: asked to manage service but no action specified')
        return ('No action specified', 400)
    action = args['action']
    if action == 'start':
        start_service()
    else:
        stop_service()
    return ('', 204)