yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] joe_coolish:
I've been fighting with this ALL DAY!!! Seriously, like 6 hours of just trying to figure out how to handle this exception!?!?

Blah, in other words, things aren't as far as I'd have hoped BUT! I did get a couple of other bugs fixed, and re implemented Image Caching AND!!! Got the Image view shell working :)

I call it a shell because all it does is display the image. It will have zoom and comments and tags eventually, but for now, all it can do is display an image.

So, question is, do you want me to post the current build as an RC? The only difference from the current build and 4.6 is that the current build has the System.Threading.Timer.throwIfDisposed() that I've been hunting all day...

Let me know and I'll post it or keep it a surprise ;)
[Windows Mobile Software Development] djdafreund:
Go for it Joe!!!!
[Windows Mobile Software Development] joe_coolish:
Ok :) Here is the latest!

http://code.google.com/p/xda-winmo-...e=XDAFacebook-4.6RC1.CAB&can=2&q=#makechanges
[Windows Mobile Software Development] onebyside:
HD2

Energy.Leo.28244.Sense2.5.Cookie.2.0.Feb.12

XDAFacebook-4.6RC1.CAB

went from home screen to friend profile and this popped up

System.NullReferenceException

NullReferenceException- at XFControls.XFPanels.XFPanelItems.XFItemProfileInfo.<set_User>b__1(Object o, EventArgs e)

at FBEntities.FBObjects.User.FBPerson.Parse(JObject o)

at FBEntities.FBObjects.User.FBPerson.Parse()

at XFItemControls.XFPanels.XFPanelItems.XFWorkerLoadProfile.DoWork()

at XFControls.XFPanels.XFPanelItems.XFItemLoading.doWork()
[Windows Mobile Software Development] Avalon-99:
Hi,

sorry XDAFacebook-4.6RC1 is unusable on my HD2.

Go to Feeds, pull down for refresh, then loading....

Screen is locked for minutes and i must close screen with X-Button and kill XDAFB with taskmanager.

Go to Profile, then loading...

Screen is locked for 1 minute, then error:

System.NullReferenceException

NullReferenceException-bei XFControls.XFPanels.XFPanelItems.XFItemProfileInfo.<set_User>b__1(Object o, EventArgs e)

bei FBEntities.FBObjects.User.FBPerson.Parse(JObject o)

bei FBEntities.FBObjects.User.FBPerson.Parse()

bei XFItemControls.XFPanels.XFPanelItems.XFWorkerLoadProfile.DoWork()

bei XFControls.XFPanels.XFPanelItems.XFItemLoading.doWork()

Go to Friends, then loading...

Screen is locked for 1 minute, then error:

System.NullReferenceException

NullReferenceException-bei XFControls.XFPanels.XFPanelItems.XFItemProfileInfo.<set_User>b__1(Object o, EventArgs e)

bei FBEntities.FBObjects.User.FBPerson.Parse(JObject o)

bei FBEntities.FBObjects.User.FBPerson.Parse()

bei XFItemControls.XFPanels.XFPanelItems.XFWorkerLoadProfile.DoWork()

bei XFControls.XFPanels.XFPanelItems.XFItemLoading.doWork()
[Windows Mobile Software Development] flommaster:
Hi Joe,

i have the same problem like Avalon on my HD2.
[Windows Mobile Software Development] stathis95194:
Same problem on my Blackstone as flommaster and Avalon
[Windows Mobile Software Development] geirab:
Hi Joe!

Same problem as Avalon-99 on my HD2 with Artemis ROM.
[Windows Mobile Software Development] joe_coolish:
the CAB must have gotten corrupted. I load directly from visual studio so i usually dont install from the cab, but i just did and i confirm the connections aren't being established... once i wake up i'll remake the cab and upload
[Windows Mobile Software Development] henryblake:
hi

the same for me .... screen is frozen ...:confused:
[Windows Mobile Software Development] joe_coolish:
Hey, sorry guys. I had some wicked nasty homework due 10 mins ago that I just finished. It was terrible! Anyways, hopefully tomorrow will be better (slower) and I'll have some time to upload another version.

cheer!
[Windows Mobile Software Development] henryblake:
Hi Joe

take your time ....... i guess that i can write for the others, that we have given a feedback and are all still "loving" your fb app.

best regards, i am looking forwards testing the new release after one weeking snowboarding in the austrian alps .....

Henry
[Windows Mobile Software Development] Oppressa:
Only just found this app and was hoping I could finally use checkin on my HD2!

