android - Using Intent filter for inter process communication -
i want enable application called different applications using urls or sort of rest enablement, such different actions in application can performed different clients.
for e.g. there action "a" helps user navigate particular screen in application.
i planning use using urls can custom schemes or http. have read debates between custom schemes , http schemes :).
so e.g if client calls mysite.com://a?queryparam=1&queryparam=2
depending on action "a"
, query params navigating particular screen.
i using intent filters here inter process communication. write url handler depending on type of action. action type can derived last path segment of query. .fetching of query parameters can done through uri.getqueryparameters
. using intent filter , uri apis right kind of scenarios ?.
i had read aidl can used inter process communication, tightly bound , client has know lot of information provider or application. somehow want rest type enablement of application.
cheers, saurav
i'm not entirely sure understood request, this answer seems 1 you.
this allow intercept intent
s android.intent.action.view
action, match uri
. if user clicks on link matching url scheme have choose application open (browser or app). once have intent
can analize , take actions.
Comments
Post a Comment