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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T08:33:09+00:00 2026-06-01T08:33:09+00:00

Question fellow programmers. Let’s say I have a stand alone application in it’s own

  • 0

Question fellow programmers. Let’s say I have a stand alone application in it’s own .apk and I have another .apk which contains a service. How do I start/stop the service and listen to intents from the standalone application? Would service binding work in this case?

I have done application with their own services in the same .apk but unfortunately I have to split them up, each with their own apk.

Thank you very much.

  • 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-01T08:33:10+00:00Added an answer on June 1, 2026 at 8:33 am

    I don’t see why this would be any different than what you would do in the intraapp case. You can just check to see if the intent will succeed like this. You will then bind to the service using the package and class name, just as you would in the same app. Of course, it depends on whether or not you want to use just intents, or whether you want to implement an AIDL interface. So, in reality, besides checking whether the app is actually installed, there shouldn’t be any real change.

    You should also note that you should protect the ability to get the intent with a permission, especially if you are doing something privileged (usually you are). Otherwise your app could be a potential target for confused deputy attacks.

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

Sidebar

Related Questions

Hi I have a new question for all fellow programmers to solve. Is there
Yet another TFrame IDE-registered-component question from me. Thanks for all the help, fellow programmers.
Hello fellow C++ programmers. I have, what I hope to be, a quick question
Hello fellow drupalers, I have a question about ajax loaded views. Lets say i
Fellow coders, I have asked this question before but did not get a conclusive
I have this gwt app which say, runs on http://mygwtapp.com/ (which is actually: http://mygwtapp.com/index.html
Greetings fellow members, the situation in question is such: public abstract class BaseClass {
Hello fellow programmers, got a few problem here. I am adding a user control
right to business. I have an activity feed which gets all different kinds of
Hello Again my fellow programmers out there, I'm designing and programming from scratch 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.