Related
Man, I wrote this tool ages ago. I completely forgot about it until I saw the other thread in this forum. Basically I wanted a way to get all my friend's facebook profile photos into my phone really easily.
Your phone syncs your contacts from your Gmail/Google. And Gmail supports contact pictures. I wrote an application that logs into your facebook, and finds any contacts that also exist in your Gmail account. If it finds a matching contact, it uploads that Facebook profile picture to your Gmail contact. And then those pictures show up on your phone! Pretty useful.
Usage (this application runs on your Windows PC):
0) Make sure you have .NET Framework 3.5. The application may crash otherwise.
1) Start the application and input your Gmail username and password.
2) The next screen will ask for your Facebook credentials.
3) Wait for it... Wait for it... Done! (The application will have finished syncing)
4) Wait some more... Your phone may take a while to sync the new images from Google's servers. But they'll get there eventually.
WARNING: This will replace any photos that may already be associated with your contact. Go ahead and modify the code if you don't want it to do that.
Download the Windows application and the source here:
http://www.koushikdutta.com/2008/10/synchronizing-google-and-facebook.html
Whoah dude! I can't use this (Mac!) but sounds great. I'm assuming you have all the API's down, have you considered building this as an Android app?
punkweakling said:
Whoah dude! I can't use this (Mac!) but sounds great. I'm assuming you have all the API's down, have you considered building this as an Android app?
Click to expand...
Click to collapse
Just run it on a Windows PC then. Nothing is actually stored on the PC; it's just syncing pictures between servers (Google/Facebook). I ran it once several months ago and haven't thought about it since.
Yeah, I've thought about making it an Android application, but I don't think it would be that useful. Contact management and syncing between two servers is done much easier on a PC, for both the user and a developer. I'm thinking about improving the application to allow syncing between Outlook, Facebook, and Google. That would be handy, but difficult to use on a phone. The results, however, would show up on your phone.
I must say, great little app. I've given up trying to add pictures to my contacts. Worked perfetly once I got Microsoft .NET Framework 3.5 installed. I hope you really consider making this an Android App. I can guarantee that it'll get thousands of downloads in the first day.
For those of you who do note have Microsoft .NET Framework 3.5, check out the link below.
http://www.microsoft.com/downloads/...FD-AE52-4E35-B531-508D977D32A6&displaylang=en
this is very nice. i would love to use it.... if only i wasnt still using myspace... bleh
Facebook pics for gmail contacts...
worked great for me. Thanks!
If it is on Android, every time a new contact is added, the program searches for the profile image from Facebook or Linkedin. It might be cool. Is your source code under GPL? I am interested in converting your code into Java, so it can run on Android.
It's Creative Commons, not GPL. The application itself is less than 30 lines of code. It is just leveraging the .NET bindings to the Facebook and Google Data APIs.
So is this using phone numbers? Email addresses? Names? (to compare between Gmail and Facebook)?
momentarylapseofreason said:
So is this using phone numbers? Email addresses? Names? (to compare between Gmail and Facebook)?
Click to expand...
Click to collapse
Just names. The Facebook API does definitely does not give you access to the email address. And the version I was using (and this may have changed) also does not give you access to phone numbers.
Koush said:
Just names. The Facebook API does definitely does not give you access to the email address. And the version I was using (and this may have changed) also does not give you access to phone numbers.
Click to expand...
Click to collapse
Ahh... ok. I have a lot of my friends listed by nicknames etc. I understand that the phone/emails are actually images (I assume to thwart off spammers with automated catchers).
It would be awesome if this wasn't the case though. I have been spending the last hour adding email addresses from Facebook contacts so I can add a picture to their name.
good app but i wish it sync'd contacts by name instead of email...
meaning if two names match, sync. even if i just have a phone number for that contact and not an email.
but good app.
cboy007 said:
good app but i wish it sync'd contacts by name instead of email...
meaning if two names match, sync. even if i just have a phone number for that contact and not an email.
but good app.
Click to expand...
Click to collapse
Actually, it only matches by name. You can't access emails or phone numbers through the Facebook API.
Koush said:
Actually, it only matches by name. You can't access emails or phone numbers through the Facebook API.
Click to expand...
Click to collapse
Reading comprehension is not one of his strong points.
How can i change the way it matches? for example instead of names, i put my friends facebok id as "customer id" field on windows mobile outlook. and i want it to syncronize if they matches istead of names. this way there will be no confusion if names doesnt match because of a small difference. do you think it needs much work?
worked pretty well for me.. pic quality was a bit distorted on a few.. but what the hell.. they're photo's I didn't have before Thank You for a neat little app.
pixel-painter said:
worked pretty well for me.. pic quality was a bit distorted on a few.. but what the hell.. they're photo's I didn't have before Thank You for a neat little app.
Click to expand...
Click to collapse
Agreed. Nice app, thanks
hate to bring back an old thread, but is there any plan to develop this for facebook/microsoft pic transfers? For those of us that don't have office, but use an @hotmail or @live, this would be great.
Thanks
It would be great if I could link the contacts to their Facebook account manually if their names do not match ^^.
There is also a facebook sync app on the market that works well for me. Hasn't missed a contact or had a false match for me.
Ok this may be a dumb question, and quite possibly Im missing something simple.
I have my email set to download the full message I'm on an unlimited data plan and mainly use the data plan for my email. so i'm not worried about data usage.
however my onto my question, when you open an email, a yellow bar at the top of the screen says "Internet Pictures Blocked"
I know its simple, and all you need to do is click the yellow bar, you read the message that says "To protect your privacy, pictures from the Internet are not automatically downloaded"
Bellow the message you click "download Internet pictures"
Easy, Simple, Almost hassle free, I know all that.
But not quiet Hassle free. and it had slowly became the thing that bugs me most about opening my mail.
Again I know Im probably missing something that is so simple most people don't even need to ask how to do it. But is there a way to make it download the full email including the images.
Iv'e had the x1 since it came out here in Britain, and maybe I should have asked earlier rather than, let it bug me every day. But I haven't because it felt like it was a setting i have not configured correctly. and i was just being stupid wasting peoples time with such a simple question.
But I put my hands in the air, I cant find it , I don't know how to do it. I give up. Can someone tell me what I'm not doing correct, and put me out of my misery lol
Thanks in advance for any help
one_mad_punk
That's a standard feature on most email clients these days.
It's there so that spammers can't hide your email address in an image request - basically the images generated by a script that confirms that your email address is valid.
When your email address is confirmed as valid its more valuable to sell on to spammers as a 'confirmed active' address.
You should only ever allow images to be downloaded from email that you are expectingand where you know the sender - therefore in any email the images will be blocked initially.
Full blown email clients may have a 'white list' for senders addresses that you will automatically allow images from, but not Pocket Outlook unfortunately.
Hope this helps,
FM
Is there a way to bypass that?
My x1 reads the email from 1 folder in my email account. spam, junk and items i don't require to check when out and about, are in other folders of the account and i check those when i get home.
Its just the emails that make it to this approved folder i check on the phone. and it would be good for the full email an images to be downloaded.
However i presume from what you are saying, that even tho i have taken precautions to filter and separate non important emails, that it is still in my best interest and for my own protection that the x1 does not download the images with the rest of the email. and that there is no actual way to change this setting
Thanks for your quick reply
one_mad_punk
I would like to download the images automatically, too.
No one with an idea how to fix that?
I have just rooted my phone to Gingerbread, and I just LOVE it. I was able to set up the gmail accounts easily, so I have two separate gmail "labels" on my phone, each one for a different gmail account. I still cannot get the message count to show up on my notification bar, however, but that's not the reason for this post.
I am trying to do the same thing for my yahoo accounts (I have two of them). Yes, I can download the yahoo widget/app and that puts yahoo pretty much live on my phone - but I'm not looking for that. I'm looking for the shortcuts, like Gmail, so I can click on them and it takes me to a brief list of emails etc. I don't want to have full access to yahoo on my phone, but just the shortcuts.
When I try to set it up, this is what I do:
1) put a shortcut to the Email icon on my screen and name it.
2) When I try to configure it, I put my yahoo user name (xxx at yahoo.com) in and password
3) the message that comes up is "Mailbox access is not supported for some times of yahoo mail accounts" etc. I click on OK
4) it tells me setup could not finish as there is an incorrect username or password. I am 10000% certain I enter the correct name and password.
5) if I try a different yahoo email account, I get the same error message, plus (530 Access Denied: need SMTP privileges to access this server).
I used to have yahoo email shortcuts on my phone before I rooted - and they were great. I had two icons, and the message count showed up in my notification bar. When I rooted first (to I guess AOSP 9.9.2, before gingerbread), I could get the yahoo mail icons to work, no problem. I was not able to add an account in the "accounts and sync" - that only offers me "google" or "corporate" (which I guess is exchange). It's only with gingerbread i am having this problem.
I am VERY basic when it comes to using the phone, so if anyone responds, please pretend I'm about four years old, so please explain in basic language what I need to do. Anything complicated, and I might not follow (sorry). Still a newbie.
Thank you everyone.
This has been a problem for me on some roms too. Including aospCMod, some will let you set up a yahoo account and others will not. I first noticed this when I switched from cm6 to aospmod awhile back. Cm6 would let me sign in to a yahoo account but aosp would not. Then about 2 updates later on aospmod, I could all of a sudden sign in.
So this leads me to believe its an internal setting that the dev can modify to fix this. What it is idk, and when it'll come for or gingerbread roms idk, but take comfort in knowing your not the only one who has come across this.
Its kind of weird really, hopefully someone else knows why this happens out how to fix it.
Sent from my HTC Hero CDMA using XDA App
Try using K9 mail, it is free in the market and much better than Yahoo mail app. I am sure you will be able to get emails and such, but not sure how much it will help with the other widget type problems.
chewedpup said:
I have just rooted my phone to Gingerbread, and I just LOVE it. I was able to set up the gmail accounts easily, so I have two separate gmail "labels" on my phone, each one for a different gmail account. I still cannot get the message count to show up on my notification bar, however, but that's not the reason for this post.
I am trying to do the same thing for my yahoo accounts (I have two of them). Yes, I can download the yahoo widget/app and that puts yahoo pretty much live on my phone - but I'm not looking for that. I'm looking for the shortcuts, like Gmail, so I can click on them and it takes me to a brief list of emails etc. I don't want to have full access to yahoo on my phone, but just the shortcuts.
When I try to set it up, this is what I do:
1) put a shortcut to the Email icon on my screen and name it.
2) When I try to configure it, I put my yahoo user name (xxx at yahoo.com) in and password
3) the message that comes up is "Mailbox access is not supported for some times of yahoo mail accounts" etc. I click on OK
4) it tells me setup could not finish as there is an incorrect username or password. I am 10000% certain I enter the correct name and password.
5) if I try a different yahoo email account, I get the same error message, plus (530 Access Denied: need SMTP privileges to access this server).
I used to have yahoo email shortcuts on my phone before I rooted - and they were great. I had two icons, and the message count showed up in my notification bar. When I rooted first (to I guess AOSP 9.9.2, before gingerbread), I could get the yahoo mail icons to work, no problem. I was not able to add an account in the "accounts and sync" - that only offers me "google" or "corporate" (which I guess is exchange). It's only with gingerbread i am having this problem.
I am VERY basic when it comes to using the phone, so if anyone responds, please pretend I'm about four years old, so please explain in basic language what I need to do. Anything complicated, and I might not follow (sorry). Still a newbie.
Thank you everyone.
Click to expand...
Click to collapse
Are you setting up manually or automatically. I've always had better luck setting up manually. If so you have to make servers say:
Smtp.mail.yahoo.com
IMAP..mail.yahoo.com
Sent from my HERO200 using XDA App
aqualls said:
Are you setting up manually or automatically. I've always had better luck setting up manually. If so you have to make servers say:
Smtp.mail.yahoo.com
IMAP..mail.yahoo.com
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Finally - this worked doing it manually with these settings! Thanks!!
Unbelievable!!! Yes! It worked!
thank you thank you thank you THANK YOU!!!!!
did this manually and it worked like a charm! Thank you - hope it's OK if I go and post this on the android forum - a few people are having the same issues there. THANK YOU!
I tried this manually and it didn't work. Said it couldn't conner to the server.
Does the port need to be changed?
I must be doing something wrong if others are getting it to work.
edit: it tells me unable to open connection to server
Sent from my HTC Hero CDMA using XDA App
My port says 143 but turn security is off if I remember. I will check when I get home from the second job.
Sent from my HERO200 using XDA App
MrDowntown12 said:
I tried this manually and it didn't work. Said it couldn't conner to the server.
Does the port need to be changed?
I must be doing something wrong if others are getting it to work.
edit: it tells me unable to open connection to server
Sent from my HTC Hero CDMA using XDA App
Click to expand...
Click to collapse
Make sure you make it an imap account, security set to none, port should change to 143. If that doesn't get it let me know. Try auto setup too. I just deleted mine and started over and it took that way.
Sent from my HERO200 using XDA App
Just bear in mind I'm not on GB. Tried it and don't care for it. Sense has everything I need with half the apps to dl so it could be the build you're running.
Sent from my HERO200 using XDA App
Yahoo doesn't work any more :-(
Strange. yesterday, I set it up and it worked like a charm - IMAP and smtp, changed the server settings (did it all manually) - worked very well yesterday and today was working just fine. Hadn't checked my emails for a few hours though - just tried - and it tells now incorrect user name or password. I deleted it and tried to add the yahoo account again - first it tells me unable to open connection to server. Tried again (making sure all settings were correct) and it just says incorrect username or password.
Under IMAP server I have imap.mail.yahoo.com, port 143, security type none - exactly like I had it yesterday and this morning, and it doesn't work. incorrect username or password.
I haven't changed a THING with my phone - not a single thing - or downloaded any new apps - so I'm mystified. Thoughts anyone?
Thank you
chewedpup said:
Strange. yesterday, I set it up and it worked like a charm - IMAP and smtp, changed the server settings (did it all manually) - worked very well yesterday and today was working just fine. Hadn't checked my emails for a few hours though - just tried - and it tells now incorrect user name or password. I deleted it and tried to add the yahoo account again - first it tells me unable to open connection to server. Tried again (making sure all settings were correct) and it just says incorrect username or password.
Under IMAP server I have imap.mail.yahoo.com, port 143, security type none - exactly like I had it yesterday and this morning, and it doesn't work. incorrect username or password.
I haven't changed a THING with my phone - not a single thing - or downloaded any new apps - so I'm mystified. Thoughts anyone?
Thank you
Click to expand...
Click to collapse
Mine did the same last night after a nand restore. I deleted account and did auto setup and that worked. Try that and manual again. Must have been a glitch
Sent from my HERO200 using XDA App
Yahoo email problem - resolution below
Thanks again to xda developers (a different thread) - this is the set up if you want a link to your yahoo mail on your phone: The previous one stopped working - here is the resolution. THANK YOU EVERYONE.
http://forum.xda-developers.com/showpost.php?p=11578143&postcount=7754
This method is no longer working... says "setup could not finish, Username or password incorrect. ()"
Edit, found out the port changed...
# Incoming Server - imap.mail.yahoo.com
# Outgoing Server - smtp.mail.yahoo.com
# Incoming Port - 993 (requires SSL)
# Outgoing Port - 465 (requires SSL)
chewedpup said:
Thanks again to xda developers (a different thread) - this is the set up if you want a link to your yahoo mail on your phone: The previous one stopped working - here is the resolution. THANK YOU EVERYONE.
http://forum.xda-developers.com/showpost.php?p=11578143&postcount=7754
This method is no longer working... says "setup could not finish, Username or password incorrect. ()"
Edit, found out the port changed...
# Incoming Server - imap.mail.yahoo.com
# Outgoing Server - smtp.mail.yahoo.com
# Incoming Port - 993 (requires SSL)
# Outgoing Port - 465 (requires SSL)
Click to expand...
Click to collapse
I was just gonna say the same thing.
I finally got mine working when I saw this post in the gingerbread thread also.
Sorry. Like I said, my phone doesn't like GB so I didn't realize it used different ports. This setup works on froyo and stock.
Sent from my HERO200 using XDA App
I am a student and I have a project to create a app for reservation . My question is how to show the data according to my database.
Like a student login his account and how to show his profile information according to the database.
Is there any coding to add it to scrape the data from the database and show it on my application?
And I use the SQLiteDatabase for my database.
please some body help me... Thank you
Divide your work into steps, that is:
1. If you are keeping a database in a website then there should be a piece of code on the website which takes requests in form of username and password, and returns the data.
2. If you can't do this but the data is on the internet then the unsafe way would be to download the whole database and then authenticate and search using client side code (security experts will want to murder you, though).
3. If you are going to populate the data from scratch only using your application, then Firebase by Google is a good and free solution for student level apps. Here you can have the data on Google's servers and request the data using user-password authentication. This is very safe method.
If you decide to use Sql, the typical unsafe query would be similar to querying using WHERE command wherein the parameters are username and password. But that should only be done on your website, and not on the client.
In Google play if we click on contact developer as we all know it takes us to gmail and we see the subject ( the name of the app) but recently I noticed if I click contact it takes us to gmail with empty subject and I need to write the name of the app in the gmail subject! How to fix this?
Thanks
Vanavline said:
In Google play if we click on contact developer as we all know it takes us to gmail and we see the subject ( the name of the app) but recently I noticed if I click contact it takes us to gmail with empty subject and I need to write the name of the app in the gmail subject! How to fix this?
Thanks
Click to expand...
Click to collapse
are you developing an app and trying to make that feaute work or are you a user wanting to contact a dev about an app?
if its the second, there are parameters that need to be filled in order to have that work, im betting those parameters havent been filled
Yes I mean 2 . The subject parameter was always filled automatically by the the name of the app, but now it's empty.
Do you face the same issue ?????
Guys share the results with us plz