test FileConnection API in PC

Hi friends

I have question regarding code testing for saving files to PC using file connection API

wht path i have to give if i want to save files from emulator to my pc

to save files to mobile phones, we are using the path "file:///c:/" or "file:///e:/"

and its working fine.

but each time i have to test the code in actual phone, how can I do in my pc?

thanks,

Alpesh

[418 byte] By [Alpesh_DNSa] at [2007-11-26 20:03:43]
# 1

Hi Alpesh,

when you are running your application on the PC (I suppose you use some sort of emulator) you can save the files only in the special directories under emulator installation folder. For example for WTK you can try "file:///root1/<your_file>" and the file will appear under the <WTK_DIR>/appdb/DefaultColorPhone/filesystem/root1

Regards,

Alex

Tigra321a at 2007-7-9 23:03:36 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2
thanks dearits working fine :)once a again thanks a lotAlpesh
Alpesh_DNSa at 2007-7-9 23:03:36 > top of Java-index,Java Mobility Forums,Java ME Technologies...