Reputation: 339
simple question about intent action naming convention: I have a new service that handles an intent. It checks the intent for key com.foo.bar.ServiceName.MANAGER_NAME I have extra arguments I want to pass, should the key be com.foo.bar.ServiceName.MANAGER_NAME.MANAGER_ARGUMENT or just com.foo.bar.ServiceName.MANAGER_ARGUMENT?
Upvotes: 3
Views: 2733
Reputation: 2924
generally these constants will be declared directly in the Service, and will therefore be named like your latter option -- com.foo.bar.ServiceName.MANAGER_ARGUMENT
Upvotes: 4