Skip to content Skip to sidebar Skip to footer

Bigger Data Type Than String

The POST Message response that is returned from the server to my Android app is an essay. The String datatype unfortunately cannot store the entire essay. Can you suggest a data-ty

Solution 1:

I don't think that this is String size problem.

Eg.

An A4 page covered with characters stores about 5000 characters. Acording to this, the maximum length of String is 2147483647 characters.

2147483647/5000 = 429496 pages

The Encyclopædia Britannica has 32640 pages and about 44000000 words with average 6.1 characters per word.

Why are you trying to send 8 Encyclopædias?

Post a Comment for "Bigger Data Type Than String"