Jquery Mobile on Android - trouble with Cyrillic auto-complete - android

I'm trying to perform autocomplete with Cyrillic and English data.
If I type some search text in English everything is fine (except overall speed of jQuery on Android), but when I try to search for something in Russian or Ukrainian the phone sticks.

How does a phone stick?
Ok, seriously - See if this has to do with encoding. Maybe at some stage you didn't define encoding as utf-8. Be sure to do it in HTML head and on the server side.
[edit]
The problem seems to be with keypress event.
After you preform tests I suggested (running on desktop webkit and checking if keypress is triggered at all in android) report back and I will be able to help and fill in this answer

Related

Windows Microsoft Word - Android style multilingual predictive text

I was wondering if it's possible to have android style multilingual predictive text in Windows (to be used with Microsoft Word, for example)? I'm learning Turkish and I have English and Turkish languages enabled on my phone. I can type in both English and Turkish without changing my keyboard/input at all - it just detects what I'm trying to type and replaces, or gives me the option to replace, the word with the correct one including Turkish specific letters.
Windows is comparatively clunky and awkward to use, typing in both languages and correcting mistakes is fiddly and annoying. I've tried some settings that I've found in regards to prediction and proofing etc. but none come remotely close to replicating the android style predictive text.

Angularjs textarea data binding issue in Android 4.0.4 browser

I am working on for creating mobile web application using Angularjs. In one of my page, i used text area for getting some information from user. Also showing users how many characters more remaining, so they aware of maximum limit.
The issue i am getting is, UI is not updating the remaining characters value, during typing inside text area. Furthermore, remaining characters value updates, when user press enter or go to typing next line in text area.
Above issue is not reproducing in PC web browser, iOS safari browsers and Samsung Galaxy phone browser. Only issue i am getting is for Android Tablet running Android OS version 4.0.4.
Here is sample code:
<textarea id="textAreaId" name="textAreaName" class="input-block-level" rows="7" placeholder="Enter your text here." ng-model="oTextArea"></textarea>
<div>length {{oTextArea.length}}</div>
<div>text {{oTextArea}}</div>
In above code length and text div did not update value during typing inside text area for Android Tablet running Android OS version 4.0.4.
if anyone know any solution or reason why it is happening for Android Tablet, then please let me know. Thanks in advance.

Dipaly farsi text in android webview (for phones not supporting farsi)

In farsi letters are attach together to form writing scripts. However when I save HTML pages using "UTF-8" or "Windows-1256" encdoings, and try to display them using webview in android, letters are diplayed seperately and in left-to-right direction (instead of RTL).
I should notice that this case is not happening in phones supporting farsi.
Correct form should be like this (snapshot from phone supporting farsi):
Bad-formed text happens in phones not supporing farsi (Persian):
It should be noticed i've used persian font in both cases.
I also see some solutions for normal Strings in java which changes character on by one in this
question
My question: Can i fix this cases (or it should be fix by phone vendors)? if possible what is solution?
I hit this bug a lot when I was doing keyboards. The problem is that the build in canvas.drawText function in Android didn't support RTL languages. There was a patch for it, but it wasn't part of the default build of Android. So only models going out to those parts of the world that used it tended to have it. Unfortunately I know of no way to test whether it has the patch. And if it doesn't, there's no way to fix it. You could try reversing the text, but then you'd break devices which did have the patch.
Long story short- there is no way to fix it. However, I'd be shocked if Google hasn't picked up the patch in mainline by now (it existed back in the 2.2 days), so its a shrinking number of phones effected.
You can try making html with reverse font sequence! just write a windows app to get font and deliver reverse one, and use it in your android device

Unicode symbols not displaying correctly in mobile devices

While I'm developing responsive website I have used this uni-code ( » ) to the read more links. It is displaying correctly in desktop browser but it is not displaying correctly in mobile devices like android or iPhone. Is it possible to display the same as in desktop..? What's the problem..? Whether the mobile device doesn't support uni-code..?
The problem is in the embedded font you use, via #font face. The version used by Android is apparently broken. It does not display “»”, and it has problems with many other Latin 1 Supplement characters too, see my test page. Something may have gone wrong when you set up the font files on your server.
The problem does not appear if you remove the font-family setting, letting each browser use its default font, or if you use Droid Sans as hosted by Google, using <link href='http://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet'> and font-family: "Droid Sans", sans-serif.
The problem is most probably not in the display of a character (“»”, U+00BB RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK, is very widely supported in fonts) but in the character encoding. If the encoding is not properly declared, different browsers may make different guesses.
Check out the W3C page Character encodings, and make sure that the declared encoding matches the actual one.
If problems remain, please post a URL and explain what “is not displaying correctly” means (not displaying at all? space shown? some wrong characters shown? which?).
android does not support special characters, in android we need to write > to show ">" character. why don't you use image instead of characters.

Android HTML input field correction/completion is awful

Try this on a modern (ICS, Jelly bean) Android device:
Open the Messaging app and type a sentence to someone. The keyboard is snappy, the completion works well, and spaces are added after words are completed.
Open www.google.com in the browser or Chrome for Android and type the same sentence in the search field. It sucks. The completion is awful, the correction doesn't work (it suggests corrections but never choose them automatically), and spaces aren't inserted after words.
What's the deal? Is there any way I can improve the completion correction on my HTML pages, maybe by adding some hidden attributes to the <input> elements?

Categories

Resources