Skip to main content

How to use File Connection APIs in CDC Applications?

2 replies [Last post]
Joined: 2007-10-25
Points: 0


I am writing a CDC Application using sun's CDC Tool Kit.In that I have a situation where I need to use File Connection APIs. But there is no File Connection API in the CDCTK library.
My problem is , i want to create a file and will use OpenoutputStream.Actually if we use JSR75, we can create in CLDC.

How can we void this situation?

Thanks& Regards

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2006-12-18
Points: 0

You can even use package for file manipulation.

Joined: 2004-03-04
Points: 0

Sorry for the slow reply, I'm recovering from JavaOne ...

I haven't used the CDC toolkit lately but you should be able to add the FileConnection API as an optional package. See

Hope this helps,

-- Terrence