[PythonCE] Python CE port for Windows CE.Net 5.0 x86 processor

2007-10-16 Thread Patrick Lammens
Dear Gentlemen,

 

 

Starting from your port PythonCE-2.5-20061219-source.zip,

I've been able to port Python 2.5 to Windows CE for use

on Windows CE.Net 5.0 platform, with an x86 processor.

I compiled and linked with Visual Studio 2005.

 

I would like to upload my port to the pythonce Sourceforge page.

Is this possible ?

 

 

Best regards,

 

 

Patrick Lammens
Software Engineer
Punch Graphix Prepress Belgium nv
Oostkaai 50 - 8900 Ieper - Belgium
T: +32 (0)57 22 13 50 - F: +32 (0)57 46 79 02 - P: +32 (0)57 22 13 74
[EMAIL PROTECTED] - www.punchgraphix.com
 

 

___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] PythonCE on Smartphone (WM6)

2007-10-16 Thread Jorgen Bodde
Hi Christopher,

Thank you for your answer, I guess I need to find a port of wxWidgets
/ wxPython or some kind that targets the mobile platform better, or
instead use the Embedded Visual Studio with .NET. I love Python so I
hope there is a better alternative for the smartphone.

Regards,
- Jorgen

On 10/15/07, Christopher Fairbairn <[EMAIL PROTECTED]> wrote:
> Hi Jorgen,
>
> On Tue Oct 16  5:37 , "Jorgen Bodde"  sent:
> >I have PythonCE 2.5 and TKinter running on my smartphone. I wrote a
> >minimal app and I see a dialog with a button, but since it is a
> >smartphone which does only have number keys and a jog dial to control
> >the input, the window stays unresponsive to input. I cannot even set
> >the focus to a control.
>
> In general smartphone programming is slightly different from programming for a
> standard Pocket PC device.
>
> As you mentioned the first issue you typically come across is the lack of 
> ability
> to select a control. The solution to this is to programatically select the 
> first
> control on your window when initialising it. The OS has support within the 
> default
> window procedure to then allow the user to "tab" between controls when the up 
> or
> down arrow keys are pressed.
>
> A potentially larger problem with TKinter (a toolkit that I have no experience
> with) are issues around the standard controls such as combo boxes and buttons.
>
> On a Windows Mobile smartphone standard controls such as a combo box are 
> exactly
> the same as you would see on a Pocket PC device. This leads to usability 
> problems,
> for instance with a combo box there is no way to drop down it's list without 
> being
> able to click on the little arrow button to the side of the control, which you
> obviously can't do on most smartphones.
>
> For this reason Microsoft suggests using a series of alternative controls. For
> example what you may think is a combo box within a smartphone application is
> probably a 1 line high listbox coupled with an up/down spinbox auto-buddy 
> docked to
> its right.  Application frameworks such as the .NET Compact Framework 
> generally
> abstract this different within their control classes, so an application 
> programmer
> creates a "combobox" and the framework determines which set of native 
> controls need
> creation to implement this.
>
> I assume that TKinter probably hasn't been implemented with this kind of 
> thing in
> mind.
>
> Hope this helps,
> Christopher Fairbairn
>
> PS: Just thinking about it now I bieleve TKinter is a framework which 
> essentially
> draws all it's own custom controls. If this is the case the problem is 
> probably
> more involved, since you won't get the native OS support for selecting 
> controls on
> a smartphone etc.
>
> ___
> PythonCE mailing list
> PythonCE@python.org
> http://mail.python.org/mailman/listinfo/pythonce
>
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce


Re: [PythonCE] Python CE port for Windows CE.Net 5.0 x86 processor

2007-10-16 Thread Christopher Fairbairn
Hi Patrick,

On Wed Oct 17  1:04 , "Patrick Lammens"  sent:
>Starting from your port PythonCE-2.5-20061219-source.zip,
>I've been able to port Python 2.5 to Windows CE
>for use on Windows CE.Net 5.0 platform, with an
>x86 processor.

That is very exciting news and great timing!

I have been working on an updated PythonCE release (you can see the initial 
stages of 
this within the downloads page as the new pythonce-smartphone release). My 
initial 
efforts have been making a release which works better on newer Windows Mobile 
devices (as 
well as supporting optionally building with VS2005).

I would be interested in merging your patches with my updated release and 
comparing notes 
on how we've both independantly modified the build system to use VS2005 etc.

In fact I was actually going to email the pythonce@python.org mailing list 
today to see 
how many people were using PythonCE within the "raw" Windows CE environment. I 
have some 
local changes designed to improve the support on Windows CE devices (i've 
removed the 
hard dependency on aygshell for example) but wanted to guage how many people 
were using 
such a release before going too far.

How many people on this mailing list are using PythonCE within a Windows CE 
environment 
which is not Windows Mobile Pocket PC or Smartphone based?

Are you able to email your patches to me? I would be keen in rolling them into 
my next 
release (I am keen to get one source tree with all active development happening 
within 
it).

If you could send me a CAB file for the X86 build I could also probably get it 
uploaded 
to the website in the mean time.

Hope this helps,
Christopher Fairbairn
___
PythonCE mailing list
PythonCE@python.org
http://mail.python.org/mailman/listinfo/pythonce