aidl Questions

4

Solved

Question 1: I am studying Android service and often see code like this: private ISampleService.Stub sampleServiceIf = new ISampleService.Stub(){} What is .Stub ? Question 2: I checked "AIDL",...
Consalve asked 18/5, 2012 at 7:14

6

I upgraded my Android app to start using SDK 29 and build tools 29.0.0. When compiling in Android Studio I get an error: Process 'command 'C:\Users\ma_fo\AppData\Local\Android\Sdk\build-tools\29....
Snip asked 8/6, 2019 at 21:24

7

Solved

I have found a sample from the Internet (https://github.com/manishkpr/Android-AIDL-Example) and ran on Android Studio and it worked fine. But now when I am trying to recreate the project, the Andr...
Shu asked 30/8, 2013 at 11:52

14

Solved

I am currently migrating an Eclipse app to Android Studio. This app was using the in app billing. My main problem is to compile the project and the aidl file (I guess you all use this file) I get...
Matchmark asked 24/7, 2013 at 14:0

4

I have an interface defined in the aidl but I can't extend it or find it any way. The ide just tells me: Can not resolve symbol 'KeyEventListener' Any idea how to fix this? Additional infos: Key...
Sabu asked 16/5, 2013 at 19:58

7

Solved

(I know there're multiple questions on stackoverflow and elsewhere (like google group) about adding parcelable for NetworkInfo but this is not about that.) My work is under $(AOSP_ROOT)/device/ an...
Piggy asked 25/11, 2014 at 23:47

6

I have defined an AIDL android interface to make available a service from other applications. My problem is that in my project, Android does not generate the Java file from this AIDL. Note that t...
Colewort asked 21/9, 2012 at 9:34

3

Solved

I have a project consisting of multiple gradle modules (plugin com.android.library) referencing each other (tree, not flat). I use AIDL intensively and thus it happens that I reference AIDL interfa...
Piddling asked 4/8, 2016 at 10:45

2

Solved

I am trying to develop a setup of 2 applications (service app + client app) using AIDL. I have currently a setup of 3 modules: android-agent-framework (android library module holding only the AID...
Engeddi asked 5/5, 2016 at 20:27

5

Solved

Requirement: Need to expose a service/contract from a different process to other apps. For example: getPhoneRecord(recordId), deletePhoneRecord(phoneId) etc. Potential solutions: Messenger or AIDL ...
Effector asked 10/8, 2014 at 22:43

2

Solved

I am designing a framework for a client/server application for Android phones. I am fairly new to both Java and Android (but not new to programming in general, or threaded programming in particular...
Savil asked 14/6, 2010 at 23:45

5

Solved

to understand the AIDL in android, i want one real life example, means the at what scenario of development we need to use AIDL. by reading the Android Docs ... It puts me in confusion and so many ...
Calvary asked 21/12, 2011 at 14:20

4

Solved

Is there any security provided when an application calls a remote service using AIDL? Or is it simply like a malicious application could read the data?
Pilferage asked 6/9, 2012 at 5:58

2

Solved

I am implementing an aidl interface, and for some reason, the following code gives me an error: // IApkinsonCallback.aidl package com.applications.philipp.apkinson.interfaces; /** Interface imple...
Vasos asked 28/7, 2016 at 9:52

2

Solved

Before November 2020, an Android app on Google Play has to manage 'Account Hold' status. https://developer.android.com/distribute/play-policies Question is: how to simulate 'Account Hold' status so...
Tricho asked 11/9, 2020 at 9:30

3

Solved

We expose an AIDL service to third party developers. We'd like to return parcelable objects from this service, but we have concerns about backwards compatibility. By this, I mean clients compiled a...
Frei asked 12/8, 2013 at 22:35

3

What are the advantages of using AIDL while we can use java interfaces to help client applications call the bound service? For example, For ITestService we should create an AIDL as follows: // IT...
Loisloise asked 6/12, 2016 at 11:55

3

What are the pros and cons of using aidl vs broadcast receivers for sending messages between apps (for both background and foreground handling)? I've been using receivers which is nice due to the s...
School asked 1/6, 2012 at 4:11

3

Can someone please distinguish between the scenarios where one should use a broadcast receiver, an AIDL (Android Interface Definition Language), and a messenger? I was told that using a broadcast r...
Audieaudience asked 20/12, 2015 at 18:42

3

As enums aren't primitive types, what's the most effective way to pass an enum through an aidl interface in Android? Is there a way to convert the enum to an ordinal first?
Concinnate asked 8/2, 2011 at 18:44

2

I have a service that communicates through AIDL with other services. I want that service to be bound by activities in my application. Can the service define two binders\interfaces? I've tried yo us...
Gora asked 23/12, 2012 at 16:13

2

Solved

I want every app to be able to send data to my service. Therefore I need inter process communication. Every page I can find proposes to use Messenger, AIDL or Intents (BroadcastReceiver). So far wh...
Malmsey asked 30/6, 2016 at 13:48

2

I'm programming a radio streaming app. I run the "radio playing" as a remote Service by using AIDL interface technique to communicate with the Service. But I don't really understand one thing. Wha...
Superheat asked 15/1, 2011 at 14:58

4

I was just trying to compile my app with the new preview SDK 24 Android N in Android Studio 2.1 Preview 1. I have in app billing in my app. When trying to build the app I get the following excep...

3

I'm using aidl to answer call automagically, code as following: ITelephony.Stub.asInterface(ServiceManager.getService("phone")) .answerRingingCall(); I import ServiceManager.class import andro...
Lepage asked 15/12, 2010 at 3:38

© 2022 - 2024 — McMap. All rights reserved.