Hi
I'm an experienced developer although completely new to mobile development. I am trying to write an app which periodically sends an SMS message.
I do this by with my activity instatiating an AlarmManager when a button is clicked. The AlarmManager starts a service which sends the SMS.
All is fine except that when the SMS is transmitted the activity UI is brought to focus again regardless of what is running. I do not wish this to happen. Ultimately my UI will be a configuration of how the service will behave although I have not looked into the data interface between activity and service yet.
Any help much appreciated.
Thanks
Geoff
I'm an experienced developer although completely new to mobile development. I am trying to write an app which periodically sends an SMS message.
I do this by with my activity instatiating an AlarmManager when a button is clicked. The AlarmManager starts a service which sends the SMS.
All is fine except that when the SMS is transmitted the activity UI is brought to focus again regardless of what is running. I do not wish this to happen. Ultimately my UI will be a configuration of how the service will behave although I have not looked into the data interface between activity and service yet.
Any help much appreciated.
Thanks
Geoff