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

  • Home
  • SEARCH
  • 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 9142145
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:44:19+00:00 2026-06-17T09:44:19+00:00

I have a Service in a system app. I would like client apps without

  • 0

I have a Service in a system app. I would like client apps without system permissions to be able to call functions in the Service to do things that does require system permissions. Since the Service is in its own app, I am using AIDL to define an interface for IPC between the Service and the client apps.

I want the people making the client apps to be able to write their own code requiring system permissions and provide me the code to include with my service. So my service will receive a generic request indicating where to pass the request on to, and the request itself.

Since I don’t know what data the client will need passed in/out to their own code, I would like to use a generic interface to handle any types of data they may need. Do I need to add a function to the AIDL interface for every data type:

void doStuff(in String inStr, out String outStr);
void doStuff(in int inInt, out int outInt);

etc…

Would it be better to make my own parcelable object? What’s the best way to handle this with AIDL?

  • 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-06-17T09:44:20+00:00Added an answer on June 17, 2026 at 9:44 am

    Your question have two parts:

    a.) Service ( indicating where to pass the request) :

    You can get the caller UID and then then use it as job/request indicator.

    b) AIDL type:

    By default, AIDL supports the following data types:

    1.) All primitive types in the Java programming language (such as int, long, char, boolean, and so on)
    2.) String
    3.) CharSequence
    4.) List

    If you have any other Object, then you need to create your own parcelable object.

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

Sidebar

Related Questions

I have a the following server side app.config for a WCF service: <system.serviceModel> <bindings>
I have defined two endpoints in my App.Config file as <system.serviceModel> <services> <service name=HostDirectAddress.ITestService
I have a system service running on my Windows machine that can impersonate the
If I have a service definition/implementation like this: using System; using System.ServiceModel; namespace aspace.service
I have a wcf service that uses the .net System.AddIns framework to load assemblies
We have a plugin system on a WCF service that checks libraries placed in
I have A WCF service that has a class that inherits System.Web.Security.RoleProvider. In this
I have to make sure that my Service will run until I'll explicitly call
I have this web service : using System.Web.Services; namespace Contracts { [WebService(Namespace = http://tempuri.org/)]
I have a service which is running in a system in several instances. I

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.