<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: e32socket code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Sun, 12 Oct 2008 14:33:16 GMT</pubDate>
    <description>DZone Snippets: e32socket code</description>
    <item>
      <title>PyS60 - SendFile</title>
      <link>http://snippets.dzone.com/posts/show/3040</link>
      <description>// Send File over Bluetooth&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;from appuifw import *&lt;br /&gt;from e32socket import *&lt;br /&gt;&lt;br /&gt;try:&lt;br /&gt;    phone = bt_obex_discover()&lt;br /&gt;    file = query(u'File Selection', 'text')&lt;br /&gt;    bt_obex_send_file(phone[0], phone[1].values()[0], file)&lt;br /&gt;    note(u'File Sent')&lt;br /&gt;except Exception, error:&lt;br /&gt;    note(unicode(error), 'error')&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Sun, 26 Nov 2006 21:12:40 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/3040</guid>
      <author>whitetiger ()</author>
    </item>
  </channel>
</rss>