4.5 seemed to crash when I tried to load the checkin page and 4.6 would hang when I tapped Places.

Hopefully the new one will support it :D
[Windows Mobile Software Development] billybag:
Location service isn't working for me. It just stays "loading..." ive waited for a maximum of 1 hour for it to work. Does it require WiFi?

EDIT: i *may* have found the problem. I went to touch.facebook.com and i had to allow the service to work and such. I was able to use the location service through the touch.facebook.com site. I restarted XDAFacebook to try again. its only been a couple minutes but i am still waiting.

EDIT2: i got an error message saying that i need the .NETframework or i need to re-install it if i have it already... i know this isnt the case.
[Windows Mobile Software Development] Oppressa:
See the thread I've just made here to get checkin working on Win 6.5

http://xdaforums.com/showthread.php?t=971335
[Windows Mobile Software Development] Avalon-99:
Hi Joe, what will happen with XDAFacebook-4.6RC1, please give us an Interim Report.
[Windows Mobile Software Development] Avalon-99:
Thank you, it works on my HD2
[Windows Mobile Software Development] billybag:
didn't work for me :( the app itself worked, but nothing appeared on my facebook.

EDIT: i lied. it just took about 10 mins
[Windows Mobile Software Development] joe_coolish:
Hey guys, I'm back :)

So, this past week I've been on the move, interviewing for a job in Madison WI. It was great fun and I enjoyed the interview thoroughly (here's for hoping they loved me back!)

Anyways, I had time on all 4 of my flights to do some shifting and fixing. The deadlock (eternal "Loading...") was actually caused by cross-thread joining. It all the sudden started happening because I stopped "Aborting" threads in order to fix the Thread.IsDisposed() error. Anyways, the loading threads were getting stuck because in the thread was trying to join to itself (long story)

Basically it's like saying that the thread was on the wrong side of the branch while trying to cut it off. When I was Aborting threads this was fine, but when I moved to Joining threads they wouldn't "kill" themselves and thus they got stuck.

Should be fixed.

I also implemented some new GPS handling, so that might be fixed as well.

I don't know if I got all the threads, so if there are any more locks, let me know and I'll fix them!

http://bit.ly/iio7tO
[Windows Mobile Software Development] osiedacz:
Nice, let's hear it for Madison, WI!
[Windows Mobile Software Development] Corwin9S:
thanks for the release... good luck for the job !
[Windows Mobile Software Development] Avalon-99:
Sorry, I didn't know about your job. XDAFB is really fast now. No errors till now.

But refreshing feeds doesn't work. My feeds are from yesterday.

Sent using RapidRead!
[Windows Mobile Software Development] Avalon-99:
Sorry, checkin places doesn't work. I got a empty list.

Could you make a logfile for checkin places, so we could have any chance to see what happens.
[Windows Mobile Software Development] joe_coolish:
Hmmm, I've received reports of that. I just refreshed and it showed last post as of 2 mins ago. I'll look to see why it's doing that. I'm guessing it's the "connection was actively refused by server" error I've seen before. IDK why I get that every once in a while. I'll look into maybe changing the User-Agent (?)

About the job, yeah they flew both me and my wife out which was fun :) I had a phone interview with the NSA today and an on-site interview scheduled for next month, and I'm going on-site to interview with Microsoft in 2 weeks! Yay! Basically the last couple of weeks and the next couple of weeks are packed...

Yes, I can maybe add some debug info on the front screen. I just pulled up the list of places around me. I think this actually might have something to do with the connection being refused (same as with the posts not being refreshed). I'll look into it.

But, no crashes! That's always good!
[Windows Mobile Software Development] stathis95194:
Same here. Program is working fine now but feeds are not updated
[Windows Mobile Software Development] oryi:
ErrorLog

XDAFacebook v.4.6 RC2 ErrorLog:

HTC HD2

System.NullReferenceException

NullReferenceException-hely: XFControls.Utils.XFGraphics.CacheImage(String uri, Byte[] array)

hely: XFControls.XFPanels.XFPanelItems.XFItemBase.<>c__DisplayClass4.<DrawIcon>b__0(MemoryStream stream)

hely: XFControls.Utils.XFGraphics.<startImageDownloading>b__d()

Thanks!
[Windows Mobile Software Development] Avalon-99:
Hi,

Imageviewer is really good and fast.

Sometimes, if I tap on a thumbnail, I got following error:

System.OutOfMemoryException
Not enough storage is available to complete this operation. -bei XFControls.Utils.XFGraphics.GetBitmap(String file, Rectangle recReturn)
bei XFControls.XFPanels.XFPanelImage.PanelPaint(Graphics g)
bei XFControls.XFPanels.XFPanelBase.OnPaint(PaintEventArgs e)
bei System.Windows.Forms.Control.WnProc(WM wm, Int32 wParam, Int32 lParam)
bei System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)
bei Microsoft.AGL.Forms.EVL.EnterModalDialog(IntPtr hwnModal)
bei System.Windows.Forms.Form.ShowDialog()
bei XFItemControls.XFPanels.XFPanelItems.XFItemPictureRow.GetClickResult()
bei XFControls.XFPanels.XFPanelList.OnMouseUp(MouseEventArgs e)
bei System.Windows.Forms.Control.WnProc(WM wm, Int32 wParam, Int32 lParam)
bei System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)
bei Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)
bei System.Windows.Forms.Application.Run(Form fm)
bei XDAFacebook.Program.Main()
[Windows Mobile Software Development] wil_dee:
i get the same issue, newsfeed not updating despite the loading appearing and then disappearing with nothing updated...

but very smooth and nice now... keep up the good work!!

however, when i go into my profile and change from info page to wall page (after testing the checkin and the newsfeed) i get the following error:

System.ArgumentOutOfRangeException

An error message is available for this exception but cannot be displayed because these messages are optional and are not currently installed on this device. Please install ‘NETCFv35.Messages.EN.wm.cab’ for Windows Mobile 5.0 and above or ‘NETCFv35.Messages.EN.cab’ for other platforms. Restart the application to see the message.- at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)

at System.Collections.Generic.List`1.get_Item(Int32 index)

at XFControls.XFPanels.XFPanelList.ClearItems(Int32 start)

at XFControls.XFPanels.XFPanelList.ClearItemsAfterWaiting(XFItemLoading loading)

at XFControls.XFItemControlUtils.<>c__DisplayClass15.<>c__DisplayClass17.<GetProfileInfoLoading>b__14()

at System.Reflection.RuntimeMethodInfo.InternalInvoke(RuntimeMethodInfo rtmi, Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture, Boolean isBinderDefault, Assembly caller, Boolean verifyAccess, StackCrawlMark& stackMark)

at System.Reflection.RuntimeMethodInfo.InternalInvoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean verifyAccess, StackCrawlMark& stackMark)

at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)

at System.Windows.Forms.Control.TASK.Invoke()

at System.Windows.Forms.Control._InvokeAll()

at System.Windows.Forms.Control.WnProc(WM wm, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)

at Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)

at System.Windows.Forms.Application.Run(Form fm)

at XDAFacebook.Program.Main()
[Windows Mobile Software Development] Corwin9S:
works great here... in test of all options.

meanwhile, here is the new french .txt version, with new translations.
[Windows Mobile Software Development] jontp2:
4.6 RC2

Hi Joe,

new version is working quite a bit faster on my TP2 but having the same issue as others with the feeds not updating.

I've also noticed the inbox is well out of date & no way to force it to refresh.

Have managed to check in at work so places is working fine although I did check in twice as it doesn't give any indication that you have checked in maybe it could have a "checked in" logo added to the place in the list of available places?

I did however have to start my satnav first before it could get a sat signal but then maybe I was just not waiting long enough.

Have you noticed the old home screen if you swipe right on the blue header bar?
[Windows Mobile Software Development] joe_coolish:
Ok, I've made a diagnostic version of RC2 that will alert why the data isn't being downloaded. it will also update the Loading message in the Places with your Lat and Long coordinates when you get a lock-on

Let me know what the messages say!

http://code.google.com/p/xda-winmo-facebook/downloads/detail?name=XDAFacebook-4.6RC2-diagnostic.CAB
[Windows Mobile Software Development] stathis95194:
joe i get no messages. The behaviour is exactly the same as before. Loading message appears, it disappears but feeds are not updated. No debugging message though
[Windows Mobile Software Development] onebyside:
getting same response here

I do notice I can't delete Places/mine/ old check in's
[Windows Mobile Software Development] joe_coolish:
Really? One sec.
[Windows Mobile Software Development] joe_coolish:
Ok, in this cab, it will say "Data was received" in the Feeds section when it succeeds. It will also show the error message every time it errors and not on the 4th time.

When data is received it will be logged in the XDAFacebookDebug.xml file in the root directory.

Look for a node named "DataReceived". The value of that XML node will be in JSON format. Pretty self explanatory if you've never used it. Look at the first message in the JSON array and see if it matches the first node displayed in the feeds list. If they are off, then we found the bug!

I don't need to see the data, I just need to know if the first post and the first object in the JSON array are the same. If you don't know how to parse all of that, then you can copy the first bit of the JSON array and PM me along with a description of the first post that displays in the Feeds panel (name of person, message, date, etc)

If there is data and no posts in the Feeds panel, let me know of this as well.

Thank you for your help!
[Windows Mobile Software Development] stathis95194:
ok got it. The first post on the debug file now is the same with the first post of my facebook. But still xdafacebook feed didn't update
[Windows Mobile Software Development] joe_coolish:
Ok, just to verify:

Debug file = www.facebook.com

XDAFacebook != Debug file

therefore

XDAFacebook != www.facebook.com

If the above is correct, I know where to look! thanks
[Windows Mobile Software Development] joe_coolish:
Oh, really quickly. try this. Go to the root directory any delete the file "data.xfd" and see if the data refreshes!
[Windows Mobile Software Development] stathis95194:
exactly!!! this is correct
[Windows Mobile Software Development] stathis95194:
correct again!! after deleting data.xfd the feed updated
[Windows Mobile Software Development] onebyside:
same response here
[Windows Mobile Software Development] onebyside:
still not seeing any feed update
[Windows Mobile Software Development] onebyside:
still not seeing any feed update after deleting the data file
[Windows Mobile Software Development] joe_coolish:
Ha! That's great to hear :)

I think I remember messing with that. Someone suggested cache only after the initial load up, so I implemented that, and as a result, if you had the old cache file, I guess the data doesn't update :) Feel free to go back to the diagnostic version.

So, solution to Feeds not refreshing is delete "data.xfd" :)
[Windows Mobile Software Development] joe_coolish:
Really? And the Debug file info was the same Facebook's website? Try restarting and see if that helps get rid of all the cache
[Windows Mobile Software Development] onebyside:
oki worked the second time
[Windows Mobile Software Development] Avalon-99:
Hi, I did the same testings and have the same results.

Now I deleted XDAFB complete, deleted directory and installed XDAFB new.

Now it seems to refresh feeds always :)

On Check in, I got following message:

Found location

50,29781161

10,97869431

Loading results

...

But I couldn't see any place.

Could it be the same error like described in this thread?

http://xdaforums.com/showpost.php?p=10885922&postcount=19
[Windows Mobile Software Development] Avalon-99:
On the second Homepage, I couldn't add friends.

It worked with XDAFacebook-4.5.3-Friend-Link.CAB
[Windows Mobile Software Development] joe_coolish:
Did the message go away after a bit or was it stuck saying that?

I see what the post is saying. I'll take a look. That might be the problem and the fix!
[Windows Mobile Software Development] joe_coolish:
Ok, quick test. Tell me if this works for parsing the correct Lat and Long
[Windows Mobile Software Development] Avalon-99:
This message

Found location

50,29781161

10,97869431

Loading results

goes away after a bit.

And then I see this picture:
[Windows Mobile Software Development] Avalon-99:
No, always

Found location

50,29781161 ,

10,97869431

Loading results

Go to bed, will look again in 8 hours :)
[Windows Mobile Software Development] joe_coolish:
Thanks for your help :) I'll post again before I goto bed!

The problem is that doubles (the data type) are floating points. FB wants the decimal place to be a period, not a comma. But some European and other countries have floating point decimal places be deliminated by commas so Windows Mobile is displaying them as commas and not points. I modified the ToString of the double class to use periods, but it looks like it didn't work :(

We're getting close!
[Windows Mobile Software Development] Avalon-99:
Great, Great :) :)

In the new version, i could see all places, but i couldn't checkin.

I got the message error on checkin

Did you see my last translation:
[Windows Mobile Software Development] wil_dee:
not sure if this is the latest version: XDAFacebook-4.6RC2-GPS-Fix.CAB but using this version xdafb loads a lot faster, feeds update (i deleted the data.xfd file), however, the check in (which previously worked) now keeps bringing up the same location which is actually half an hour drive away from where i am currently...

i'll try again later to see if it is my gps issue...

edit:

ok so tested out again 2 hours later and again the locations for check in are for that same location that is half an hour away :(

oh and tested out the photo upload for the first time in a while, and OMG it uploads properly from storage card! thanks so much - u r a LEGEND!

however trying to view on a full size pic gives me this error after clicking on the thumbnail:

System.OutOfMemoryException

Not enough storage is available to complete this operation. - at XFControls.Utils.XFGraphics.GetBitmap(String file, Rectangle recReturn)

at XFControls.XFPanels.XFPanelImage.PanelPaint(Graphics g)

at XFControls.XFPanels.XFPanelBase.OnPaint(PaintEventArgs e)

at System.Windows.Forms.Control.WnProc(WM wm, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)

at Microsoft.AGL.Forms.EVL.EnterModalDialog(IntPtr hwnModal)

at System.Windows.Forms.Form.ShowDialog()

at XFItemControls.XFPanels.XFPanelItems.XFItemPictureRow.GetClickResult()

at XFControls.XFPanels.XFPanelList.OnMouseUp(MouseEventArgs e)

at System.Windows.Forms.Control.WnProc(WM wm, Int32 wParam, Int32 lParam)

at System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)

at Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)

at System.Windows.Forms.Application.Run(Form fm)

at XDAFacebook.Program.Main()
[Windows Mobile Software Development] Phhere:
Today i updated to XDAFacebook-4.6RC2-GPS-Fix.CAB :) Now i can get a list of Locations in checkin. Very good.
[Windows Mobile Software Development] jontp2:
XDAFacebook-4.6RC2-GPS-Fix.CAB

Just updated to the latest version and very happy to say the feed & inbox have both updated & places is working well.

Everything is actually running much faster so a big thumbs up :)

Like the album feature & the picture viewer, very nice.

Cheers

Jon
[Windows Mobile Software Development] es0teric:
What is the latest version for this Facebook software? I having error with 4.5

Is there any latest update? Please provide the link as well!
[Windows Mobile Software Development] jontp2:
http://code.google.com/p/xda-winmo-facebook/downloads/list
[Windows Mobile Software Development] joe_coolish:
Thanks! Yeah, the OOME with the big photos are going to be problematic. I'm actually finding that there is a memory leak with the Photo viewer. I'm going to try and fix that before I submit the next release. As for the GPS thing, that is very odd... One way to fix this is launch Bing Maps in the background and find your location, then switch to XDAFB and do the checkin. It should piggy back off of Bing Maps. (assuming you have GPS enabled there)

There are 3 other crashes that I'm getting reports of, and once they are squashed, I'll do an official update.

So if there are any crashes, please get them to me soon before I submit 4.6!
[Windows Mobile Software Development] toeck:
Here checkin gives also error! GPS worked find!

Thanks for this great up!
[Windows Mobile Software Development] toeck:
Version 4.6.3RC2 gps fix
[Windows Mobile Software Development] MusikMonk:
I'm trying the newest beta and I've got two issues. The first being with Places check in, it just displays "This may take a while. GPS location data is bring queried".

I've tried doing this:

But didn't change a thing. Bing (or any other app for that matter) doesn't have any issues finding a GPS location.

The second issue is random crashes. However, I don't get any kind of error message or crash log. The app just closes out of the blue.

At first it happened randomly while using it then it started happening right after opening it, each time.

I've tried deleting data.xfd and that seems to have solved the issue. So maybe something is corrupting the file?

Edit:

And since my sig is not up-to-date, I'm currently playing with this ROM: Energy.TOPAZ.29007.Sense2.5.MaxSense.Jan.30

I don't know if it matters but thought it wouldn't hurt.
[Windows Mobile Software Development] jontp2:
Just noticed that in the photo uploader the file listings are not complete, is there a limit to the number of files it can display per folder?
[Windows Mobile Software Development] geogeo.gr:
Greek lang update
[Windows Mobile Software Development] End001:
No me deja hacer ni ver nada...

've downloaded and installed the last update... But everytime I start the app an error message appears and it closes... I cannot see nor do absolutely anything...

I've checked the error message and this is what I get...

System.NullReferenceException
NullReferenceException-en XFControls.Utils.XFGraphics.CacheImage(String uri, Byte[] array)
en XFControls.XFPanels.XFPanelItems.XFItemBase.<>c__DisplayClass4.<DrawIcon>b__0(MemoryStream stream)
en XFControls.Utils.XFGraphics.<startImageDownloading>b__d()
My Phone is an CDMA HTC Touch Pro 2...
I hope you can solve this error wich don't let me enjoy the app... thanks...

My Phone is an CDMA HTC Touch Pro 2...

I hope you can solve this error wich don't let me enjoy the app... thanks...