Owing to technical limitations the pre-existing objects were removed in RMS 4.0, if you're using 5.0 or higher then one potential work around is to include elements.js on your page (find it installed on your machine under C:\RhoMobileSuite5.x.y\ruby\lib\ruby\gems\1.9.1\gems\rhoelements-5.x.y\libs\rhoelementsext\public\re1). That file contains the definition of nosip, I haven't tried it myself but it should work
Thank you for your answer. Unfortunately it did not work.
I linked elements.js and had <PreloadLegacyNoSIP value="1"/> in my build.yml. When I called nosip.ShowSIP(true); nosip could not be found.
The useragent contained Android so that if(/Android/.test(navigator.userAgent)) (of elements.js) evaluted to true. Therefore, the last function (which returns nosip) should be executable. I also ensured that elements.js was loaded first among all scripts.
I have one more Idea on how to globally enable / disable the SIP: in my config.xml there is a field as follows: <EnableSIP value="1"/>. If the value is 0 there is no keyboard whatever I do, if it is set to 1 there is a keyboard if I click in an input field. Now using a file explorer on my android device, changes of that value in the config.xml are applied when I restart the app.
So if there would be a possiblity to reload the config without restarting the App, I could write a native extension which changes the value a reloads the config file. Does anyone know of a mechanism to dynamically reload the config.xml?
Do you have any other ideas how I could get nosip to work properly?