yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] m0nkeyman:
Thanks for the update all is working good on HD2. One thing I would ask and don't know if its on your list of stuff to add is a remove button. You know to delete stuff of your wall or remove a comment you made.
[Windows Mobile Software Development] joe_coolish:
yes! that is one of the main reasons i started this project was for that feature :) hopefully i get to it soon!
[Windows Mobile Software Development] grymcent:
or a port thing? or security access?
[Windows Mobile Software Development] joe_coolish:
Skins!

Alright :) I got permission to upload the skin files.

Feel free to replace the files with custom ones if you'd like. I'll post a little more about this in the third post of this thread, but basically things work like this:

make images files

Give them the specific names (I'll enumerate them in the third post)

place them in the Resources directory!

Anyways, Look for the download here

http://xdaforums.com/showpost.php?p=6404470&postcount=3

Enjoy!
[Windows Mobile Software Development] jaysonic91:
Okay I've installed it on my Touch HD running Energy Standard ROM 6.5.3, and it allows me to login, go through PIE and allow it and all that. However, when I run the program again it shows me the main screen then a few seconds later throws an error at me:

Value can not be null.

Parameter name: value

I've tried connecting over Wi-Fi as well and it produces the same result. If you need more information let me know.
[Windows Mobile Software Development] joe_coolish:
ok, could you include the rest of the error? picture is fine :) i know theyre long

thank you!
[Windows Mobile Software Development] jaysonic91:
Rest of the error is:

XDAFacebook.exe

ArgumentNullException

Value can not be null.

Parameter name: value

at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
at FBEntities.FBObjects.FBParseUtilities.getJSONObject(JToken jToken, Type type)
at FBEntities.FBObjects.FBParseUtilities.testPrims(FieldInfo field, JObject o, Object item)
at FBEntities.FBObjects.FBParseUtilities.Parse(JObject o, Object item)
at FBEntities.FBObjects.FBNotificationListObject.Parse(JObject text)
at FBEntities.FBObjects.FBNotifications.updateList(Object val)
at System.Threading.ThreadPool.WorkItem.doWork(Object o)
at System.Threading.Timer.ring()

Might be a few spelling mistakes, had to write it because couldn't find a way to copy and paste it. Hope that's what you're after.
[Windows Mobile Software Development] joe_coolish:
Yep, that's what I was looking for!

extract this zip into your \program files\xdafacebook directory and override the DLL. Tell me if that fixes the problem :)
[Windows Mobile Software Development] namwollem:
Working now......

When I suffered from this error, I was having problems using WiFi with my new Router. Since then, I have resolved this issue, and can now connect my HD2 to WiFi, and have tested v3.5.1 again, and it works fine! It maybe a problem for me with GPRS, I'm not sure. (Whenever I try to connect with GPRS, everything else is ok, so I know my connection is good, but XDAFacebook throws back "There was an unknown error", but on WiFi, it works fine...... Hmmm?).

Scrolling in great, speed is good, the layout and buttons work well, and the pictures are fine also! Keep up the good work!
[Windows Mobile Software Development] jaysonic91:
I extracted your ZIP into the directory you mentioned. I have a new error now joe_coolish, it is:

XDAFacebook.exe
TypeLoadException

at XDAFacebook.SplashScreen.SplashTimer_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer._WmProc(WM wm, Int32 wParam, Int32 IParam)
at System.Windows.Forms.ApplicationThreadContext._InternalContextMessages(WM wm, Int32 wParam, Int32 IParam)
at Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)
at System.Windows.Forms.Application.Run(Form fm)
[Windows Mobile Software Development] lederhosndjango:
Tested on my HTC HD2 and works..this app looks very promising - keep up the good work!

Any chance of getting facebook places to work with this app? Still missing this feature on my cell :(

Im sorry if this question already has been answered.
[Windows Mobile Software Development] joe_coolish:
That's not good! I'll take a look :) sorry about that!

I'm making a very thorough connection analyzer right now. It should save all the info that I need to figure out what the unknown error is.

Yes, I've been asked about Facebook Places(Here and here are the responses). I'm looking into it, but if there is no APIs exposed then it's looking like a no :(
[Windows Mobile Software Development] dotNETProgrammer:
I've been getting the same errors as those posted above. I've tried attaching a debugger to the process but it crashes before I can attach.

