Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Add Contacts with Photos
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Cory  
View profile  
 More options Nov 20 2012, 5:01 pm
From: Cory <coryta...@gmail.com>
Date: Tue, 20 Nov 2012 14:01:53 -0800 (PST)
Local: Tues, Nov 20 2012 5:01 pm
Subject: Add Contacts with Photos

Hello,
I am on 2.0.0 ( Didnt upgrade because 2.2.0 is giving me more problems with
contacts)
I work on android , IOS and blackberry  ,but for this issue Im testing on
Android
Anyway , I have managed to save contacts , but I would now like to save
photos.
I have the images in the page where you can save the contact , so i have
the source/URL of the images.

However , when i try to save the contact I get errors saying the file
cannot be found
I have tested it with google's logo and basically its the same with my
image , just a different link.

11-20 16:54:37.770: E/ContactsAccessor(13432):
/https:/www.google.com/images/srpr/logo3w.png: open failed: ENOENT (No such
file or directory)
11-20 16:54:37.770: E/ContactsAccessor(13432):
java.io.FileNotFoundException:
/https:/www.google.com/images/srpr/logo3w.png: open failed: ENOENT (No such
file or directory)

This is part of my code:

                        var photos = [];
                        var profilePic;
//profilePic=$("#pageProfile").find(".profileHeader img").attr("src");
profilePic="https://www.google.com/images/srpr/logo3w.png";
var photo = new ContactField();
photo.value=profilePic;
photos[0]=photo;
contact.photos = photos;

And just incase you just say its my code , yes ive tried photos.push(photo)
, and I have checked the source of my image , it is correct.
Somehow the error logs are not showing double black slashes for the URL ,
and YES i have even run a replace method to double the back slashes and its
the same.
I have also tried
var photo= new ContactField('url', imageURL,true);
...

I hope you guys can help
Thanks!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon MacDonald  
View profile  
 More options Nov 21 2012, 11:24 am
From: Simon MacDonald <simon.macdon...@gmail.com>
Date: Wed, 21 Nov 2012 11:24:18 -0500
Local: Wed, Nov 21 2012 11:24 am
Subject: Re: [PhoneGap] Add Contacts with Photos

It's because the url starts with https. I will file a bug and fix it.

Simon Mac Donald
http://hi.im/simonmacdonald


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cory  
View profile  
 More options Dec 6 2012, 12:45 pm
From: Cory <coryta...@gmail.com>
Date: Thu, 6 Dec 2012 09:45:10 -0800 (PST)
Local: Thurs, Dec 6 2012 12:45 pm
Subject: Re: [PhoneGap] Add Contacts with Photos

Ahhh Ok thanks for the reply!
Will I be able to get a hold of a hotfix for 2.0.0?

Thanks,
Cory


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon MacDonald  
View profile  
 More options Dec 6 2012, 12:55 pm
From: Simon MacDonald <simon.macdon...@gmail.com>
Date: Thu, 6 Dec 2012 12:55:33 -0500
Local: Thurs, Dec 6 2012 12:55 pm
Subject: Re: [PhoneGap] Add Contacts with Photos

Nope, not unless you grab the 2.0.0 source, make the change and compile the
jar. Luckily this is open source so you could do it if you'd like to.

Simon Mac Donald
http://hi.im/simonmacdonald


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cory  
View profile  
 More options Dec 7 2012, 11:37 am
From: Cory <coryta...@gmail.com>
Date: Fri, 7 Dec 2012 08:37:01 -0800 (PST)
Local: Fri, Dec 7 2012 11:37 am
Subject: Re: [PhoneGap] Add Contacts with Photos

Oh ok thank you.

Any idea how long will it take till a fix is out by the way?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon MacDonald  
View profile  
 More options Dec 7 2012, 4:37 pm
From: Simon MacDonald <simon.macdon...@gmail.com>
Date: Fri, 7 Dec 2012 16:37:41 -0500
Local: Fri, Dec 7 2012 4:37 pm
Subject: Re: [PhoneGap] Add Contacts with Photos

2.3.0rc1 is already out so 2.3.0 is not far away.

Simon Mac Donald
http://hi.im/simonmacdonald


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cory  
View profile  
 More options Dec 10 2012, 3:17 pm
From: Cory <coryta...@gmail.com>
Date: Mon, 10 Dec 2012 12:17:47 -0800 (PST)
Local: Mon, Dec 10 2012 3:17 pm
Subject: Re: [PhoneGap] Add Contacts with Photos

Ok thanks!
I read a post on the contacts.find for email field causing issues. That was
my issue i mentioned when I tested the upgrades from 2.0.0 to 2.1/2.2
Looking forward to 2.3.0!

Cory


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Omer  
View profile  
 More options Dec 17 2012, 7:31 pm
From: David Omer <david.o...@gmail.com>
Date: Mon, 17 Dec 2012 16:31:10 -0800 (PST)
Local: Mon, Dec 17 2012 7:31 pm
Subject: Re: [PhoneGap] Add Contacts with Photos

Simon, where can we get 2.3.0rc1?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon MacDonald  
View profile  
 More options Dec 17 2012, 8:00 pm
From: Simon MacDonald <simon.macdon...@gmail.com>
Date: Mon, 17 Dec 2012 20:00:33 -0500
Local: Mon, Dec 17 2012 8:00 pm
Subject: Re: [PhoneGap] Add Contacts with Photos

http://people.apache.org/~steven/
On Dec 17, 2012 7:31 PM, "David Omer" <david.o...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »