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 8472611
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T17:07:26+00:00 2026-06-10T17:07:26+00:00

In an app I am designing, I have a back end service connected to

  • 0

In an app I am designing, I have a back end service connected to a communication bus collecting a bunch of data and communicating with remote devices. I have a front end (UI) in another APK and process.

I need to have quite a bit of data, communication events and user events flowing at very high speeds (microseconds) between these two processes. Here’s an example: Process A might receive a block of data that makes up a bitmap image via the communications bus. Since this process is not in the main UI thread I cannot use the Canvas and Bitmap classes to create an actual bitmap, all I can do is just store the data. Process B (the UI thread) needs this data to actually create and display a bitmap image. Passing the data from Process B to Process A needs to happen very fast – hopefully like the amount of time a call from one method to another occurs in the same process.

As a newbie to Android, I am struggling with this concept. I have looked at AIDL and it looks promising, but I don’t know yet.

Does anyone have any ideas on how to share data back and forth between two processes at reasonably high speed?

  • 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-10T17:07:28+00:00Added an answer on June 10, 2026 at 5:07 pm

    You are right, the best thing to communicate between processes in Android is AIDL.

    The only possible way I can imagine to improve performance even more – is to share memory between processes. However I think you’ll need to go low-level for this.
    You can check for example this article: http://www.androidenea.com/2010/03/share-memory-using-ashmem-and-binder-in.html

    However, in most cases, AIDL should be pretty fast.

    Good luck

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

Sidebar

Related Questions

I'm currently designing an app that pulls map data from a service and renders
WE are designing an iPhone app that will call back to a RESTful service
i am designing an app for android tablets. I have created a layout file
I'm designing a MFC app in which I'd like to have a grid with
I am designing an app in which the data is stored in the database.
I have a ton of video in this app I'm designing, and I want
I am designing an app in xml android. I have been using lots of
I have successfully created a asp mvc app which basically has interface, service and
I'm designing an iPad app that will have a custom grid in it. The
I'm designing a simple web-app in CI. I have a registration controller, and a

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.