| Reply | « Previous Thread | Next Thread » |
|
Please any one can help me only tips will be good if any one can guide me
that inwhich i can solue my problem. on the server side my code is the following (the server is j2se server) File f1=new File(inFromClient); File[] f2=f1.listFiles(); for(int i=0; i<f2.length; i++){ //System.out.println(f2[i]); path=path+""+f2[i]+"\r\n"; } //System.out.println(path); out.write(path); out.close(); On the client side i have given the input "F:\Mobile Songs" and have produced the following result on the j2me client side F:\Mobile Songs\AVSEQ10_mpeg4.mp4 F:\Mobile Songs\hai guzarish_mpeg4.mp4 F:\Mobile Songs\teray bina.avi F:\Mobile Songs\Tujay mere qasam.avi F:\Mobile Songs\YEH MERA.avi F:\Mobile Songs\Zindagi istra say.avi F:\Mobile Songs\Thumbs.db F:\Mobile Songs\zara_sa.mp4 F:\Mobile Songs\marjaani_billubarber.mp4 F:\Mobile Songs\love_mera_hit_hit.mp4 F:\Mobile Songs\haule_haule.mp4 F:\Mobile Songs\dance_pe_chance.mp4 F:\Mobile Songs\RabNayBanaDeJoore1.3g2 F:\Mobile Songs\RabNayBanaDeJoore2.3g2 F:\Mobile Songs\VTS_02_0.3gp F:\Mobile Songs\VTS_02_1.3gp F:\Mobile Songs\VTS_02_2.3gp now i am telling u to every one that i have displayed the result on the client side on the form but now i don't know about dynamic listing i.e in which i can select one of the file that request goes to server for streaming the video file from j2se server to j2me client. only tips will be good for me if u give me "for selecting any one of the file" i know about static listing of files but don't know about dynamic listing of files OR any body tell me inwhich way i can put every line of output to j2me list. and also it work for me like this way in the beginning of every line in list start with index number 1. 2. 3. 4. and so on up to the number of files given in each line. i want that this index number can help me in selecting the specific line that represent file that has to be sent to server |
| ziathegreat |
| View Public Profile |
| Find all posts by ziathegreat |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| J2ME List | abhi4busy | Mobile Java General | 3 | 2009-06-27 09:57 |
| J2ME and contact list | morphine_titan | Mobile Java General | 7 | 2009-01-06 08:49 |
| Problem with Skin enabling - disabling and Setting List in S60 | sauvikds | Series 40 & S60 Platform Feedback | 6 | 2008-08-23 15:29 |
| 急问:嵌入汇编遇到的几个问题!!! | wangfei406 | Symbian | 3 | 2005-11-29 09:11 |
| How to add entries to To-Do List (V Urgent) | dijox | General Symbian C++ | 1 | 2002-07-16 20:41 |