3

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?

Grazfather
  • 329
  • 1
  • 5
  • 9

1 Answers1

4

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

elijah
  • 2,904
  • 1
  • 17
  • 21