i want to access COM port . i want to connect mobile handset with pc and access it through COM port. how can i do it in java .

I believe there's a library somewhere on the net that allows serial port communications in Java from some specific operating systems.
You'd need that plus the documentation from your phone manufacturer on how to actually talk to it over that port).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.