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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:02:05+00:00 2026-05-27T13:02:05+00:00

We have developed one android application which will send the request and receive the

  • 0

We have developed one android application which will send the request and receive the response from the server and based on the response it will update the UI.This application handles so many different types of requests and it will enunciate as well as display the server status on the status bar.
this application is having around more than 50 different activities and one service handles all request/response and all activities bound to this service so whoever will send the request he will bind with the service and send the request and get the response back.

Now what problem we are facing is as we have added so many request/response because of that it seems like service becomes more overloaded, so obviously application is also get very slow.
So we have decided to make service as separate process including android:process for service in manifest file and try to implement AIDL for that.
But it is not that much easy because each activities making the connection with service and sends its textView,handler, activity to service using Service register() method.
so we can’t go for AIDL because AIDL only supports primitive types.
So my doubts are:

1. can we make service as separate process and it should be there in same application and packaged with same apk?

2. how to handle situation mentioned above where activity depends on service with passing some objects to service and service updates those objects and activity uses it, when we implement AIDL(as far as i know AIDL only supports primitive types)?

3. Activity uses some member variables of service so if we changes to AIDL how to make use of those member variables(these member variables are custom objects)?

I tried my best to explain the problem with some examples so please provide me some valuable inputs.

Regards,
Piks.

  • 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-27T13:02:06+00:00Added an answer on May 27, 2026 at 1:02 pm

    Is it absolutely necessary that you send references to your text views? Sounds like adding android:process=":remote" should do what you want, but if you have the service running in another process, I don’t think you should be trying to pass UI references. Can you not update the text views based on responses from the service?

    If you are not allowing access from other application, you can just use a binder as described here http://developer.android.com/guide/developing/tools/aidl.html

    This is what we did to pass lists of objects and it worked well.

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

Sidebar

Related Questions

I have developed a music app for Android. At one stage in the application,
I have developed one android application for the devices with exact screen size of
I have developed an application in which i have one edit text value of
Currently I have developed one application on android 2.3 platform. But when i test
in my project i have one registration form which is developed in C#.net.to this
Actually we have developed one mobile solution, which is used by our customers. But
Hi i have develop an android application in which i want to prevent user
I want to develop Android applications which will support multiple screen resolutions. I have
I am trying to develop an application in android in which users will be
I have developed an application in android and also deployed in the mobile. While

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.