Office Hours — Today, August 9

Tuesday, August 7

Aug 9
7:25 PM
Mark M.
has entered the room
Mark M.
turned on guest access
Ron T.
has entered the room
Mark M.
howdy, Ron!
how can I help you today?
Ron T.
View paste (3 more lines)
I would like to pass a JSON String in an intent from one Activity to another. 

The JSON string can be either a string representation of a JSONOBJECT or a string representation of a JSONARRAY


I have the following questions:


1. Is there a difference between the string in the intent as an extra or putting it into a Bundle then putting the Bundle in the Intent?

2. Is there a length limit on putting strings in intents/bundles?

3. Will any of the special characters of the JSON format interfere with it being passed correctly?


...
Mark M.
1. yes, the latter takes up more heap space and CPU time
2. I'd try to keep in in the dozens-of-KB range
3. not that I am aware of
Ron T.
Okay, I'll proceed with that. Next question: Is it difficult to use Arial font?
Mark M.
first, you have to buy a license
which is probably a show-stopper right there
technically, using a third-party font is tedious to do across the board but certainly doable
7:30 PM
Ron T.
I assume the license is bought from the 3rd party and there are suppliers?
Mark M.
if by "suppliers" you mean firms like Monotype, yes
Ron T.
Great, I'll check on it. Thanks, that is all I need tonight. Probably touch base next week!
Mark M.
OK
Ron T.
has left the room
8:25 PM
Mark M.
turned off guest access

Tuesday, August 7

 

Office Hours

People in this transcript

  • Mark Murphy
  • Ron Thomas