[APP] Facebook Outlook Sync for Sense 2.5

Search This thread

JVH3

Retired Recognized Developer
Nov 24, 2008
3,687
428
Minneapolis
www.twitter.com
NEW VERSION Uploaded (Feb 4, 2011): FB2ContactPicSync_v1003.CAB
Fully skinnable.
Images now fill the whole space.
And the potential for the initial contact crash is fixed.
And the skinning can use pngs with transparency.
And it should be installable to the storage card now.

I developed an app to add the facebook pic to outlook contacts.

Sense 2.5 automatically adds images to your device to be used for your contacts in Sense.

But, the image is not added to your outlook contacts.

I went through the threads that it suggested before creating this thread.

If you like this app, please use the Thanks feature of the site.

And of course donations are always appreciated;

https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7380024

What does the app do:

Interactive Mode:
For each contact
{
... if the contact is linked to facebook
... {
... ... if there is a facebook image on the phone for the contact
... ... {
... ... ... if the contact already has an image associated with it.
... ... ... {
... ... ... ... display both images, ask user if user wants to replace current with facebook image on device
... ... ... }
... ... ... else
... ... ... {
... ... ... ... display facebook image and ask to add facebook image on device to outlook contact
... ... ... }
... ... }
... }
}

Later, it will also have a batch mode.

After pressing Start, give it a minute. It is looping through all contacts finding the ones that are associated to a facebook account. It stores them in a dictionary for processing with the other buttons.

Again, please use the Thanks feature and donate as you feel appropriate.

Note: initial version had over 200 downloads.
v1001 had 190
v1002 had about 50

I removed the other attachments, leaving only the most recent version to avoid any confusion about what should be downloaded.
 

Attachments

  • FB2ContactPicSync_v1003.CAB
    709.3 KB · Views: 1,992
Last edited:

JVH3

Retired Recognized Developer
Nov 24, 2008
3,687
428
Minneapolis
www.twitter.com
Reserved for images or something

Pics of version 1003
 

Attachments

  • Screenshot14.jpg
    Screenshot14.jpg
    41.5 KB · Views: 395
  • Screenshot15.jpg
    Screenshot15.jpg
    50.4 KB · Views: 490
  • Screenshot16.jpg
    Screenshot16.jpg
    28.6 KB · Views: 289
Last edited:

JVH3

Retired Recognized Developer
Nov 24, 2008
3,687
428
Minneapolis
www.twitter.com
Reserving Post #3 for bugs or known issues

Make sure to sync with facebook before running the app. Otherwise you will need to click on an eror for each contact that yoou sync with facebook.
 
Last edited:

JVH3

Retired Recognized Developer
Nov 24, 2008
3,687
428
Minneapolis
www.twitter.com
Tips / extras

App is fully skinnable.
If you want to make the button look like it is pressed when you press it, there are images in the program directory for that.

All artists, please post custom images and backgrounds.

Control locations are not editable. (maybe in a future version I get screen coordinates from an ini file.) But, for now, just make images that assume things will be where they are.
 
Last edited:
  • Like
Reactions: johnhale

JVH3

Retired Recognized Developer
Nov 24, 2008
3,687
428
Minneapolis
www.twitter.com
Icon Request

I am making pretty good progress on the app.

Currently it is displaying the image for both facebook and outlook.

Interactive only.
No batch mode yet.

But, I am not much of an artist.

If some of you could make and post some icons, that would be very helpful.

Thanks,

JVH3

[EDIT]
Came up with my own icon.
Feel free to still upload any that you think are better. I can use it the next version.
 
Last edited:
  • Like
Reactions: johnhale

phalkon30

Senior Member
Aug 23, 2009
401
176
I'm no good with graphic design, just wanted to stop in and say that I can't wait for this to come out. It's very annoying that outlook contacts don't retain the facebook pictures after a flash.
 

zeusma

Member
Dec 28, 2009
29
1
will your app allow the user to pick which facebook image to display as the contact image if the user has several profile pictures available on facebook?
 

pbeutler

Senior Member
Feb 10, 2009
152
2
Kuala Lumpur
I am making pretty good progress on the app.

Currently it is displaying the image for both facebook and outlook.

Interactive only.
No batch mode yet.

But, I am not much of an artist.

If some of you could make and post some icons, that would be very helpful.

Thanks,

JVH3

[EDIT]
Came up with my own icon.
Feel free to still upload any that you think are better. I can use it the next version.

Damn....you are fast :)

downloading now, try and give you some feedback (if needed ;))

Cheers.
 

pbeutler

Senior Member
Feb 10, 2009
152
2
Kuala Lumpur
Damn....you are fast :)

downloading now, try and give you some feedback (if needed ;))

Cheers.

Ok, downloaded and installed (on device) but get an error abt 5 seconds after having pressed start...

I was wondering if it would be possible to have the app like continuously running or being linked to the update feature in Sense contacts...That way, whenever an update is done on facebook and synced with Sense it gets to Outlook, without the need for a manual starting of this app...

Will be on the lookout for an update, so I can try again.

Cheers,
 

JVH3

Retired Recognized Developer
Nov 24, 2008
3,687
428
Minneapolis
www.twitter.com
Ok, downloaded and installed (on device) but get an error abt 5 seconds after having pressed start...

I was wondering if it would be possible to have the app like continuously running or being linked to the update feature in Sense contacts...That way, whenever an update is done on facebook and synced with Sense it gets to Outlook, without the need for a manual starting of this app...

Will be on the lookout for an update, so I can try again.

Cheers,

Would you be able to post a screen capture of your error?

Appoximately how many contacts do you have that sync with facebook?

There are just a couple things that it could be.
If the facebook image for the contact is not on your device. That could cause an error.

Discovered some inconsistancies in the data that I was looking for.
Currently, it only handles contacts where the facebook id is noted by
<sn>id:somenumber/friendof:somenumber</sn>
But, it needs to be modified to also handle
<Facebook>id:somenumber/friendof:somenumber</Facebook>

It's late. Update will be made tomorrow.
 
Last edited:

pbeutler

Senior Member
Feb 10, 2009
152
2
Kuala Lumpur
Would you be able to post a screen capture of your error?

Appoximately how many contacts do you have that sync with facebook?

Hmmm, 'Shake n Save' is gone on the NRG feb 16th ROM...so, sorry, no screenshot, however, it is a standard error:

"An unexpected error has occured in FB2Outlook....
Select Quit and then restart this program...lalala

The details: (damn...have to type this.. :( )
FB2Outlookcontactpicsync.exe
NullReferenceException

at Microsoft.windowsmobile.Pocketoutlook.Pimitem...ctor(itemld itemld..

<do you really need this? lot of typing :p > Will do if you REALLY need it ;)

I now only have like 10-15 contacts linked with facebook..

cheers
 

JVH3

Retired Recognized Developer
Nov 24, 2008
3,687
428
Minneapolis
www.twitter.com
Hmmm, 'Shake n Save' is gone on the NRG feb 16th ROM...so, sorry, no screenshot, however, it is a standard error:

"An unexpected error has occured in FB2Outlook....
Select Quit and then restart this program...lalala

The details: (damn...have to type this.. :( )
FB2Outlookcontactpicsync.exe
NullReferenceException

at Microsoft.windowsmobile.Pocketoutlook.Pimitem...ctor(itemld itemld..

<do you really need this? lot of typing :p > Will do if you REALLY need it ;)

I now only have like 10-15 contacts linked with facebook..

cheers

I think I figured out what the issue is. A long while back, contacts used to store <sn>id:

Now they use <Facebook>id:

I have modified the app to handle both.
I pulled the original version and just uploaded a new version.

Glad you had the error, otherwise alot of my contacts would have been missed. Thanks for testing.
 

HorstDCC

Senior Member
Jul 3, 2007
286
62
Dendermonde
2km.be
Nice effort!

1. installed on device HD2 using ROM from signature
2. started in interactive mode
3. first contact -> clicked Replace With
second contact: idem
4. immediately after that the program crashed with an ArgumentException at CheckInvalidPathChars.

I'll install NETCFv35.Messages and ShakeAndSave later to give more details.

PS: Currently the program installs to CE:\Prgram Files directly instead of it's own subfolder when chooising 'Device' as installation target.

best regards
 
Last edited:

JVH3

Retired Recognized Developer
Nov 24, 2008
3,687
428
Minneapolis
www.twitter.com
Nice effort!

1. installed on device HD2 using ROM from signature
2. started in interactive mode
3. first contact -> clicked Replace With
second contact: idem
4. immediately after that the program crashed with an ArgumentException at CheckInvalidPathChars.

I'll install NETCFv35.Messages and ShakeAndSave later to give more details.

best regards

Did you install the version that I just uploaded maybe 5 minutes ago?

Or the first version that I uploaded?
 

JVH3

Retired Recognized Developer
Nov 24, 2008
3,687
428
Minneapolis
www.twitter.com
Nice effort!

1. installed on device HD2 using ROM from signature
2. started in interactive mode
3. first contact -> clicked Replace With
second contact: idem
4. immediately after that the program crashed with an ArgumentException at CheckInvalidPathChars.

I'll install NETCFv35.Messages and ShakeAndSave later to give more details.

PS: Currently the program installs to CE:\Prgram Files directly instead of it's own subfolder when chooising 'Device' as installation target.

best regards

Thanks.
I'll fix that install path tomorrow. Need to get some sleep before work.

I will also verify that the facebook image exists on the phone before accessing it. I'm sure that is where the exception is occuring.
 

HorstDCC

Senior Member
Jul 3, 2007
286
62
Dendermonde
2km.be
Second Run:
It behaves the same when keeping the outlook picture. After the second contact is clicked the program crashes with the same errormessage.

The previous replacement seems to be kept on the device and the thus modified contacts seem to get synced correctly to the desktop.
 

JVH3

Retired Recognized Developer
Nov 24, 2008
3,687
428
Minneapolis
www.twitter.com
Second Run:
It behaves the same when keeping the outlook picture. After the second contact is clicked the program crashes with the same errormessage.

The previous replacement seems to be kept on the device and the thus modified contacts seem to get synced correctly to the desktop.

My guess is that some of your contacts that are associated with facebook do not have a facebook contact picture on the phone.

Could be caused by a friend on facebook cancelling his or her facebook account.

I'll add a check to make sure the file exists tomorrow and some exception handling for anything else I haven't thought of.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    NEW VERSION Uploaded (Feb 4, 2011): FB2ContactPicSync_v1003.CAB
    Fully skinnable.
    Images now fill the whole space.
    And the potential for the initial contact crash is fixed.
    And the skinning can use pngs with transparency.
    And it should be installable to the storage card now.

    I developed an app to add the facebook pic to outlook contacts.

    Sense 2.5 automatically adds images to your device to be used for your contacts in Sense.

    But, the image is not added to your outlook contacts.

    I went through the threads that it suggested before creating this thread.

    If you like this app, please use the Thanks feature of the site.

    And of course donations are always appreciated;

    https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7380024

    What does the app do:

    Interactive Mode:
    For each contact
    {
    ... if the contact is linked to facebook
    ... {
    ... ... if there is a facebook image on the phone for the contact
    ... ... {
    ... ... ... if the contact already has an image associated with it.
    ... ... ... {
    ... ... ... ... display both images, ask user if user wants to replace current with facebook image on device
    ... ... ... }
    ... ... ... else
    ... ... ... {
    ... ... ... ... display facebook image and ask to add facebook image on device to outlook contact
    ... ... ... }
    ... ... }
    ... }
    }

    Later, it will also have a batch mode.

    After pressing Start, give it a minute. It is looping through all contacts finding the ones that are associated to a facebook account. It stores them in a dictionary for processing with the other buttons.

    Again, please use the Thanks feature and donate as you feel appropriate.

    Note: initial version had over 200 downloads.
    v1001 had 190
    v1002 had about 50

    I removed the other attachments, leaving only the most recent version to avoid any confusion about what should be downloaded.
    3
    New version posted / Fully Skinnable WVGA and VGA

    NEW VERSION Uploaded (Feb 4, 2011): FB2ContactPicSync_v1003.CAB
    Fully skinnable. Skinned with graphics by Swiss420
    Images now fill the whole space.
    And the potential for the initial contact crash is fixed.
    And the skinning can use pngs with transparency.
    And it should be installable to the storage card now.
    1
    Tips / extras

    App is fully skinnable.
    If you want to make the button look like it is pressed when you press it, there are images in the program directory for that.

    All artists, please post custom images and backgrounds.

    Control locations are not editable. (maybe in a future version I get screen coordinates from an ini file.) But, for now, just make images that assume things will be where they are.
    1
    Reserving post #5

    Just reserving this incase I think of something else important.
    Maybe a change log or something.
    1
    Just wanted to share a new background