I pulled the project out of subversion but can't get a good compile because the project XFItemControls is missing some resources (graphics).

I was just gonna add some dummy graphics to get it to compile so I could debug it properly, but figured it would probably be better if you just added them to subversion.
[Windows Mobile Software Development] joe_coolish:
Yes, I know... I need to get on that!! Bah! :) I keep forgetting! Ok, I'm going to do that right now while i'm thinking about it :)

Look for a new commit in the next 15 mins. Or follow me on twitter and I'll tweet when it's done :)
[Windows Mobile Software Development] dotNETProgrammer:
Still missing the graphics in subversion ;)
[Windows Mobile Software Development] joe_coolish:
Really?! I thought I deleted the controls that required them? Does it say specifically which graphics are missing?
[Windows Mobile Software Development] cina:
.netCF error during login

Hi!

I've tested 3.1 then 3.5.1 and now 3.5.1 AD (not sure what 'alternate domain' is for) but all has an error after I press login button. I have a bit of a special e-mail address that is long (>16 chars) and contains a dash (-). I uploaded a photo-shopped image of the error message. Forgive me it is in Hungarian but I think you can guess that "hely" means "place".

Can I install this on my Storage Card? (I've tried both places to install to - no luck)?

Do I need to uninstall 3.1 before 3.5.1 setup or an update is needed?

Is Hungarian language a problem for your app (locale is set to 040e)?

If I can help to beta test this I'm really interested. My HTC Diamond became a low end device nowadays so it would be great to have this app at an acceptable speed on it.
[Windows Mobile Software Development] joe_coolish:
AD is for those that can't access the Facebook domain locally. Like if your work (or anyone else) blocks facebook and you want to use the local wifi to browse. BUT!!! There are special instructions for this version so PM me if you want to use it!

As for the error, try doing this: Uninstall the application->goto \Program Files\ and delete the folder 'XDAFaceboo'->Reinstall.

Do that and tell me if it works!

If not and you get an error, let me know which specific error you get (ie NullReferenceException or ArgumentOutOfOrderException)

Thanks!
[Windows Mobile Software Development] cina:
Hi!

Thanks for the quick reply.

I'll stick with regular app, I think there's no need for the AD version.

I've uninstalled, deleted XDA folder from Program Files, reinstalled the app.

I've received ArgumentException only, none of your errors you've listed.

Hope that helps.

Cina.
[Windows Mobile Software Development] cina:
Error messages

I've installed NETCFv35.Messages.EN.wm.cab.

I've got

XMLException: There is an unclosed literal string. Line 3, position 45.

Hope that helps.

Cina.
[Windows Mobile Software Development] joe_coolish:
That does help. I'll zip up a new DLL when I get some time. I'll just disable XML debugging and send it to you. Hopefully then it works!
[Windows Mobile Software Development] joe_coolish:
For everyone that is getting the "Unknown Error", here is a small program that runs the same login process, but writes all the messages to a text box.

Since I am not getting any errors, I wasn't able to fully test all the parts of the app. All of the source for this app have been uploaded to the SVN, so feel free to check it out :) I hope that the results come back with what I need to fix it!

Intallation: Unzip onto your phone (anywhere should be fine)

usage:

Launch App

type in username and password (warning! Password is not hidden so that you can make sure that it is typed in correctly! Only do this in a private location)

Press "Go!"

Wait for "Go!" to be re-enabled.

Press "Go!" again. This will save the output to an XML file.

You can search the file to make sure that your username and password aren't included in the file. I'm almost positive they won't be, but just to be on the safe side :D

Send me the results (don't post them in the thread please!).

Hopefully somewhere in the jumble of HTML and text rests the answer!

Thanks!
[Windows Mobile Software Development] dotNETProgrammer:
Yea man, here ya go.

**edit, forum won't let me post an image, so here's a link to it.

Remove the spaces in the domain name and add the w w w.

Keep It Simple Software.net/images/missing.jpg
[Windows Mobile Software Development] flo2be:
Hi

Great app..

i was wondering, will it be possible for the non-touch to used it, or maybe adding compatible version for the non-touch? since this app supports winmo 5 (that the oficial don't) and lots of people in my country still using the non-touch winmo 5 :cool: lol, this app will be even greater n most likely will beat the oficial app :D
[Windows Mobile Software Development] angusc:
Hey Joe_coolish,

Would that allow Facebook access in China? they block all access to Facebook and I have not even been able to use my VPN on my mobile to access it. Even though the VPN does work on my home PC in China to give me access.
[Windows Mobile Software Development] fogfire:
Great Stuff.. since the official app stoped working last month I missed having face book on my Omnia 2. This works great and look forward to all the comming soons becoming new features. BTW I see they just added a polling / question feature. I would vote for this being one of the next features added to this application. Thanks.
[Windows Mobile Software Development] laujoyjoy:
It works with my Verizon stock TP2, thanks!

After I press the "X" on the upper right corner to exit the program, I couldn't get back in when I press the facebook icon again.

If I press the "exit" button at the menu back to exit, I can get back to the program fine.
[Windows Mobile Software Development] rille95:
please fix the svn so we can try to add something to this app ourselves :)
[Windows Mobile Software Development] joe_coolish:
Wow! I didn't even know that folder was missing :confused: I just added it. Let me know if that works?! Also let me know of any other errors when trying to compile a fresh build.

I am going to make a non-touch version once everything is to a point that I can. I don't own a non-touch phone so I will have to do some learning about how to do things (like scrolling). But yes, I am definitely going to be working on a non-touch version :)

It should work. But you need to install the certificate for the site (since they are using a self-signed certificate). The proxy that I'm using is the www.fa-ir.lisp4.facebook.com proxy.

I didn't know the offical app stopped working? :D More reason to use mine!

As for polling and questions, if they update the Graph API to allow for it, then I'll add it :)

I'll look into that. Thank you for the report!

Should be fixed!
[Windows Mobile Software Development] rille95:
The project compiles now! i will toy with it and see if i can add something :)

Edit: login button seems to be unexistant when i debug?
[Windows Mobile Software Development] joe_coolish:
Check to make sure that the image is in the Resources folder and that it is set as an Embedded Resource. Set a breakpoint on line 29 in the XFLoginButton.cs and see if the image gets displayed.

On a side note:

I just made a possible change for those who are getting the "Unknown Error" when they log in. I'm testing it right now, but for all that want to give it a try, use the cab I'm uploading. Click the "Web Login" button (yeah, it's ugly. I need someone to make me an image for it :D) and follow that.

Thanks to Meltwater for the help on that!

Good luck and send me feedback!
[Windows Mobile Software Development] dotNETProgrammer:
Ok, it compiles just fine now. :)

2 things so far.

In LoginCustom.cs -> btWebLogin_Click() the line,

auth.AuthKey = authPage.token_text;

will throw an exception if you've never logged in before or if you logout, restart the app and try and login again. The reason for this is because the variable "auth" is null. It was easily fixed by changing that line to read,

auth = new Authentication(authPage.token_text);

The second problem is an "unknown exception". It is being caused by calling the Dispose() method of the web browser control in LoginWeb.cs.

I know most sources will tell you to always call the Dispose() method on a web browser control, however, since the form hosting the wb control is being disposed of upon returning the garbage collector should take care of it for you.

Comment out the wb controls Dispose() method and that error goes away.

Someone correct me if I'm wrong.
[Windows Mobile Software Development] dotNETProgrammer:
Oh yea, you won't see the second problem I was talking about unless you have "Microsoft Error Reporting" turned ON on your phone.
[Windows Mobile Software Development] joe_coolish:
lol, yeah I was writing all that up while talking to one of my buddies about getting hired by Microsoft. I think I did more talking than coding! I should have done more than a "Yep, compiles and runs" test :)

