i have the following task:an image file gets read via http-connection from a server. this byte-array is written to a recordstore and loaded for creating (restoring) the image.

theoretically this works fine. i got real devices and emulators which perform this without any issues but others seem to have quite big problems creating the image from recordstore.i am very sure that the bytes get read from server and written into recordstore properly (number of bytes is correct, i can output the png-header etc).

is actually reading in all the data?Try checking the return value of that method and see if it's actually the size of the data.

shmoove

[edit]I would also try and make sure that the byte array contains the correct data by packagind the same image in the jar, opening it with getResourceAsStream and comparing it the the rawData array.[/edit]

hmm, dont make make another headache now. ive tested it succsessfully on all available phones here and thought the problem was solved.but nothing i can do about it now, as with all mobile development ..

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org