Re: [PythonCE] Accessing serial port with PythonCE 2.5

2015-12-16 Thread Adam Walley
Hello, Just to add to my previous message, the ceserial module uses ctypes to access the same functionality which would be used by a WinCE application written in VB or C#. I have just checked and Microsoft appear to still have the reference pages available, so you may find that the following link

Re: [PythonCE] Accessing serial port with PythonCE 2.5

2015-12-15 Thread Adam Walley
Hello, I thought I would send a short comment, as I have used the ceserial module (a long time ago) for my HP iPaq running PythonCE 2.5. I recall that the ceserial module tries to implement what the standard serial module does for Python, but depending on the actual version of ceserial used there

Re: [PythonCE] Installing python on Windows CE 7.0 device.

2012-06-14 Thread Adam Walley
Hi Sachin, Was wondering if you got this working? I would be interested to know whether it can be done for WinCE 7.0. Regarding the error with COREDLL.dll, if you are lucky this is just an issue with upper/lowercase. You could try renaming your COREDLL.dll file to coredll.dll, or Coredll.dll Unf

Re: [PythonCE] Input problem

2011-04-21 Thread Adam Walley
Hello, Ivan. Welcome to PythonCE. From your message, I think your script is probably working fine. The problem is that blasted dialog, which is covering your output. A very simple workaround is to add a few blank lines before printing your x value, so that it appears below the dialog (I know this

Re: [PythonCE] PythonCE - I'm a subscriber

2011-02-14 Thread Adam Walley
Hello, Ihsan. In general, I find it easier to develop my code on one of my main systems rather than directly on the mobile device (to transfer and test it on the device I would then use ftp or a usb cable and activesync). However, if you want to code and test directly on the mobile device, I sugg

Re: [PythonCE] PythonCE - I'm a subscriber

2011-02-10 Thread Adam Walley
Hi, Ihsan. Welcome to the list. I am not sure what you mean by programming without the '>>>'s, but I have a feeling that you mean the Python interpreter is not associated with .py files. Once the association is created in the registry, you can launch .py files. I use WM5, but I think WM6.1 will pr

Re: [PythonCE] tkinter for dell axim x30

2010-04-26 Thread Adam Walley
Hello, Ron. I think what you are after is out there and ready for you to use. It is called PocketPyGUI (or ppygui) and is a newer implementation than previous attempts at porting tkinter to Windows Mobile / WinCE (maybe that wasn't worded quite right - it's a package that allows easy Python access

[PythonCE] PythonCE and SSL

2010-03-30 Thread Adam Walley
Success! Using the TLSLite package I was able to achieve what I was aiming for - that is to access Gmail programmatically from PythonCE. For anyone interested, this is how I got there (after quite a bit of puzzling and trawling through the net): Having downloaded the TLSLite-0.3.8 package, I plac

Re: [PythonCE] How to determine special folder location

2010-03-29 Thread Adam Walley
Nice work. I will definitely make a note of that one. Thanks rodi. Adam. On 29 March 2010 23:02, rodi wrote: > Hello PytonCE users, > > have solved the question. The appropriate function > is 'SHGetSpecialFolderPath': see > http://msdn.microsoft.com/en-us/library/aa931257.aspx > > May be this

[PythonCE] PythonCE and SSL

2010-03-28 Thread Adam Walley
Hello, all. I would like to ask what the current status is with the SSL library in PythonCE. It is not available with my main PythonCE package (v2.5 19/12/2006), so is there any way to add it? I have not, until recently, had any reason to need the SSL module, but I came across the following handy

Re: [PythonCE] Beginner Questions

2010-03-14 Thread Adam Walley
w power so it seems logical > to use them this way. I have a few 3600 and 3660's lying around somewhere. > But first I must read a couple of books like Invent Your Own Games with > Python to get a feel for the language and get some programming experience > since it's my f

Re: [PythonCE] Beginner Questions

2010-03-14 Thread Adam Walley
Welcome, Christopher! I hope you like what you have seen so far with Python and PythonCE. To answer your questions: - Yes, the setup executable is intended to work through Activesync, so next time you connect Activesync will do the install on your device for you. - Running the setup executable d

Re: [PythonCE] kbhit type of functionality in PythonCE

2009-10-29 Thread Adam Walley
Hi, Cazaw. Welcome to PythonCE. I remember wrestling with similar issues with the raw_input. AFAIK its features are very limited and it does rather awkwardly appear over the PythonCE window. You can, of course, position your text output with some spacing. If you are satisfied with just a pause be

Re: [PythonCE] PythonCE Digest, Vol 69, Issue 1

2009-05-09 Thread Adam Walley
Nice find. Will check it out. Adam 2009/5/8 Tony Lee > Found this reference in > > http://markmail.org/message/cqi5g3b5ct3763fq > > Tried it and it worked beautifully. Love Python. > > Now need to see if the bluetooth works. > > BTW, I am using Samsung's blackjack 2. > > > > > Hello, Tony

Re: [PythonCE] Is there a script that would let me do this?

2009-05-08 Thread Adam Walley
Hello, Tony. Glad to hear PythonCE works well on WM6. I think there is a Python telnetlib module, but have not used it myself - you may need to write something to get it to do what you want. Perhaps there is also an SSH module that works on PythonCE? Alternatively, you could use the CERDisp utili

Re: [PythonCE] pygameCE / SDL question

2008-09-24 Thread Adam Walley
DL (granted, its not the latest one) -- but > non-fullscreen works out of the box. Did you make any modifications to the > core library in porting it? > > On Wed, Sep 24, 2008 at 7:26 AM, Adam Walley <[EMAIL PROTECTED]>wrote: > >> Hi, all. >> >> Apologies

[PythonCE] pygameCE / SDL question

2008-09-24 Thread Adam Walley
Hi, all. Apologies if this post is a little off PythonCE topic, but I am not sure where in the SDL groups I might send it. I thought Rene might have some ideas? Having had some success in getting some basic things working using PythonCE and the SDL library, I decided to persevere. Having recently

Re: [PythonCE] Can I execute external programs from PythonCe?

2008-09-06 Thread Adam Walley
Hello, Just thought I'd put my two cents in... Igor, have you tried the os.startfile('\mypath\pyprog.exe', 'myAction') command? Where action is normally 'open', but could be 'print' or some other option. It does not give you a reply from the external program, but launches it as if you had clicke

[PythonCE] demo PythonCE/SDL app

2008-09-03 Thread Adam Walley
Hi, all. As promised, here is a link to what I have created so far: watersprite.awardspace.com/python It is a work in progress, but all comments and suggestions are welcome (preferably constructive ones!). I have also had some success in using PPYGUI to call the SDL functions, so I can add an '

[PythonCE] pygame / ctypes / SDL

2008-08-29 Thread Adam Walley
Well, I have now got a small demo app working, which makes use of SDL LoadBMP, Surface, blit, audio (wav), keysym, and draw functions. I have compiled a small DLL, that allows access to these functions through ctypes, and it works very well. The core of the application is a python script, which the

Re: [PythonCE] pass Python string to C char *

2008-08-20 Thread Adam Walley
a standard Python string. Adam 2008/8/20 Adam Walley <[EMAIL PROTECTED]> > Hi, Jared. > > Thanks for the tip. I came across c_char_p("mystring"), but have not been > able to get it working. I also attempted a create_string_buffer("mystring"), > but also without

Re: [PythonCE] pass Python string to C char *

2008-08-19 Thread Adam Walley
/2008, Jared Forsyth <[EMAIL PROTECTED]> wrote: > > i believe its ctypes.c_str("mystring"). or maybe its c_char > > On Tue, Aug 19, 2008 at 12:25 PM, Adam Walley <[EMAIL PROTECTED]>wrote: > >> Hi, All. >> >> This question has probably been resolved

[PythonCE] pass Python string to C char *

2008-08-19 Thread Adam Walley
Hi, All. This question has probably been resolved many times over on various forums, but I was wondering what the best way is to pass a Python string (in my case a file path) to a DLL written in C that expects a char* input? Any suggestions? Adam ___ P

Re: [PythonCE] pygame / distutils

2008-08-15 Thread Adam Walley
ng. > - get some pygame modules running. > - get full pygame test suite working. > - port pygame example programs so they work ok on pythonCE too. > > > > > On Thu, Aug 7, 2008 at 6:47 PM, Adam Walley <[EMAIL PROTECTED]> wrote: > > My plans, exactly ;-) BTW w

Re: [PythonCE] DLL hourglass in ctypes

2008-08-13 Thread Adam Walley
7;s called (not knowing makes it harder to google). So thanks to Christopher for that tip. Adam. 2008/8/13 Adam Walley <[EMAIL PROTECTED]> > Well, my initial question certainly seems to have stirred some interest. > Thanks to everyone for the input. I think what I can draw from all

Re: [PythonCE] DLL hourglass in ctypes

2008-08-13 Thread Adam Walley
Well, my initial question certainly seems to have stirred some interest. Thanks to everyone for the input. I think what I can draw from all this is that: 1. The hourglass/busy icon is useful to give users an indication of when the application is busy 'grinding' away at something and user input is

[PythonCE] DLL hourglass in ctypes

2008-08-12 Thread Adam Walley
Hello, I am reporting back after some experimenting with building a DLL based on the SDL library. I have successfully created a very simple DLL that accepts 5 int values (color, x,y,w,h) and uses the SDL_RectFill function to draw directly to the screen. Then I use ctypes to import the DLL into pyt

Re: [PythonCE] pygame / distutils

2008-08-07 Thread Adam Walley
ng. > Then try and get a really simple, minimal python extension > compiling... and you guessed it, try and get them both compiling > together :) > > There's a few wince folks hanging out on the libsdl mailing list if > you have troubles there. > > cu, > > >

