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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:50:31+00:00 2026-05-26T04:50:31+00:00

In my app, which uses a proprietary bluetooth device, I’m working on self-correcting some

  • 0

In my app, which uses a proprietary bluetooth device, I’m working on self-correcting some problems that may come up with the device. One of those problems is when the phone thinks it’s paired, and the device does not, so it refuses connections until the phone unpairs and re-pairs. Using the answer found here, I got this working in code quite nicely, but I’m a bit concerned over how “safe” this is, since I now have an aidl under android.bluetooth in my own source tree. This seems to work fine in my testing with several 2.2 and 2.3 phones, but am I open to having to rewrite in future versions, or does creating this local aidl actually insulate me from future changes? Pointers to further reading are welcome.

  • 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-26T04:50:32+00:00Added an answer on May 26, 2026 at 4:50 am

    It looks like the answer you linked to is calling private APIs. Be careful doing this as they could change at any time in future versions of Android.

    To answer you questions:

    but am I open to having to rewrite in future versions?

    Yes, because those private APIs could change at anytime without any notice because they are private.

    does creating this local aidl actually insulate me from future
    changes?

    No, it won’t insulate you. They could change anything in android.os.ServiceManager or android.bluetooth.IBluetooth without notice and it would break your code in newer versions of Android.

    I sound a bit repetitive, but becareful with private APIs, they might bite you in the future. However, it also sounds like this might be the only way you can do this.

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

Sidebar

Related Questions

I'm having a problem at work in that our app which uses WCF for
I've got an ASP.NET WebForms app that I've written, which uses the ASP.NET AJAX
I am creating an RCP app which uses a host of third-party plugins. Some
I am working on an app which uses a UIScrollView to scroll through a
I'm working with a client's proprietary ASP.NET app, to which we added a PHP
I have an app which uses some usercontrols. I want to take a thumbnail
I'm making an app which uses push notifications, and I know that I need
I have a C# app which uses a System.Diagnostics.Process to run another exe. I
I have an app which uses a keyboard hook procedure in a library. The
I am creating a web app which uses jQuery to authenticate: $.ajax({ url: /session/create?format=json,

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.