I'm doing an app for Android using Java and Eclipse. I did some research and apparently there is no limit in Java for how long the strings can be. So, I set up my database with a single string containing some 40000-50000 characters and it worked really well (Eclipse to Samsung Galaxy S3). Then I got an issue with updating Eclipse and therefore I decided to continue programming with this new "Android Studio" instead. Everything works fine except I get this Error(at line) java: constant string too long. Is there a max limit for string lengths in Android Studio but not in Eclipse? Is there somehow I can set the preferences so Android Studio accepts these long strings ?
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in ANDROID-STUDIO
- how do i submit a pastebin or pastee from an android app and get the url back
- Getresource id Error
- Call special fragment in Navigation Drawer Activity from separate Activity
- Debug native code in Android Studio
- How to introduce in this AlertDialog a onBackButtonPressed method?
- Android Studio : All of a sudden cannot resolve symbol 'ActionBarActivity'
- Error connecting to Google Play Games
- Android Studio - Illegal character 8204 error
- Android Studio unable to run the project
- How do I know what is available in minSdkVersion in Android Studio?
- Android Studio update (version 1.2.1.1) - Cannot resolve symbol 'TintCheckBox'
- How to accept cookies when using a webservice - Android?
- How can I always show Android Studios Preview?
- Android Studio cannot recognize "setAdapter()" method
- Error inflating class Android support design
Related Questions in STRING-LENGTH
- How to calculate a length of array with out using library
- Concatenation of strings array issues in Python: Str(ArrayOfString[1])+" "+Str(ArrayOfString[2]) doesn't seem to work
- Issues With length() And Multiples Of 3
- Subclass Method That Generates Different Message If Input Len > 20
- How to get range of textField text till 6 characters?
- How to not count special character and vowels occurences in string length using user input
- Read File Line by Line and Count in Matlab;save in one string
- How to format the string to certain length and show it new line in an array using PHP
- comparing identical strings returns false
- JQuery string length
- In C, sort array of strings by string length
- Why is the size of my string changing? (C)
- Find out if a value is within a range with one if clause in PHP?
- How to count the number of terms in a table with postgresql?
- limiting characters after dot - java
Related Questions in MAXSTRINGCONTENTLENGTH
- Issue with maxStringContentLength on WCF
- Specifying a WCF binding when using ServiceRoute
- WP7: Error Serializing String in WebService call
- ASP.NET web service maximum array length quota
- InputFile.PostedFile.ContentLength Units of measurement
- Dynamic String Size
- What does readerQuotas --> maxStringContentLength exactly refer to?
- WCF MaxStringContentLength is never updated!
- Sending object to WCF service. MaxStringContentLength (8192 bytes) exceeded when deserializing
- WCF: maxStringContentLength always set to 8192
- Transfer large of data using wcf service
- Is there any way to get a string over the 65535 limit
- String length limit
- WCF MaxStringContentLength
- WCF bindingConfiguration Issue
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?