java - how to pass data from not-main activity to thread -
i created object bluetooth-service, thread created, monitors data in queue. main-activity 1 activity created, can set data. how can pass data activity thread sending messages, withount passing object bluetooth-service?
did think using static class save message need send, maybe use observer pattern (if needed) notifying thread has new message send
Comments
Post a Comment