<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=220.233.186.192</id>
	<title>Maemo Wiki Mirror - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=220.233.186.192"/>
	<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php/Special:Contributions/220.233.186.192"/>
	<updated>2026-04-22T04:44:06Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Importing_data&amp;diff=13294</id>
		<title>Importing data</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Importing_data&amp;diff=13294"/>
		<updated>2010-05-31T15:00:02Z</updated>

		<summary type="html">&lt;p&gt;220.233.186.192: Added importing iPhone&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;New users of Maemo operating system may run into trouble when trying to move their data (contacts, sms, calendar) from different platforms... This page contains informations on how to circumvent limitations of currently implemented Maemo&#039;s import functionality...&lt;br /&gt;
&lt;br /&gt;
== Importing from Windows Mobile ==&lt;br /&gt;
&lt;br /&gt;
For this to be done, it&#039;s probably the best to use the freeware app http://freewareppc.com/database/pimbackup.shtml on the WinMobile device and backup all the data to a single file (with binary storage turned off) - the following subsections contain simple scripts on how to import data from the backup file to a Maemo (N900) device...&lt;br /&gt;
&lt;br /&gt;
[[Importing Windows Mobile contacts|Importing contacts]]&lt;br /&gt;
&lt;br /&gt;
[[Importing Windows Mobile sms|Importing sms]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Importing from Android ==&lt;br /&gt;
&lt;br /&gt;
[[Importing Android contacts|Importing contacts]]&lt;br /&gt;
&lt;br /&gt;
[[Importing Android sms|Importing sms]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Importing from Symbian ==&lt;br /&gt;
&lt;br /&gt;
[http://talk.maemo.org/showthread.php?t=37354 Importing sms]&lt;br /&gt;
&lt;br /&gt;
== Importing from iPhone == &lt;br /&gt;
&lt;br /&gt;
[http://wiki.maemo.org/Importing_iPhone_Contacts Importing iPhone]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Power users]]&lt;/div&gt;</summary>
		<author><name>220.233.186.192</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Importing_iPhone_Contacts&amp;diff=13300</id>
		<title>Importing iPhone Contacts</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Importing_iPhone_Contacts&amp;diff=13300"/>
		<updated>2010-05-31T14:48:44Z</updated>

		<summary type="html">&lt;p&gt;220.233.186.192: Added code, too tired to learn to wiki properly. Someone can tidy later ;)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Import how to ==&lt;br /&gt;
&lt;br /&gt;
To import data, we first need to jailbreak the iPhone.  There are many tutorials for this on the net. After jailbreaking, ensure that you have the package &amp;quot;Cydia&amp;quot; installed (usually included by default).&lt;br /&gt;
&lt;br /&gt;
# From Cydia, install securedContacts (from the BigBoss repository)&lt;br /&gt;
# Run securedContacts, and download the resulting csv file on your PC.&lt;br /&gt;
&lt;br /&gt;
== contact.py ==&lt;br /&gt;
&lt;br /&gt;
The following code will take the output csv file and transfer it into one large vcf file which you can import using the Contacts application on your n900.&lt;br /&gt;
One drawback to using the securedContacts seems to be that any location information is lost, but I found this import a million times better than doing it by hand. Just copy the code into a new file &amp;quot;contact.py&amp;quot; and then rename your csv along side it as &amp;quot;contacts.csv&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
You can run the code with &lt;br /&gt;
python contact.py &amp;gt; contacts.vcf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/usr/bin/env python&lt;br /&gt;
import re&lt;br /&gt;
import datetime, time&lt;br /&gt;
fh = open(&#039;contacts.csv&#039;,&#039;r&#039;)&lt;br /&gt;
objectlist = []&lt;br /&gt;
class contact:&lt;br /&gt;
	def __init__(self,first,last):&lt;br /&gt;
		self.last = last&lt;br /&gt;
		self.first = first&lt;br /&gt;
		self.details={}&lt;br /&gt;
		&lt;br /&gt;
	def update(self,detail):&lt;br /&gt;
		value = detail.replace(&amp;quot; &amp;quot;,&amp;quot;&amp;quot;)&lt;br /&gt;
		value = value.strip(&#039;\n&#039;)&lt;br /&gt;
		homenum = re.compile(&amp;quot;^[0-9]{8}$&amp;quot;)&lt;br /&gt;
		mobnum = re.compile(&amp;quot;^[0-9]{10}$&amp;quot;)&lt;br /&gt;
		mobnum2 = re.compile(&amp;quot;^\+[0-9]{11}$&amp;quot;)&lt;br /&gt;
		email = re.compile(&amp;quot;^.*@.*$&amp;quot;)&lt;br /&gt;
	&lt;br /&gt;
		if homenum.search(value):&lt;br /&gt;
			self.details[&#039;TEL;TYPE=HOME,VOICE:&#039;]=value&lt;br /&gt;
		elif mobnum.search(value):&lt;br /&gt;
			self.details[&#039;TEL;TYPE=MOBILE,VOICE:&#039;]=value&lt;br /&gt;
		elif mobnum2.search(value):&lt;br /&gt;
			self.details[&#039;TEL;TYPE=MOBILE,VOICE:&#039;]=value&lt;br /&gt;
		elif email.search(value):&lt;br /&gt;
			self.details[&#039;EMAIL;TYPE=PREF,INTERNET:&#039;]=value&lt;br /&gt;
	def check(self,first,last):&lt;br /&gt;
		if first == self.first:&lt;br /&gt;
			if last == self.last:&lt;br /&gt;
				return True&lt;br /&gt;
			else:&lt;br /&gt;
				return False&lt;br /&gt;
		else:&lt;br /&gt;
			return False&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
for i in fh.readlines():&lt;br /&gt;
	line = i.replace(&amp;quot;\n&amp;quot;,&amp;quot;&amp;quot;)&lt;br /&gt;
	last,first,detail = i.split(&#039;;&#039;)&lt;br /&gt;
	&lt;br /&gt;
	check = False&lt;br /&gt;
	for i in objectlist:&lt;br /&gt;
		if i.check(first,last):&lt;br /&gt;
			i.update(detail)&lt;br /&gt;
			check = True&lt;br /&gt;
			break&lt;br /&gt;
	if check == False:&lt;br /&gt;
		obj = contact(first,last)&lt;br /&gt;
		obj.update(detail)&lt;br /&gt;
		objectlist.append(obj)&lt;br /&gt;
&lt;br /&gt;
for i in objectlist:&lt;br /&gt;
	print &amp;quot;BEGIN:VCARD&amp;quot;&lt;br /&gt;
	print &amp;quot;VERSION:3.0&amp;quot;&lt;br /&gt;
	print &amp;quot;N:&amp;quot;+i.last+&amp;quot;;&amp;quot;+i.first&lt;br /&gt;
	print &amp;quot;FN:&amp;quot;+i.first+&amp;quot; &amp;quot;+i.last&lt;br /&gt;
	for j in i.details.keys():&lt;br /&gt;
		print j+i.details[j]&lt;br /&gt;
	now = datetime.datetime&lt;br /&gt;
	n = now.now()&lt;br /&gt;
	print &amp;quot;REV:&amp;quot;+str(n.year)+str(n.month).zfill(2)+str(n.day).zfill(2)+&amp;quot;T&amp;quot;+str(n.hour).zfill(2)+str(n.minute).zfill(2)+str(n.second).zfill(2)+&amp;quot;Z&amp;quot;&lt;br /&gt;
	print &amp;quot;END:VCARD&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After your vcf file is generated, you can place it onto your n900, then in the Contacts application, click the title bar &amp;gt;&amp;gt;&amp;gt; &amp;quot;Get contacts&amp;quot; &amp;gt;&amp;gt;&amp;gt; Import Contacts&amp;quot;. Browse to your contacts.vcf file and click import!&lt;br /&gt;
&lt;br /&gt;
Hope this helps someone, this code was pretty rushed and got the job done for me. Phone number regexps worked for my Australian phone numbers, you may have to make changes for overseas numbers.&lt;/div&gt;</summary>
		<author><name>220.233.186.192</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Importing_iPhone_Contacts&amp;diff=13301</id>
		<title>Importing iPhone Contacts</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Importing_iPhone_Contacts&amp;diff=13301"/>
		<updated>2010-05-31T14:37:19Z</updated>

		<summary type="html">&lt;p&gt;220.233.186.192: Created page, added preliminary info&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Import how to ==&lt;br /&gt;
&lt;br /&gt;
To import data, we first need to jailbreak the iPhone.  There are many tutorials for this on the net. After jailbreaking, ensure that you have the package &amp;quot;Cydia&amp;quot; installed (usually included by default).&lt;br /&gt;
&lt;br /&gt;
# From Cydia, install securedContacts (from the BigBoss repository)&lt;br /&gt;
# Run securedContacts, and download the resulting csv file on your PC.&lt;/div&gt;</summary>
		<author><name>220.233.186.192</name></author>
	</entry>
</feed>