Hi!
Is there a way, within a basic program, to enable, and then disable the keyboard using code? Manually invoking the keyboard squeezes the graphics window down, and appears to ask too much from the user.
Thanks,
Kevin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No, not so far. However the squeezing could be swiched off in the settings of the app. Maybe the keyboard should always automatically appear when using INPUT. Or we need a new command KEYBOARD ON/OFF
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've probably mis-posted this (there may have been a reason, but I don't remember), but this is an Android application (lollypop) I'm working on. With regard to a KEYBOARD on/off command, my first instinct is that that would be great for me, but there is no way to know if it would do what I wanted it to do.
I'm still trying to get past all the other obstacles in my path, while ignoring the keyboard problem.
I've just realized that CLS was the cause of my problems re-drawing a graphic screen (a 2 day ordeal).
This BASIC is really fast and full of things that I would never probably use. I salute you for your endeavors!
Kevin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have just implemented the commands
HIDEK and
SHOWK
which should do what you want.
HIDEK hides the virtual keyboard on Android and SHOWK shows it. You may want to use
sequences like:
' somecode herSHOWKINPUT "Ender a number: ",aHIDEKPRINT "The number is ";a'...
The new release 1.25-44 has it.
Last edit: Markus Hoffmann 2016-09-23
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Been so busy coding (troubleshooting might be a better term) that I forgot to comment on HIDEK & SHOWK. They seem to work very well, and provide a much better and professional implementation that the alternative. Thanks again!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, I'm not the brightest light in the cosmos, but I finally tried to download 1.25-44 with the keyboard hide/show command, but could only find 1.24-30, or was that 1-24-30 (what I wrote down). Is this simply something I must wait for? Doesn't matter, because I'm still in the development stage and can wait until it's ready.
Kevin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No, it's not. It was a week before I realized that you had posted this, and a couple more days, before I figured out that I now had to register in order to answer, and only yesterday that I finally attempted to download it. Sorry for the delay.
However, I have another question for you, if you don't mind. When I first downloaded X11, it was from Google, and that was directly to my smartphone. That all occurred with no problem. Now, in an attempt to download V1.25-44 from sourceforge, I'm doing it from my laptop. What I get is a .zip file in which I can see the unzipped files, but cannot determine what I need to do in order to transfer the proper files to my smartphone. Can you offer assistance? I'm sorry to ask, but it would be greatly appreciated!
Kevin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Kevin, the .zip file contains the WINDOS version of X11-Basic. The Android version is contained in an .apk file which smoothly installs on the smartphone. Why dont you directly download and install the .apk file into your smartphone? (no laptop needed).
Do not use the green downloadbutten offered you by sourceforge. This offers the windows version if you use windows and the android version, only if you come there from the phone.
Go to the Files section of the X11-Basic page on sourceforge (or take the download link from the Homepage), then you can download any version you like. (Preferably from the Android folder, which you will be offered).
I hope, hat helped. Google play store is nice for used, but it is a pain for developers. Therefor I update the version there only once a year. Also that version askes for "update me" and "rate me" all the time. Which is annoying.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks so much for the info!
Downloading was easy, but was not expecting the previous version to be updated, hoping to hold onto that until my next revision was working. Nevertheless, I see no problems with the new v1.25-44.
However, I'm going to have to post a new potential problem in the Android area.
Kevin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "Android" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hi!
Is there a way, within a basic program, to enable, and then disable the keyboard using code? Manually invoking the keyboard squeezes the graphics window down, and appears to ask too much from the user.
Thanks,
Kevin
No, not so far. However the squeezing could be swiched off in the settings of the app. Maybe the keyboard should always automatically appear when using INPUT. Or we need a new command KEYBOARD ON/OFF
View and moderate all "Android" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
I've probably mis-posted this (there may have been a reason, but I don't remember), but this is an Android application (lollypop) I'm working on. With regard to a KEYBOARD on/off command, my first instinct is that that would be great for me, but there is no way to know if it would do what I wanted it to do.
I'm still trying to get past all the other obstacles in my path, while ignoring the keyboard problem.
I've just realized that CLS was the cause of my problems re-drawing a graphic screen (a 2 day ordeal).
This BASIC is really fast and full of things that I would never probably use. I salute you for your endeavors!
Kevin
Hi Kevin,
I have just implemented the commands
HIDEK and
SHOWK
which should do what you want.
HIDEK hides the virtual keyboard on Android and SHOWK shows it. You may want to use
sequences like:
The new release 1.25-44 has it.
Last edit: Markus Hoffmann 2016-09-23
Been so busy coding (troubleshooting might be a better term) that I forgot to comment on HIDEK & SHOWK. They seem to work very well, and provide a much better and professional implementation that the alternative. Thanks again!
View and moderate all "Android" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Wow, thanks. I can't believe things can happen that fast!
It may be some time before I can try it out, but thanks so much!
Kevin
View and moderate all "Android" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Well, I'm not the brightest light in the cosmos, but I finally tried to download 1.25-44 with the keyboard hide/show command, but could only find 1.24-30, or was that 1-24-30 (what I wrote down). Is this simply something I must wait for? Doesn't matter, because I'm still in the development stage and can wait until it's ready.
Kevin
Is this still an issue?
No, it's not. It was a week before I realized that you had posted this, and a couple more days, before I figured out that I now had to register in order to answer, and only yesterday that I finally attempted to download it. Sorry for the delay.
However, I have another question for you, if you don't mind. When I first downloaded X11, it was from Google, and that was directly to my smartphone. That all occurred with no problem. Now, in an attempt to download V1.25-44 from sourceforge, I'm doing it from my laptop. What I get is a .zip file in which I can see the unzipped files, but cannot determine what I need to do in order to transfer the proper files to my smartphone. Can you offer assistance? I'm sorry to ask, but it would be greatly appreciated!
Kevin
Hi Kevin, the .zip file contains the WINDOS version of X11-Basic. The Android version is contained in an .apk file which smoothly installs on the smartphone. Why dont you directly download and install the .apk file into your smartphone? (no laptop needed).
Do not use the green downloadbutten offered you by sourceforge. This offers the windows version if you use windows and the android version, only if you come there from the phone.
Go to the Files section of the X11-Basic page on sourceforge (or take the download link from the Homepage), then you can download any version you like. (Preferably from the Android folder, which you will be offered).
I hope, hat helped. Google play store is nice for used, but it is a pain for developers. Therefor I update the version there only once a year. Also that version askes for "update me" and "rate me" all the time. Which is annoying.
Thanks so much for the info!
Downloading was easy, but was not expecting the previous version to be updated, hoping to hold onto that until my next revision was working. Nevertheless, I see no problems with the new v1.25-44.
However, I'm going to have to post a new potential problem in the Android area.
Kevin