Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Accessing Windows Mobile device Storage Card from Java?

I'd like to be able to access the contents of my Storage Card which is in my Windows Mobile device. Normally, I'd just remove the card and shove it in a card reader, but its encrypted (and thus, locked to my WM device).

Is there an API or some sort of framework allowing read/write access to the Storage Card (while PDA is docked to PC)?

Reason is: I'm sick of having to create playlists for each album every time I upload to it. I'd like to automate this process.

Any pointers would be greatly appreciated.

like image 846
Alex Lim Avatar asked May 02 '26 10:05

Alex Lim


2 Answers

When the PDA is connected to the PC you can use RAPI to access files, registry etc on a Windows Mobile device, but I don't know of a Java interface to it. Should be a piece of cake with JNI though... :-)

like image 115
activout.se Avatar answered May 04 '26 00:05

activout.se


RAPI (Remote API) is used for accessing the WM device from the desktop, and can be used to access files. See RAPI and CeCreateFile, or this tutorial on RAPI.
You can point it to files on the storage card by the "\Storage Card\" path.

But, as you notice, this is a C++ API... I'm not aware of any RAPI wrappers for Java, unfortunately.

like image 39
E Dominique Avatar answered May 03 '26 23:05

E Dominique



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!