android:how to ensure only one process(of a remote-service) running even all APPs integrated this service in the apk -


1.i'm implementing sdk using android remote service. 2.in order distribute sdk,i'd many apps integrate sdk be. 3.in order save system resources, i'd 1 process of remote service running in background support apps need remote-service.

is there way achieve this? thanks.

you write resource locking mechanism. if you're handling call app a, , app b wants same call, return error code isn't fatal, rather tells app try @ time. or create queue callback app b fires when app done.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -