[PythonCE] How do you develop on the PocketPC?

Brian Brown brian at ablelinktech.com
Mon Jan 9 18:04:55 CET 2006


We have wrapped a bunch of RAPI in ctypes, and will be releasing it  
in the next week or so to the PocketPC project.

We can read and write files, create processes, enumerate storage and  
directories, etc. It's a great starting place for anything else as  
well. I've attached it.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: LICENSE.txt
Url: http://mail.python.org/pipermail/pythonce/attachments/20060109/5302e549/attachment.txt 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pocketRapi.py
Type: text/x-python-script
Size: 8530 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonce/attachments/20060109/5302e549/attachment.bin 
-------------- next part --------------


On Jan 9, 2006, at 9:00 AM, Luke Dunstan wrote:

>
> ----- Original Message ----- From: "Thomas Heller"  
> <theller at python.net>
> To: <pythonce at python.org>
> Sent: Monday, January 09, 2006 10:42 PM
> Subject: Re: [PythonCE] How do you develop on the PocketPC?
>
>
>> "Luke Dunstan" <coder_infidel at hotmail.com> writes:
>>
>>> I'm sorry to say that I've seen the NULL bug before but have been  
>>> too
>>> distracted by the task at hand to fix it, but here is a patch that
>>> fixes it.
>>>
>>> By the way, I've recently tried running the remote part of "winpdb"
>>> (http://www.digitalpeers.com/pythondebugger/) on Windows CE and
>>> connecting to it over TCP/IP from the GUI running on the PC, and  
>>> after
>>> a trivial change (to handle a lack of PATH environment variable) it
>>> worked fine. Personally I would rather have the ability to  
>>> communicate
>>> to the remote debugger using ActiveSync rather than only TCP/IP
>>> because it is more convenient especially since I only have Bluetooth
>>> not WiFi, so I have been investigating using the Remote API (RAPI).
>>
>> In case you are talking about the scripts I posted: Although the  
>> client
>> and server connect via TCP/IP, the only connection between the  
>> pockect
>> PC and the desktop computer I have is the cradle with an USB  
>> cable, plus
>> activesync (3.8, IIRC) running.  It seems activesync emulates  
>> internet
>> connection on the pocket pc.
>>
>> Thomas
>
> I have noticed that IE works on the PDA when cradled, but I know  
> that ActiveSync is not providing a real network adapter on the PC  
> side because an extra IP does not appear in the output of  
> 'ipconfig'. This prevents running TCP listen servers on the PDA but  
> it is true that your method works nicely in this case. As a  
> demonstration of how we could make it even more convenient, I have  
> modified it slightly so that the server starts the client script on  
> the PDA remotely, using RAPI via ctypes. I have put the  
> experimental RAPI interfacing code in a separate module "wincerapi".
>
> We should probably consider putting all these scripts in CVS  
> somewhere.
>
> Luke
> <pyceserver.py>
> <wincerapi.py>
> _______________________________________________
> PythonCE mailing list
> PythonCE at python.org
> http://mail.python.org/mailman/listinfo/pythonce



More information about the PythonCE mailing list