[Q] Soft keyboard with HTML5 - Android Q&A, Help & Troubleshooting

Hi there, first time poster. I was wondering if someone could answer a few questions for me as it pertains to HTML5 and bringing up a Keyboard on Android (any version). I am a website developer and I have recently gotten into making my web applications mobile friendly, but I'm running into some snags when trying to get a certain keyboard to show up on Android / iOS and I'm wondering why it's not a bigger issue than I've seen so far.
Right now, if I add an <input> onto my page and add type="number", Android will pull up a keyboard that has numbers, etc. My problem is, the field I'm using isn't a "real floating point number", which all major browsers (except IE11) disallow. If I have an input set up to take a credit card number, I cannot allow the user to add dashes to make it easier to read while using type="number". However, I'd rather have the number keypad pop up by default as it really is all numbers, just not a calculatable (is that a word?) number.
I was wondering how difficult it would be for Android to add in something so when a field is clicked into, it would look for a specific vendor prefix to load a soft keyboard of the web developer's choosing? For instance:
Code:
<input type="text" data-soft-keyboard="number">
or
Code:
<input type="text" data-soft-keyboard="email">
which will give the device very clear and explicit instructions on which type of keyboard to display.
Sorry if this seems way out in left field, but I haven't found a decent solution to this issue. I went to Chrome forums to discuss and people said Chrome is 100% working off of the HTML5 spec. My personal opinion is that the HTML5 spec is wrong and why the hell are browsers doing validation against data in textboxes when I didn't specifically ask for it. However, I'm not really sure which direction to go at this point.
Any suggestions or opinions on the matter would be very nice, thank you

Related

Predictive text and Voice for 2.1 - Solution

I like the predicitive text on the QWERTY keyboard, the eris feature where alternatives are shown for typed words, presenting an opportunity to choose the correct word. I enjoy using this when doing IMs in Google Talk, for example. This feature seems to be disabled in the default web browser on the eris, in 1.5 before, now in 2.1. The predictive text does not work in the search bar and it does not work in data entry fields in forms displayed by the browser, for example
Can anyone please tell me how one would enable this predictive text input in all apps on the phone? including the search bar for webkit and data entry on web forms?
<see last post for solution>
There is probably a good technical reason for this, like somehow the input method is not known to the web browser application. Perhaps the browser itself is not consulting a system table for availability of this input method at run time. Maybe it only happens at install time? Is there some manual change that could be made to enable this?
I think they disabled it in browser because a lot of websites have names that the predictive text obviously doesnt know and when you type fast and hit space quickly it auto selects words which Id imagine could be quite a pain in the ass online.
WalkingTaco said:
I think they disabled it in browser because a lot of websites have names that the predictive text obviously doesnt know and when you type fast and hit space quickly it auto selects words which Id imagine could be quite a pain in the ass online.
Click to expand...
Click to collapse
Thanks, You are right. I agree as to why they disabled it, but i think the way the feature works, it would really be more benefit to me than a hindrance.
1) Adding a mispelled word or one not in the dictionary is painless, editing this dictionary in the settings is easy too.
2) For activities like retyping stuff (like my email address) in data entry fields in the browser over & over; this would be much better with the ability to spell-check and remember words, especially when accuracy is critical.
I want predictive text in the browser. Why not a voice input option (like in the voice search applet) as well?
Can someone help at least give me the choice, I think these two input methods work very well.
Solved - 2.1 enhanced HTC keyboard, with voice too! - link
This pretty much gives you voice and predictive text wherever you want it without sacrificing anything:
nimbu.amorvi.com/2010/04/add-full-voice-to-text-to-htc-desire/
Followed the "HTC Sense Style Keyboard Instructions"
Instructions were for HTC desire but this worked fine on stock OTA 2.1 Eris, not rooted.
HTC_IME_lo_25.apk is the one that installed okay for me. I was half-asleep at the time and I think the other version did not install right, but you might want to try again.
Enjoy!

[Q] changing text field editing interface

Hello!
Sorry if this is asked/answered, search isn't working on my phone.
Is there any way to change just the text field editing interface on the sgs2? cyanogenmod seems to have it down pretty well but the stock Samsung one that appears in practically all the ROMs I've tried is absolutely pathetic. If anyone is confused about what I mean, I mean selecting words, highlighting words, copying and pasting words, the little text selection arrows etc. It is frustratingly incompetent ATM and is making me want to throw my phone at a wall.
Its the one main thing that bothers me about Android, iOS has this perfectly sorted.
Most of the time now I have to write my emails/forum posts/Facebook posts etc (ie anything with multiple lines of text) in a notepad type program and copy and paste it over, as trying to select a sole word in the middle of many in a websites text field (or similar) is quite literally impossible.
Someone help me, it is driving me insane.
Thank you.
Is there seriously nothing that can be done about this?
I find that quite hard to believe..

