Tuesday 15 January 2013

multithreading - How to share a counter between multiple Android applications -



multithreading - How to share a counter between multiple Android applications -

i'm working on library used multiple applications, potentially concurrently.

the library needs maintain track of counter shared between applications.

every time application performs specific action want increment shared counter.

i'm aware of shared content providers, since don't provide thread-safe operations on own i'm not sure if feasible option.

everything i'm finding making them thread-safe seems apply making concurrent calls within same application.

is possible utilize shared content providers cross application , still ensure thread safety?

if not best way accomplish this?

android multithreading

No comments:

Post a Comment