File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes Controling mobile phone port with J2ME Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Controling mobile phone port with J2ME" Watch "Controling mobile phone port with J2ME" New topic
Author

Controling mobile phone port with J2ME

Siddhesh Deodhar
Ranch Hand

Joined: Mar 05, 2009
Posts: 118
Hi all

I was looking out for a way to control Mobile phone's port using J2me code. I searched on the net but could not get much.
Only learn t that my Mobile phone's(Sony Ericson W 700) port is DCU 60 and some drivers are required to access it.

Your help on this will act like catalyst for my analysis. Point me to any documentation/site where I can get some deeper information.



Good, Better, Best, Don't take rest until, Good becomes Better, and Better becomes Best.
Sidd : (SCJP 6 [90%] )
Madhan Sundararajan Devaki
Ranch Hand

Joined: Mar 18, 2011
Posts: 312

1 What do you mean by controlling a port?

2 Is it a hardware port?


S.D. MADHAN
Not many get the right opportunity !
Siddhesh Deodhar
Ranch Hand

Joined: Mar 05, 2009
Posts: 118
I mean to say port by which we connect Mobile phone to USB or to charger.

Do correct me if I am using wrong word.

Madhan Sundararajan Devaki
Ranch Hand

Joined: Mar 18, 2011
Posts: 312

Yes, you can access your phone' port only via its device driver.

However, you may need to first check if the device driver exposes its API publicly.

If this is the case, then you may write JNI to access the API and do the needful.
Siddhesh Deodhar
Ranch Hand

Joined: Mar 05, 2009
Posts: 118
Thanks Madhan

I will try my best to go deep into this matter. will get back if I have any difficulty.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Controling mobile phone port with J2ME