Re: [PythonCE] pygame / distutils

2008-08-06 Thread Adam Walley
Well, I have been attempting to get something working, but have been struggling to get the SDL compiled correctly (without SDL, there is no point in trying to get pygame working). In my investigations, I came across the SCUMM forum. Now the SCUMMVM appears to be a fully working product on various p

Re: [PythonCE] Python CE on a Intel XScale industrial device.

2008-07-31 Thread Adam Walley
Hi, Lachezar. I recall having the exact same message. I cannot remember which application I was using/trying to install at the time. The problem was easily fixed by obtaining a celib.dll and putting it into the Windows folder on my device. I believe you will find lots of posts about this. Adam.

[PythonCE] cegcc on Debian etch amd64

2008-07-29 Thread Adam Walley
Hello, all. I have not posted to the cegcc list before, but have been working on some pythonCE projects, where cegcc might prove a useful tool (I hope). I realise that the following is not really a pythonCE topic, but thought it might be useful to some of the list's readers given some of the recen

Re: [PythonCE] Python CE on a Intel XScale industrial device.

2008-07-28 Thread Adam Walley
One more word on the ASync - you are right that it does modify certain files when they are transfered, but not all. I have not tested this properly, but I believe that AS will recognise certain files (especially media) and convert them to work on within the limitations of the PPC device (e.g. lower

Re: [PythonCE] Python CE on a Intel XScale industrial device.

2008-07-28 Thread Adam Walley
Hi, Lachezar. I would agree with Jared. Not having used any XScale devices, I do not have what you might call hard evidence, but a quick Google for ARM and XScale lead me to the MSDN website, which seems to confirm that compiling for XScale is a specific target (and would therefore suggest that AR

Re: [PythonCE] pygame / distutils

2008-07-26 Thread Adam Walley
will report back. Thanks again for your input. Adam On 26/07/2008, Christopher Fairbairn <[EMAIL PROTECTED]> wrote: > > Hi, > > On Sat 26/07/08 05:13 , "Adam Walley" [EMAIL PROTECTED] sent: > > - is there already a way to get distutils working with PythonCE? >

[PythonCE] pygame / distutils

2008-07-25 Thread Adam Walley
Hi, All. I have been struggling to get things working with pygame. From trawling through newsgroups, repositories, and various other places, I have not found any conclusive method of getting pygame up and running on the WinCE platform. I think half of the problem is that I am unsure about the enti

Re: [PythonCE] PPYGUI - parent window and closing it

2008-07-10 Thread Adam Walley
Alexandre, Thank you for this news. I will update things tomorrow and see if it works. Just to be clear, when I originally tested my app, the Python shell launches and the ppygui app opens on top of it. I was able to go into settings/system/memory and close the Python shell without affecting the n

Re: [PythonCE] PPYGUI - parent window and closing it

2008-07-10 Thread Adam Walley
That's perfect! Thanks for your suggestions. I have adjusted the registry to allow for .pyw files without the shell (CeRegEditor did the job). Now when I run my code and press the 'X' in the top right corner, the whole thing exits smoothly and fully - Great! I didn't want to use tMan because that

[PythonCE] PPYGUI - parent window and closing it

2008-07-10 Thread Adam Walley
Hello, Alexandre. I have begun testing some ideas using the PPYGUI and find it very easy to work with. However, I would like to ask if there is a way to know when the user has pressed the 'X' button in the top right of the window to close the app? The reason I ask, is that when I run some ppygui c

[PythonCE] PpyGUI-win32 with Wine

2008-07-09 Thread Adam Walley
Hi, all. Finally got round to giving PpyGUI a go. So far, I have only been trying to get it up and running on all my systems. So no cute programs to show off (yet), but I thought it may be worth sharing my experience so far in getting things installed on my Linux AMD64 system. I am running the lat

[PythonCE] serial input problem

2008-03-31 Thread Adam Walley
From: Adam Walley <[EMAIL PROTECTED]> Date: 31 Mar 2008 13:15 Subject: Re: [PythonCE] serial input problem To: Jan Ischebeck <[EMAIL PROTECTED]> Hi, Jan. Thanks for the reply. I am using 19200 baud, but I have also checked 2400, 4800, 9600, 14400, 38400, 57600 - same result. The ot

[PythonCE] serial input problem

2008-03-30 Thread Adam Walley
Hi, All. I'm new to the list, but have been reading the posts for some time - I find it very useful. My question is about the Ceserial module. I use it on my PPC running WM5, with PythonCE 2.5. I have found that the Ceserial module works very well when communicating with another PC, but I have pr