How to keep my application alive in background in processing android (APDE)

But I want to make my sensors work in background…