Sunday, 15 March 2015

java - Why bundle loses data type of top-level array? -


I am trying to exceed the 2-dimensional array of stars in my activity using the bundle:

  bundle. Input Extra ("Myadda", Serialable Array); ... data = bundle. Gate-serializable ("mydata");  

Then, data.toString () returns [Ljava.lang.Object; @ 421b93e0 .

In general Java, the string of the same deserialized object is represented by [[Ljava.lang.String; @ 32d16dc8 .

Why does the bundle pass its data in such a strange way? Can I put it in my array in every object by string []

without a normal Am I

No comments:

Post a Comment