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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T14:27:50+00:00 2026-06-15T14:27:50+00:00

I am developing Bluetooth keyboard driver for android. I want to enable my keyboard

  • 0

I am developing Bluetooth keyboard driver for android. I want to enable my keyboard input method automatically and set it, by just click of toggle button. By enabling I mean enter image description here

enter image description here

Now I want to do this programmatically by just one click of toggle button , i want to bypass these steps for the user and provide them a toggle button which is doing these steps.

InputMethodManager m = (InputMethodManager) BluezIMESettings.this.getSystemService(INPUT_METHOD_SERVICE);
m.setInputMethod(token, id);

Now where i can get this token and ID ? , i searched in API description i get this

token Supplies the identifying token given to an input method when it was started, which allows it to perform this operation on itself.

id The unique identifier for the new input method to be switched to.

Thank you for your help…

  • 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-15T14:27:52+00:00Added an answer on June 15, 2026 at 2:27 pm

    You cannot set the Input Method programmatically, you have to navigate to the settings so the users can change the settings. Android secured this option so no bloatware takes over the device.

    Same story as enabling GPS programmatically, it is not possible!

    Also se this question.

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

Sidebar

Related Questions

I am developing an application which should connect 2 Android devices through Bluetooth automatically.
I am developing an Bluetooth based application and want to set some preferences in
I'm currently developing an Android application which needs to receive data from a bluetooth
I am developing an application connecting a PC with Android based device over bluetooth,
I am developing an android game application played using bluetooth. While searching for bluetooth
i'm developing a bluetooth apps.1) I want to hide a tableview when i start
I am developing an application that is using bluetooth to automatically connect to nearby
Developing an application for Android, i want to record data that will be usefull
My customer is developing a bluetooth device. I am developing an android application which
I am developing a Bluetooth chat application. The problem is that when i enable

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.