Hi,
I have got a Samsung Galaxy s and I can't use phone lib to retrieve phone contacts.
I'am writing a sub to retrive contacs from vcf file.
But when I precess vcf file (all contacts from export to sd card) I found a strange null line after
PHOTO: ......
......
.......
(STRANGE NULL STRING)
NOTE:....
.....
While I read lines I can't process this blank line by
...
line=file.readstring
if line.substring2(0,2)="N:" then
...
else if line="" or line.lenght <1 then
.....
end if
the same if I use
Dim List1 As List
List1 = File.ReadList(File.DirDefaultExternal, "00001.VCF")
for x=0 to list1.size -1
temp=list1.get(x)
if temp.substring2(0,2)="N:" then
....
else if temp.substring2(0,3)="TEL" then
...
END IF
NEXT
Application stops because this blank string begins with a not common ascci char.
Can someone helps me ?
Thank you
I have got a Samsung Galaxy s and I can't use phone lib to retrieve phone contacts.
I'am writing a sub to retrive contacs from vcf file.
But when I precess vcf file (all contacts from export to sd card) I found a strange null line after
PHOTO: ......
......
.......
(STRANGE NULL STRING)
NOTE:....
.....
While I read lines I can't process this blank line by
...
line=file.readstring
if line.substring2(0,2)="N:" then
...
else if line="" or line.lenght <1 then
.....
end if
the same if I use
Dim List1 As List
List1 = File.ReadList(File.DirDefaultExternal, "00001.VCF")
for x=0 to list1.size -1
temp=list1.get(x)
if temp.substring2(0,2)="N:" then
....
else if temp.substring2(0,3)="TEL" then
...
END IF
NEXT
Application stops because this blank string begins with a not common ascci char.
Can someone helps me ?
Thank you