Hey all,
What type of variable (and placed where) can be read by a service and activity. But the service must be able to read it before any activity loads, i.e. a boot service. Trying to keep a filename in a var so that all aspects of project can read / write it at any time. Use a process globals and all was ok until i reboot the device and the service that starts on boot cannot read it until the said activity have loaded.
Hope that makes sense, thanks
What type of variable (and placed where) can be read by a service and activity. But the service must be able to read it before any activity loads, i.e. a boot service. Trying to keep a filename in a var so that all aspects of project can read / write it at any time. Use a process globals and all was ok until i reboot the device and the service that starts on boot cannot read it until the said activity have loaded.
Hope that makes sense, thanks