Hi Priyank,
Problem belong this step:
I have exported this in the source code of the application as
import com.VMService;
you don't need to do this step because because aidl generate Java
interface, refer: http://developer.android.com/tools/building/index.html
i guest your error come because
Hi,
I am kind of facing a similar problem with my project.
I have an existing project which has 2 parts. Services module and
Application module.
The VMService.aidl file is in a package in the services. When the
service module is compiled, the generated VMService.java file appears
in the /gen
It became clear now. Thank you Mark.
The problem was, I am having my AIDL interface in a different package.
And I have included the same AIDL interface package in both Service
and Client application. But the intent-filter of the Service had
action string with package name of the Service.
So
Thank you very much Mark, Joe.
But below call i.e., binding with the Interface name is not working. I
got the same error, not able to bind, service not found..
bindService(new Intent(IScript.class.getName()), svcConn,
Context.BIND_AUTO_CREATE);
But, below way of binding works. i.e., Binding
On Wed, Jun 23, 2010 at 9:57 AM, Krishna Shetty
krishna.shett...@gmail.com wrote:
Thank you very much Mark, Joe.
But below call i.e., binding with the Interface name is not working. I
got the same error, not able to bind, service not found..
bindService(new Intent(IScript.class.getName()),
You will also have to include the .aidl as source in your other
project. The two different apks don't link against each other or
anything like that. Otherwise, the generated java class won't be
available.
-joe
On Jun 18, 7:44 am, Mark Murphy mmur...@commonsware.com wrote:
On Fri, Jun 18,
6 matches
Mail list logo