Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6619655
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T20:59:49+00:00 2026-05-25T20:59:49+00:00

First off I have seen this: Remote Service as apk And it does not

  • 0

First off I have seen this:

Remote Service as apk

And it does not help me at all. Here is the deal. I have one apk that creates a remote service (call it A). I then have another apk (call it B). How can I connect B to A without include the AIDL file or a jar file. I would think that this would be possible.

** UPDATE **

So I have copied the AIDL file into B and created an to the service in A for the AIDL file. I can conntect to the remote service, and bind to the service now. However when I try to call a method that exists in the service I get:

java.lang.SecurityException: Binder invocation to an incorrect interface

Having trouble finding any help on this. Any ideas?

** PROBLEM SOLVED **
The AIDL file had to be in a package with the same name in the project B. Thanks for your help Peter.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T20:59:50+00:00Added an answer on May 25, 2026 at 8:59 pm

    You have to know the format of the data that is sent between two separate processes. This is needed for serialization/deserialization of the data to Java objects.

    AIDL is a description language to describe the structure of objects.

    So, you have two options:

    1. Either you have an AIDL, or

    2. your code explicitly know the format to do the de-/serialization. This is the implementation of Parcelable. This implementation could be inside a jar that you include in your app.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First off, I'm aware this is a bad practice and I have answered many
first off this is a class assignment so i would appreciate help but just
I have been struggling with this for months in my project. Here's the deal:
First off I should say that I don't have any experience in working with
First off - apologies for the poor title, I have no idea how to
First off, I am using Windows XP. I have multiple hard drives and it
First off, let me clarify the platforms we are using. We have an ASP.NET
first, I can't stand Crystal! Okay, that's off my chest... Now, we have an
First off, there's a bit of background to this issue available on my blog:
First off: I know that this isn't reliable for actually checking if I can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.