Can you turn off safe search for Google Now??

Hello boys & girls.
I have just performed my first ROM flash on my S3 with Android Revolution HD 14 :laugh:
With Jellybean comes Google Now, the Android equivalent of Siri. I have been experimenting with this and have discovered that despite my Google account settings being set to safe search filter off, and that I have turned off the Block Offensive Words option in settings, Google Now filters things by default.
For example, if I say 'Images of Large Hadron Collider' Google Now will duly serve me image results as requested, but if for example I say 'Images of furious sweaty butt sex' it just provides me with a web search and I subsequently have to select images myself. Even when I do, it takes me through to images that have quite clearly been filtered. Not only this, but if I were to request images of something where there were mixed images of clean and not so clean, it would only serve me up the filtered pics.
So my question; is there a way to turn off the safe search elements so that my internet can be delivered to me as I wish, or do I have to put up with Google not showing me what I have requested? (which isn't furious sweaty butt sex)
PS - I'm sorry if this is a duplicate question in some way; I did a search but could not find anything pertaining to this particular line of enquiry
Doommidget said:
Hello boys & girls.
I have just performed my first ROM flash on my S3 with Android Revolution HD 14 :laugh:
With Jellybean comes Google Now, the Android equivalent of Siri. I have been experimenting with this and have discovered that despite my Google account settings being set to safe search filter off, and that I have turned off the Block Offensive Words option in settings, Google Now filters things by default.
For example, if I say 'Images of Large Hadron Collider' Google Now will duly serve me image results as requested, but if for example I say 'Images of furious sweaty butt sex' it just provides me with a web search and I subsequently have to select images myself. Even when I do, it takes me through to images that have quite clearly been filtered. Not only this, but if I were to request images of something where there were mixed images of clean and not so clean, it would only serve me up the filtered pics.
So my question; is there a way to turn off the safe search elements so that my internet can be delivered to me as I wish, or do I have to put up with Google not showing me what I have requested? (which isn't furious sweaty butt sex)
PS - I'm sorry if this is a duplicate question in some way; I did a search but could not find anything pertaining to this particular line of enquiry
Click to expand...
Click to collapse
There should be an option for google now under settings; 'block offensive words' untick that box
22sl22 said:
There should be an option for google now under settings; 'block offensive words' untick that box
Click to expand...
Click to collapse
Did that already, all it seems to do is stop starring out letters of swear words, didn't change anything else
Any further suggestions from anybody?

[Q] android dictionary filters on explicit words - stock keyboard?

first and foremost, I'm slightly intoxicated, and therefore I apologise for any misspellings, incorrect location for posting or general not-making-sense-ness.
Background
For some reason, since getting my Nexus 5, i remembered my love for the stock android keyboard and never re-downloaded swiftkey.
I've noticed the (below) behaviour, and wondered about the workings of it....
the problem (not really a problem, but i didnt know what else to title it....)
while writing, if i accidently misspell variations of the f-word, (eg fudked), the word gets (red) underlined, and upon clicking the only suggestions are other child friendly words, varying much further away from the original word. if i manually correct this, the red underlining removes itself as if it knows this word, yet its obviously never suggested.
Reasoning
I completely understand why this would never be suggested as a replacement word for unknown spellings.
(stop longing out my life, what is your...) Question?
google has a safe-search filter enable/disable option. is this possible for my dictionary?
I want to be able to stop this filtering of suggestions. im not asking how to, im just curious to know where this filtering is defined, and where i should start to play around.
Thankyou
....for reading this, i apologise for any offendings.....

[Q] Help Regarding Feature Missing on Android

HI I have been a dedicated iphone user but recently moved to Android. I love my phone but the issue that I have is that I can't view news like the reader mode that is available in Safari which also word wraps the text as I zoom in on any news website. Does anyone know any solution? I have tried Opera and it is the only valid solution I have found but has another issue which I am telling now.
The second feature that I miss the most is the ability to select words while reading any article and click Define to get the meaning of the word. Now on Android though I found word lookup but this doesn't work with opera. So I can't use both these features together which is a very bad experience for me. I have done enough search but can't find a browser that can word wrap the text as I zoom in and also has the ability to define words. I hope anyone of the experience users have answer to my query.

Categories

Resources