Android preferences when application only contains service

Posted by Falmarri on Stack Overflow See other posts from Stack Overflow or by Falmarri
Published on 2010-05-12T03:35:55Z Indexed on 2010/05/12 3:44 UTC
Read the original article Hit count: 380

Filed under:
|
|

I have a app that only consists of 2 services and a broadcast receiver (they check the internet periodically). I need to store preferences that can be shared across those services. Is this the same as for an activity? Just use getsharedpreferences()? This doesn't seem to be documented very well.

© Stack Overflow or respective owner

Related posts about android

Related posts about service