Unique serial number accessible programmatically on device?

2009-05-20 Thread Tim Allen
Hi all,

I'm developing on an N810 and it would be useful to be able to get
access to the device's serial number programmatically (or failing that
some other unique number like the Bluetooth MAC).

Can any point me in the right direction?  Is it available
in /sys/devices somewhere?  Seems like a maze to me!

Thanks,
Tim.

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Python and ZSI on maemo

2009-05-05 Thread Tim Allen
Hi there,

I am trying to write a python script for the N810 which polls a
directory for files being written by another process and makes web
service calls, one per file, before deleting the file.

I am having troubles with getting ZSI into the scratchbox.  There seems
to be a dependency on distutils.

I have managed to install and test ZSI on just straight Ubuntu fine.

Any tips?  Anyone have experience with this?

I'm new to maemo and python so any help appreciated!

Thanks,
Tim.

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


SOAP Web Services

2009-04-20 Thread Tim Allen
Hi all,

 

Is anyone able to tell me the best way to call a SOAP web service from an
app developed on Maemo?

 

Thanks in advance,

Tim Allen

 

 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: SOAP Web Services

2009-04-20 Thread Tim Allen
Hi Daniel,

Thanks a lot for the reply.

It will most probably just be written in C, but we'd consider Python if the
advantages were really there.  Do you think Python is quick to learn and how
do you think it compares for making a simple GTK app?

It is going to be an application that could be used by truck drivers to
declare the mass they have on board their vehicle.  This would be notified
to the back end via a web service call.  In time they will also be able to
declare their rest breaks, etc, using the app.

Directly creating the SOAP envelope and parsing the reply doesn't sound like
much fun - do you think it would take a lot of time to get right?

What's ZSI?

Cheers,
Tim.

-Original Message-
From: maemo-developers-boun...@maemo.org
[mailto:maemo-developers-boun...@maemo.org] On Behalf Of daniel wilms
Sent: Monday, 20 April 2009 3:42 PM
To: maemo-developers@maemo.org
Subject: Re: SOAP Web Services

hi,

I don't know, how you've created your app, but you could do it with Python.
There is a project, which does the parsing for you [1] and which helps u
setting up the client with the help of the WSDL file. But it depends on what
you want to do. If you only have one specific service, ZSI is a bit too much
I guess. You could directly create the SOAP envelope and send it with
urllib2 or httplib and then parse the response with python-xml.

if this does not help, give a few more details about your app ;)

[1] http://pywebsvcs.sourceforge.net/


daniel
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers