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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T03:52:36+00:00 2026-05-30T03:52:36+00:00

I am developing an Android application using Phonegap . I need to make the

  • 0

I am developing an Android application using Phonegap. I need to make the softkeyboard appear programatically. I am using the SoftKeyboard plugin which is found here. Can anyone tell me how to properly include this plugin & make it work? I have tried the tutorial found on the Phonegap Wiki, but the plugin is not working.

[Update] I have added the plugin to the path

com/zenexity/SoftKeyBoardPlugin/SoftKeyBoard.java

Updated plugins.xml and included

<plugin name="SoftKeyBoard" value="com.zenexity.SoftKeyBoardPlugin.SoftKeyBoard"/>

Then in the www folder added softkeyboard.js, and the following in index.html

plugins.SoftKeyBoard.show(function () {
    // success
},function () {
   // fail
});

But nothing happens, the keyboard is not displaying..

  • 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-30T03:52:38+00:00Added an answer on May 30, 2026 at 3:52 am

    This is how I got SoftKeyBoard working in my application.

    DroidGap Side

    • create /src/com/phonegap/plugins/SoftKeyboard with provided file SoftKeyBoard.java inside
    • add to /res/xml/plugins.xml:

      < plugin name="SoftKeyBoard" value="com.phonegap.plugins.SoftKeyboard.SoftKeyBoard" />

    /assets/www Side

    • add provided file softkeyboard.js to /assets/www/js
    • add to index.html in the head where your other javascripts are included after you have included the phonegap javascript:

      < script type="text/javascript" charset="utf-8" src="js/softkeyboard.js"></script>

    You can then call the following if you are on device or using something like Ripple:

    window.plugins.SoftKeyBoard.show(function () {
      // success
    },function () {
      // fail
    });
    

    or something like this if you want to make sure the namespace is available, which will prevent undefined problems:

    ((((window || {}).plugins || {}).SoftKeyBoard || {}).show || function(){})();
    

    I think maybe where you went wrong was not including the js/softkeyboard.js in your head of index.html.

    Hope this helps you

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

Sidebar

Related Questions

I am developing application using phonegap in eclipse for android .I have created folder
i am developing an android application using google maps data.I can access google maps
I am developing an app using phonegap for Android. I want this mobile application
I am developing an application for Android using phonegap. When I include phonegap.js file
I am developing an Android application using SQLite as backend. I want to make
I am developing an Android application using Eclipse and APT. Now I need to
I am developing an Application using Phonegap on Android. Everything works fine on OS
I am developing an android application(using Eclipse 3.5.2, Android 2.2) where i need to
I'm developing one android application in which I'm using one customized ListView which extends
I am developing an Android application in which the user logs in using its

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.