Thank you for your corrections! IDK if i've given you commit rights to the SVN. If you want them, PM me your google handle and I'll add you as a committer :)

Also, let me know what you think of the rest of the code. I tried to be as standards compliant as possible, but I haven't done much as far as documentation and commenting.

Thank you for your help!
[Windows Mobile Software Development] dotNETProgrammer:
Ok, I sent ya a PM. I think it sent anyways :)

Yea, the official FB app took a nose dive recently which got me looking around for another one, which is how I came across this project.

I've been playing around with a couple different SDKs the last week or 2 basically just trying to get a better grasp on the whole FB API(s) thing, in case I had to write something up myself.

I haven't had a chance to give your code a good run through yet as I wasn't able to compile it ;P but now that I can I will.

Just a quick bio, I'm a software engineer by trade. Been programming for close to 20 years now, mostly WinCE, PPC and WM devices for the last 5 or so. I know a couple different languages but C# has been my main one since they released it.

Anyways, if I can help, I will as time permits. :)
[Windows Mobile Software Development] claus1953:
Working good on my Samsung Omnia i900L with cooked ROM WM 6.5.3.

After first setup, the program opens fast and logs in almost immediately. The first 4 buttons work without problems (the rest says comming soon).

I have a question, how do i post something on my wall or on the wall of my friends? Or upload pictures or links to it?
[Windows Mobile Software Development] joe_coolish:
yes. I made an app that downloads comics off the net. If i have some time tonight I'll post the code for http request handling.
[Windows Mobile Software Development] joe_coolish:
ok, here is some code that demonstrates downloading and saving. I'm just copying and pasting, so some of the objects might be custom, but should be enough to give you the jist

