08-05-2010 02:13 AM
@kanna :
should i use this in the dom parser code itself or create a seperate dom thread?
08-05-2010 02:14 AM
Read the post by Ekansh again. You can't do what you want using a single connection.
08-05-2010 02:26 AM
yes, you can use it in the same dom parse.
Also I have mentioned in which part you have to use that codes, in the same post.
08-05-2010 02:33 AM
Ekansh is right, but in this placehttp://www.com//, of the line below
String URLArray[i]= " http://www.com//"+ImageArray[i];
my http://www.com// is going to be constant only the values of ImageArray is different
say ,
08-05-2010 02:38 AM
I was responding to this:
kirthiga wrote:
so if i pass the UrlArray[] in the place ,
connection = (HttpConnection) Connector.open( URLArray+";deviceside=true" , Connector.READ, true);
That will generate an error because URLArray+"..." is not going to be anything that Connector.open will recognize. You need a separate HttpConnection for each element of URLArray.
08-05-2010 02:47 AM - edited 08-05-2010 02:47 AM
fine .. i did it in a seperate httpconnection only ..
but the list is empty .. no images are being displayed .
no error too
08-05-2010 02:55 AM
Post the code what u did.
08-05-2010 02:57 AM
better way is, download all the images in a seperate thread and keep it in array, and use it in the list