• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help required in J2ME,please guide me

 
Salman Faraz
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Respected Friends,
I am using Sony Ericson K700i,in our normal PC if we want to make an object for a file so that we can perform operations on that file its syntax is something like the following:

File file1=new File("D://myfolder/myfile.txt");

Once this object is created we can perform many types of opeartions on our file namely myfile.txt indide the D://myfolder .Here the adress of the file myfile.txt is D://myfolder.Now my question is that if I am using a cell phone mentioned above and my java application and a file with name myfile.txt is present inside the folder "file manager" inside my mobile phone than whats the address of the file myfile.txt inside the mobile phone than what will be the address of this file.I think that there are no partitions inside the mobile phone like that in the harddisk of the PC so what will be the address of the file and how can I make the object of such file for an application inside the mobile phone.

Thanking You,
Salman Faraz.
 
gsd
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to access files on a phone, then the phone must have an implementation of the FileConnection part of JSR075. There will probably be several drives present on the phone (ROM, RAM, Media-card etc), but the Java implementation *may* restrict your access to these.

I've had a quick look and it doesn't look as if JSR075 has been implemented for the K700i, but I may be wrong.
 
sankar ganesh
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
sony ericsson k700i doesn't support jsr-75.to get the details abt sonyericsson mobile see this link
http://developer.sonyericsson.com/site/global/products/phones/phonegallery/p_phonegallery.jsp
 
Debojit Nag
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
Sony Ericsion is functionality is more or less matches with WTK default emulator. So, u can use
String lPath = "file:///root1/";
this may work.Let me know plz. Thanx.........
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic