Edittext text length limited to 10000?

Tikehan

Member
Licensed User
Longtime User
Hi all

My application has always worked well on all devices, but on one, after the upgrade to ICS 4.0.4, seems that the maximum number of characters in a EditText has been limited to 10000. I understand that I could limit the size of files to be loaded into the EditText, but I wonder if there is a possibility bypass this limitation that I've found only in this phone (lg p970) and with this version of Android (Before upgrading I could load files of 60000 characters without problems)

Thanks to all
 

JonPM

Well-Known Member
Licensed User
Longtime User
That's a lot of characters for an EditText. Just curious, why do you need more?
 
Upvote 0

Tikehan

Member
Licensed User
Longtime User
Hi JonPM

This EditText must contain a long list of error codes and their descriptions refer to abnormalities of a equipment. there is then a routine that allows the display of the list starting from the error code desired, with the possibility of scrolling the text. I know that I could convert everything into a database, but there would be a crazy manual work
 
Upvote 0

Tikehan

Member
Licensed User
Longtime User
webview is an option that I had considered, but the search for a string would be more difficult (in EditText use edittext1.text.indexof (MyCode) and then the set SelectionStart). However, I'll just make an attempt. What I do not understand is why in other versions of Android do not have this problem
 
Upvote 0

mc73

Well-Known Member
Licensed User
Longtime User
You can use javascript in order to highlight your search and its subsequent content. But surely, I agree it's not as easy as setting the selectionStart of an editTextBox.
 
Upvote 0
Top