I have a question regarding the performance and solidity at my current project. My Service is using sendBroadcast() to inform the activity (BroadcastReceiver) about some events. For calling functions from the activity defined in the service i create an intent and add data with putExtra. After that i call startService(intent). In the service method onStartCommand i catch the intent data and call depending on the content of the data an internal service function. So every time i want to interact with the service i call startService(intent). Does this way of communication have some disadvantages? Especially if i call startservice very often?
I've also tested successful the communication with Messenger but with this approach i cant call non-static service methods.