Salam!
I am new to mobile development.
I want to read some data on nokia usb port or any port that is coming from external sensor ??
can any one guide me in selecting the port and is it possible to access mobile ports in java??
Salam!
I am new to mobile development.
I want to read some data on nokia usb port or any port that is coming from external sensor ??
can any one guide me in selecting the port and is it possible to access mobile ports in java??
good luck with that.
first, there is a fairly good chance that your usb port is slave only, which means that it will not be able to host a sensor anyway. secondly, i don't know of any documented way to access it, but it may be as simple as Connector.open, provided that you can find the proper URL, as well as it may simply be impossible.
simply that i just want to read digital 1 on usb port of symbian mobile ?? when it gets 1, an API will run. Is it possible ??
In other threads, you mention the Nokia C5. This model does not offer USB-OTG.
salam!
thanks to all for replying me on other threads.
Actually I am new to mobile development and no helper.
what i want to do that i wanna read digital 1 at mobile usb port of nokia c5 and based on this notification want to run an API.
am confused about accessing USB port??
is this possible in j2me?? or only in symbian??
digital 1 is coming from analog to digital converter and there is a wired connection between mobile and converter.
And after reading OTG article what i got that it is required where usb port will be acting as master. But i just want to read a signal (digital 1) on usb port?? is OTG is still required??
and if am on wrong side kindly guide me.....
$unl)!l@
As I replied here... http://discussion.forum.nokia.com/fo...l=1#post813321
"No way whatsoever from Java (which is a virtual machine environment isolated from the hardware and the host operating system) to access USB hardware/signals directly."
Salam!
I have one question more.
For my problem development do I still need to have USB-OTG specification??
Kindly Reply
$unl)!l@
I doubt that OTG would help you either. You'd still need a specific driver, and a full implementation of USB on the device you're connecting. You cannot treat a USB port just as a TTL input. There is also a comms protocol to support things like device detection and multiple devices on the same port.
Graham.