private void downloadFile(object obj)
{
string[] strs = (string[])obj;
string path = strs[0];
string src = strs[1];

try
{
string DestinationPath = path;
string URL = src;
char[] charSeparators = new char[] { '/' };
string[] arrBits = URL.Split('/');
string strFileName = arrBits[arrBits.GetUpperBound(0)];

if (Directory.Exists(DestinationPath) == false)
Directory.CreateDirectory(DestinationPath);

WebRequest request = WebRequest.Create(URL);

request.Timeout = 60000; // one minute

Application.DoEvents();
HttpWebResponse response = (HttpWebResponse)request.GetResponse();

Stream dataStream = response.GetResponseStream();
Application.DoEvents();

StreamReader reader = new StreamReader(dataStream);

BinaryReader myBinReader = new BinaryReader(dataStream);
byte[] byteMe = myBinReader.ReadBytes((int)response.ContentLength);
Application.DoEvents();

string strDestinationName = DestinationPath + "\\" + strFileName;
Application.DoEvents();

BinaryWriter myWriter = new BinaryWriter(File.Open(strDestinationName, FileMode.Create));
myWriter.Write(byteMe);
myWriter.Close();

reader.Close();
dataStream.Close();
response.Close();

showImage(path + "\\" + src.Split('/').Last());
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
[Windows Mobile Software Development] Prodigyz:
I'll be looking forward for this app.
[Windows Mobile Software Development] joe_coolish:
I'm going to add a base project tomorrow. I'll try and get a good JSON parser and a web downloader to start with.
[Windows Mobile Software Development] joe_coolish:
Ok, the test project is up. It's using the Json.NET parser from James Newton-King. All that it does is download a JSON object from FB and display it on the main form. It's a pretty good start for the Core API.
[Windows Mobile Software Development] Fredz:
Very well Joe. This library is compatible with .Net compact framework. I ll try it tonight.
[Windows Mobile Software Development] Sopis:
Guys

I have finally started puting some words together for the plan.

I will send it to you after I have more.

I will also do some UI mockups and functioanlity ideas.

I will let you know what I have.
[Windows Mobile Software Development] Fredz:
Hi. I ve make a function to connect to Facebook, but cause of lack of time, i haven t test it. I ll do it tonight.
[Windows Mobile Software Development] janneman22:
If you need me as Graphical developer pm me :)
[Windows Mobile Software Development] amannigam:
Hey

m really knew to .netCF...although m a C# developer...i would love to get involved into the project...though i can see u guys r rlly good programmers..if i can help u guys in progamming...will b like an honour fr me...nd ya i do designing too...i hav started checkin out .netCF...playing with the UI tools and all..lemme know
[Windows Mobile Software Development] joe_coolish:
Sweet! Yeah, we're looking for as many people as possible :) Even if it's for testing.

Check out the google code page and if you want to be involved, pm me your Gmail handle and I'll add you to the list of contributers
[Windows Mobile Software Development] amannigam:
hi i checked out the google code page...there is nothing to download...nd the codes u hav uploaded...shud i copy them to my VS? coz i cant see any option of downloading..as in how r we going about it? do we all make our versions or we sit up online nd decide how to go abt it? or i hav missd somethin...PMing my gmail to u ..
[Windows Mobile Software Development] joe_coolish:
The code is in the SVN repository located at the Source section of the site. You'll need an SVN client to download the project (I recommend Ankh SVN). If you need help with SVN, let me know and I'll post a general "how to" with Visual Studio
[Windows Mobile Software Development] amannigam:
M downloading it...will sort it out on my own..if i cant ill let u know..hehe
[Windows Mobile Software Development] amannigam:
ok..i connected with the repository twice bt i deleted my project coz its still unclear...am i supposed to create my own version or view ur copy nd modify it...or just create mine inheriting urs??
[Windows Mobile Software Development] stefanclark:
Surely work off the same project - idea is that you commit any changes you make (assuming you have tested your changes) any changes can then be updated by the other devs to their working copy. Plus if anyone really doesn't like your changes they can always revert them :D

http://en.wikipedia.org/wiki/Revision_control
[Windows Mobile Software Development] S.V.I:
This looks like a project I would be a part of. How heavy are the graphics?? need optimisation for speed and stability, give me a PM. I would be happy to help in my spare time. :)
[Windows Mobile Software Development] Sopis:
there are no graphics yet as I am still putting together he ideas..as soon as I have something to present Id like to arrange a meeting to present the ideas and discuss what is possible and what not...but I guess we can still use you though :)

the only graphic so far is the logo I made for the project at the google code project site :p
[Windows Mobile Software Development] joe_coolish:
x2

Hopefully by the end of the week we can start pulling things together. We're trying to figure out how to get the project registered with facebook so we can get access to the backend data. After that we'll have a better idea of the direction. But yeah, we can use/need all the help we can get!
[Windows Mobile Software Development] amannigam:
Joe can u plz put up a noob tutorial fr connecting to the repo coz i m getting connected to it bt i seem to h creating my own project nd not automatically getting the true project codes...as m new to this repo thing i dnt wanna play wit it on my own coz it may hamper the existing code...
[Windows Mobile Software Development] joe_coolish:
Welcome to the project! I've added you as a committer :) Wow, sounds like you have a lot of experience! I hope you don't mind my poor commenting :D

The answer to all of your questions are: You can't do any of them yet, but they will very soon be implemented! There really isn't a reason other than I see a shiny object and drop what I was doing to program that.
[Windows Mobile Software Development] joe_coolish:
ok, this week im going to have time to develop features onto the app. Which features does everyone want the most? ether post or tweet what you want. Use the #xdafb hashtag or directly to @XDAFacebook

:)
[Windows Mobile Software Development] namwollem:
Decisions, decisions!!

Where to begin!! Posting of pictures? Notifications? One I would like is that (I don't know if this is a bug or just an unfinished feature!) when I go into the "Inbox", I can only see the most recent message on the thread, I cannot open the whole thread to read. I have tried touching the picture, the title, and the message, but nothing opens the thread. Is this a (fairly) simple job for you!??
[Windows Mobile Software Development] ToddeSwe:
I was going to suppose something and started it and got:

å System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)

på FBEntities.FBObjects.FBParseUtilities.getJSONObject(JToken jToken, Type type)

på FBEntities.FBObjects.FBParseUtilities.testPrims(FieldInfo field, JObject o, Object item)

på FBEntities.FBObjects.FBParseUtilities.Parse(JObject o, Object item)

på FBEntities.FBObjects.FBNotificationListObject.Parse(JObject text)

på FBEntities.FBObjects.FBNotifications.updateList(Object val)

på System.Threading.ThreadPool.WorkItem.doWork(Object o)

på System.Threading.Timer.ring()

So i guess, i want this fixed before anything else :)

Have not installed anything new at all, or changed anything since it worked fine this morning!

Very strange!
[Windows Mobile Software Development] jaysonic91:
G'day mate, was getting the exact same thing. See here for my post and joe_coolish's response. Pretty much just read that page, there are a few things on there. See if his fix works for you, otherwise just going to have to play the patience game with me. :)
[Windows Mobile Software Development] m0nkeyman:
It would be good if when we got a notification we could see what it was for and be able to then flick straight to whatever that notification was about. That in mind would make the app much useable right now to people. As a lot of people spend there time flicking from one status to another commenting.

(Hope that made sense lol)
[Windows Mobile Software Development] ToddeSwe:
Tried it but ig gotten even worse :), before i did see thoose nice icons before it crashed, now it crashes at once.