What is the best way to call AIDL methods of a service in an AsyncTask in another application after binding to it?
-
Reg: Android # In android we normally create a service which implements methods defined in AIDLs. Why can't these methods/apis can't be called in AsyncTask's do in Background in another application after binding to that services. Or is that something i am doing wrong?
-
Answer:
Binding is the good way, bind to an remoteservice and in onserviceconnected get the stub, its is the good way to call remote service methods.
Nishanth Kumar at Quora Visit the source
Related Q & A:
- What's the best way of returning damaged NIKE shoes to NIKE for another pair?Best solution by Yahoo! Answers
- What's the best way to get smudges off of a plasma?Best solution by Yahoo! Answers
- What is the best way to find new members for a yahoo group?Best solution by Yahoo! Answers
- What is the best way to get back links to a website?Best solution by Yahoo! Answers
- What's the best way to call from Europe to the US?
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.