Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > how to send files via bluetooth with python to a mobile

Reply
Thread Tools

how to send files via bluetooth with python to a mobile

 
 
Drex
Guest
Posts: n/a
 
      07-01-2007
Hi,

I have been looking on the internet for some info about sending files
from PC to a mobile phone (I have a nokia 628 but I was not able to
find anything.

there is a lot of info how to transfer files from a symbian phone to a
pc, but nothing about sending them in the oposite direction.

would anybody point me to some resources on the topic?

thanks, regards
dz

 
Reply With Quote
 
 
 
 
vedrandekovic@v-programs.com
Guest
Posts: n/a
 
      07-01-2007

Drex je napisao/la:
> Hi,
>
> I have been looking on the internet for some info about sending files
> from PC to a mobile phone (I have a nokia 628 but I was not able to
> find anything.
>
> there is a lot of info how to transfer files from a symbian phone to a
> pc, but nothing about sending them in the oposite direction.
>
> would anybody point me to some resources on the topic?
>
> thanks, regards
> dz


Hi,

I'm not sure but try this: ( py_s60 )

http://sourceforge.net/projects/pyed/

regards,

vedran

 
Reply With Quote
 
 
 
 
vedrandekovic@v-programs.com
Guest
Posts: n/a
 
      07-01-2007

vedrandeko...@v-programs.com je napisao/la:
> Drex je napisao/la:
> > Hi,
> >
> > I have been looking on the internet for some info about sending files
> > from PC to a mobile phone (I have a nokia 628 but I was not able to
> > find anything.
> >
> > there is a lot of info how to transfer files from a symbian phone to a
> > pc, but nothing about sending them in the oposite direction.
> >
> > would anybody point me to some resources on the topic?
> >
> > thanks, regards
> > dz

>
> Hi,
>
> I'm not sure but try this: ( py_s60 )
>
> http://sourceforge.net/projects/pyed/
>
> regards,
>
> vedran


Hi again,

and also try this:

http://sourceforge.net/projects/pys60

regards,

vedran

 
Reply With Quote
 
Drex
Guest
Posts: n/a
 
      07-01-2007
Hey,

> > I'm not sure but try this: ( py_s60 )

>
> >http://sourceforge.net/projects/pyed/


> and also try this:
>
> http://sourceforge.net/projects/pys60


thanks, but I am affraid this is not what I was looking for. I need to
have some library on my pc (linux) that would allow me to transfer a
file to a bluetooth mobile phone (the mine doesn't have symbian). I
have some programs that allow to do that like for ex. obex_client but
I would like to write something similar using python.

thanks!
regards
dz


 
Reply With Quote
 
Diez B. Roggisch
Guest
Posts: n/a
 
      07-01-2007
Drex schrieb:
> Hey,
>
>>> I'm not sure but try this: ( py_s60 )
>>> http://sourceforge.net/projects/pyed/

>
>> and also try this:
>>
>> http://sourceforge.net/projects/pys60

>
> thanks, but I am affraid this is not what I was looking for. I need to
> have some library on my pc (linux) that would allow me to transfer a
> file to a bluetooth mobile phone (the mine doesn't have symbian). I
> have some programs that allow to do that like for ex. obex_client but
> I would like to write something similar using python.



Wrap this

http://www.zuckschwerdt.org/apidocs/

using ctypes.

Diez
 
Reply With Quote
 
Drex
Guest
Posts: n/a
 
      07-01-2007
Hello,

>
> Wrap this
>
> http://www.zuckschwerdt.org/apidocs/
>
> using ctypes.


thanks, no idea on how to do it (yet hopefully), but I will try

regards
dz

 
Reply With Quote
 
morphine
Guest
Posts: n/a
 
      07-01-2007
Diez B. Roggisch wrote:

> Wrap this
>
> http://www.zuckschwerdt.org/apidocs/


seams that python bindings are already there?
http://dev.zuckschwerdt.org/openobex...leClientPython

--
morphine
 
Reply With Quote
 
Diez B. Roggisch
Guest
Posts: n/a
 
      07-01-2007
morphine schrieb:
> Diez B. Roggisch wrote:
>
>> Wrap this
>>
>> http://www.zuckschwerdt.org/apidocs/

>
> seams that python bindings are already there?
> http://dev.zuckschwerdt.org/openobex...leClientPython


Cool, didn't find that.

diez
 
Reply With Quote
 
Drex
Guest
Posts: n/a
 
      07-02-2007
Hello,

> > seams thatpythonbindings are already there?
> >http://dev.zuckschwerdt.org/openobex...leClientPython

>
> Cool, didn't find that.


thanks, this looks to be what I was looking for!

regards
dz

 
Reply With Quote
 
Drex
Guest
Posts: n/a
 
      07-03-2007
Hi, I tried the example from the site
http://dev.zuckschwerdt.org/openobex...leClientPython

but I am getting the following error:

/home/daniel/projekty/_moje/python/send_txt_to_mobile.py
Traceback (most recent call last):
File "/home/daniel/projekty/_moje/python/send_txt_to_mobile.py", line
5, in
devs = cli.discover();
File "/usr/local/lib/python2.5/site-packages/obexftp/__init__.py",
line 37, in
__getattr__ = lambda self, name: _swig_getattr(self, client, name)
File "/usr/local/lib/python2.5/site-packages/obexftp/__init__.py",
line 21, in _swig_getattr
raise AttributeError,name
AttributeError: discover

on this line:
devs = cli.discover()

any idea what might cause it?

thanks in advance
dz

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
iPhone4,iPhone3,Ipad,Apple Mobile,Blackberry Mobile,HTC Mobile,LGMobile,Motorola Mobile,Nokia Mobile,Samsung Mobile chen selina C++ 0 07-13-2010 08:53 AM
cheap LG Mobile Motorola Mobile Nokia Mobile Philips MobileSony-ericsson Mobile yuwenwu004@gmail.com C++ 0 12-09-2007 09:02 PM
cheap LG Mobile Motorola Mobile Nokia Mobile Philips MobileSony-ericsson Mobile yuwenwu004@gmail.com Java 0 12-09-2007 09:02 PM
cheap LG Mobile Motorola Mobile Nokia Mobile Philips MobileSony-ericsson Mobile yuwenwu004@gmail.com C Programming 0 12-09-2007 09:02 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57