yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] shadowline:
I know its a bit late (my battery died) but thanks, my tilt downloads that just fine now so im not left out of the testing, even if its not fully functional yet. :P

P.S. If you need additional graphics, just mail me at ShadowlineDesigns (at) hotmail (dot) com and ill help with what I can, ill be off the next few days anyway. Just a thought. :P
[Windows Mobile Development and Hacking General] TheChampJT:
So far looks great! Crashed once when viewing friends. Only about 10 friends showing though. Nothing else showed up except my part.

Suggestion, instead of the self part being blank, it could be titled "Status"
[Windows Mobile Development and Hacking General] chrisd1a1:
errors log uploaded, hope this helps with any changes

regards

Chris
[Windows Mobile Development and Hacking General] FloatingFatMan:
OK, before you go too far down this route, I think you need to pause and consider what devices this program of yours is being used on.

A mobile device, often using metered or high cost data bandwidth and with limited storage. It's great having an application that's really nice to look at, but it's of limited use if you get a $1000 phone bill at the end of the month and run out of memory after 10 minutes.

Some things you need to consider.

1. Bandwidth, bandwidth, bandwidth. Many people are on limited data plans, or Pay as you Go. Data charges are not cheap so you shouldn't download stuff that you don't NEED to, user pictures are one of these.

Your best options here are:

i. Do not show pictures by default. Create a user settable option to enable/disable pictures. Leaving it off by default minimizes bandwidth usage and thus data charges.

ii. Do not download all pictures as once, by default. Again, create a user settable option to either download all, or just those you actually select. This again minimizes bandwidth usage. If I want to know what someone looks like, I'll tap on them.

ii. Allow the user to select the cache location. Most people will want to put this on their Storage Card. Do NOT assume that though. There will be people using this software with different configurations, and not all will be HTC devices.

2. Device memory. ALL of our devices have limited memory. Make your app pretty by all means, but keep the memory used for this pretty as small as possible. Keep in mind that an image that's small in size might use more memory when displayed than you think. Do not use a 24bit image when a 4 bit image will suffice.

3. Resolution. It's far easier to make an application resolution independent from the very start than it is to add it later on. Make use of controls which support .Net's docking feature. That way, they will automatically resize/reposition themselves no matter what the device's screen resolution or orientation are.

That said, a very good start with your app. It's something WM has needed for a while and you've clearly hit the interest of many people. My points above are the kind of things that, as a professional application developer, I have to consider on a daily basis and I've noted are often overlooked by enthusiast developers. That's not to disparage yourself or other devs in any way, of course. It's just that people often get caught up in the features and forget about the vital core decisions that are an essential part of ANY application.

Don't let the enthusiasm here distract you from the important things. Speed, compactness and stability. Functionality and eyecandy come later.
[Windows Mobile Development and Hacking General] cornelha:
I am actually a desktop .net developer and docking is probably the coolest layout tool they could have given us. The problem here is that netcf suffers from not having enough custom controls available and I had to write some of it myself. I would be really to hammer together an app that looks and feels like every other netcf app out there but I really think we have the opportunity here to show what can be done when a community has input in what THEY want to use.

Memory at the moments is a prime concern for me as well as bandwith since I test this using my 2gb databundle. This is why I am implementing caching, I do however like the idea of allowing the user to choose if they want to load images or not.

Thanks for the input. And watch your back Muaddib might just show up ;)
[Windows Mobile Development and Hacking General] alabij:
I read FloatingFatMan's suggestions and they sounded pretty good but I'd rather the developer went for good looks and high bandwidth than memory conservation and universal usage.

Making a simple app is all too easy but in order to keep interest your app has to stand out, in order for it not to be forgotten in a day or two it has to be cool, hence there are sacrifices to be made.

Here in the states most people are on unlimited data plans, plus most people who use FB are most likely to be online a lot just by the nature of social networking.

So I say, make it beautiful, big and bulky and start the trimming and user customizations in later updates.

Just my 2 cents.
[Windows Mobile Development and Hacking General] deedee:
The US users may well be on flat rate tariffs but the majority of us Europeans are not, well I am on flat rate but it's a new contract. Even then my flat rate is subject to "fair useage".

All the flashy bells and whistles will have an impact for those with lower spec PPCs, think myTrinity may well be somewhere in the middle. So my 2p's worth is keep it small, keep it fast and let the users turn on the flashy stuff if they have the horsepower to do so.

Big issue i have to be a helpful tester is a lack of facebook friends, LOL.
[Windows Mobile Development and Hacking General] trikydiky:
when i try to open the program the virtual keyboard comes up but nothing loads, just goes straight back to file explorer. this happens with the cab file aswell. on a touch diamond, what could it be? is it something i am doing? rich
[Windows Mobile Development and Hacking General] cornelha:
My 19 friends on my one account and 5 on the other doesnt really help much either lol
[Windows Mobile Development and Hacking General] kosmos5457:
This has happened to me also but I have got it working by tapping on the facebook exe icon a few times for it to show up whenever it hasn't loaded.
[Windows Mobile Development and Hacking General] cornelha:
This happens when the Settings.xml file is not present
[Windows Mobile Development and Hacking General] trikydiky:
the settings file is present and i confirmed it is the same as post 2.
[Windows Mobile Development and Hacking General] trikydiky:
i tried tapping it it did exactly the same. Does yours work on your diamond? Does it matter the files are on internal storage instead of device?
[Windows Mobile Development and Hacking General] kosmos5457:
I have mine on internal storage too. Might work better on the device instead though. I've not tried that.

I have mine in folder Internal Storage/Downloads/XDAFBPPC/ and it works fine there.

Someone said that this program works better with the CAB file. Have you tried that?

I've not but am wondering what difference it makes.
[Windows Mobile Development and Hacking General] FloatingFatMan:
The US isn't the only country in the world though, and elsewhere, data can be seriously expensive depending on network etc. Why limit the application to only the most meaty of devices when a slimmer app can look JUST as good, and work on far more devices.

It's a LOT easier to add extra stuff in later than it is to take it out again.
[Windows Mobile Development and Hacking General] trikydiky:
I have tried the cab twice now. still no luck. i will try moveing it about and see if that works. what else could be causing this?

Just tried moving the files to different locations, still not loading.
[Windows Mobile Development and Hacking General] kosmos5457:
You have stored your username and password in the Settings.xml file? Not that I think that should make the difference so long as the xml file exists in the same directory as the program and its related files.

Not too sure what could be the problem otherwise, maybe a ROM problem?

Not sure what ROM I am using, I'm on the same ROM that my Touch Diamond came with which is the XDA Ignito ROM that O2 have customised.
[Windows Mobile Development and Hacking General] trikydiky:
no copied accross fresh. i'v got the standard vodaphone rom, it came with the fone, i have heard of some people having minor problems with this rom but mainly small memory leaks nothing like this. really disapointed now was looking forward to this :(
[Windows Mobile Development and Hacking General] ajbopp:
It's interesting how different people have different ideas of what's important. For a first generation beta application, I would say the more appropriate order of importance would be:

Functionality and Stability

Optimization for speed and compactness are longer-term goals, the sorts of things you finally do for version 1.0, along with eye candy - which can be further improved as you go along. But first and foremost, it seems critical that you understand what you want it to do, then make it do it, then make it do it well. Of course, you want to make it do it as well as you can all the way along, but it should not be a first overriding coding objective.
[Windows Mobile Development and Hacking General] chrisrc1985:
My error was the limit for friends...sorry I had no spare time last night, to check the forum.

However I downloaded beta6 a few minutes ago, and seem to still have a problem with friend list / inbox / home.
[Windows Mobile Development and Hacking General] FloatingFatMan:
Yeah, I should probably have been a bit clearer there to be honest. By functionality, I was meaning the more advanced features like album viewing and even profile pictures. Core functionality should have priority such as being able to log in and access your main page reliably, accessing profiles, making wall posts and adding friends. Get the core stuff working reliably first, then add the more advanced features and eyecandy later.

As for optimisation and compactness, I generally do that as I go. I get a function working correctly, then I work on trimming it down and speeding it up before I then plug it into the rest of the app. Mind you, the kind of software I write has to work as efficiently as possible, as slow clunky code can theoretically get someone killed... :S
[Windows Mobile Development and Hacking General] neborkia:
I've noticed a little bit of memory consumption on Polaris even when i close the application (from 50% to 60%).. maybe it needs to be released on exit..
[Windows Mobile Development and Hacking General] daniel.bigred:
Screenshot of Diamond

Hey Cornelha, nice to see a fellow South African doing something so important for Windows Mobile!!

I just wanted to show a screenshot of it running on my Diamond, no real problems* it's just a tad slow at the moment but I'm confident it will improve!

* the main concern is the size of the icons on the lower tab (since it's due to screen size), they still work though! I haven't received any notifications or pokes while using the app but it shows great potential and I fully support the development.

Please PM if you need assistance with the graphics as I can help if needed.
[Windows Mobile Development and Hacking General] cornelha:
Okay this screenshot actually helped alot with Resolution issues. I will have to implement font scaling on different resolutions. I see your friends list loaded correctly. I need to know from the folks where the friends list do not load whether they have a large amount of friends. I am working on a new beta where when the list catches an error the friend name also gets posted. This will allow the user to see if there are any "missing" info on this friend.
[Windows Mobile Development and Hacking General] itwasntme187:
Well your friends list has shown up, i can't understand why it is showing on some and not others....

i left my phone online all night with the friends list on to update But still in the morning nothing...

is there anything we could change to make it load up the friends? maybe somehow refresh the cache?
[Windows Mobile Development and Hacking General] cornelha:
Yeah I know what you mean I developer Retail Point Of Sale systems which need to run on ancient hardware. I mostly still stick .net 2.0, using the same approach. Make it work, Make it effiecient. I think developing for mobile devices actually helps when you in this sort of situation. Keeping all the limitations in mind.
[Windows Mobile Development and Hacking General] itwasntme187:
cornelha,

I have just checked my errors.txt file to find this...

-=-=-=-=-=--=-=-

18/12/08 1:53:08 PM

MESSAGE:

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.

STACK TRACE:

at System.Net.HttpWebRequest.finishGetResponse()

at System.Net.HttpWebRequest.GetResponse()

at Mono.Facebook.Util.GetResponseBytes(String url)

at Mono.Facebook.Util.GetResponse[T](String method_name, FacebookParam[] parameters)

at Mono.Facebook.FacebookSession.GetUserInfo(Int64[] uids, String[] fields)

at GoogleCode.FacebookCSharp.Facebook.HeartbeatThread()

Now i am using a cooked rom that has netcf 3.5 installed so i don't understand why i get that message? i still cannot get any friends to show up on the app... just the status tab with my pic. All the other tabs are still blank?
[Windows Mobile Development and Hacking General] kosmos5457:
For me there is no real difference between beta 5 and 6. My friends list does not load up. I have a total of around 288 at the moment. Could this be the problem?

Or could it be that the facebook application is stored on the Internal Storage on the Diamond?

I've not tried the Cab file either. Is it possible to uninstall it later when a new version comes out?

Thanks.
[Windows Mobile Development and Hacking General] jhw549:
I am more than willing to help on that front, as stated earlier I have 189. Not a huge amount compared to some of those I've seen, but enough for a testing phase. I also have unlimited data, which is another reason I'm trying to test as much as I can for you guys, I know not all of us are so lucky...
[Windows Mobile Development and Hacking General] cornelha:
Sometimes cooks leave out bits they believe are trivial to the operation of the rom. I did the same with WizFlo. The message you are getting relates to the messaging dll's are not installed. You will find the cab here someplace, I honestly cannot remeber where. This will allow me to see what the actually error is and I can get to fixing it. I am really starting to think this relates to huge numbers of friends.
[Windows Mobile Development and Hacking General] jhw549:
Off topic, if anyone else on here getting error 500 alot from the XDA forums and/or sluggish speeds?
[Windows Mobile Development and Hacking General] itwasntme187:
Yes same here, i thought it was my internet connection at first but after seeing the error 500 its clear a problem on the site... took me about 10 mins to be able to write this!:mad:
[Windows Mobile Development and Hacking General] jhw549:
Same here, I'm going to try to get a mod's attention and find out what's going on...
[Windows Mobile Development and Hacking General] itwasntme187:
ok so after loads of searching while constantly getting error 500 on the site i managed to find this link to the NETCFv3.5.messages cab, which has all language versions in:

http://www.savefile.com/files/1695359

after installing and soft reset it didn't seem to do much :( Still have blank friends list...

Now this is the latest error message from errors.txt:

-=-=-=-=-=--=-=-

18/12/08 3:58:28 PM

MESSAGE:

The remote server returned an error: (404) Not Found.

STACK TRACE:

at System.Net.HttpWebRequest.finishGetResponse()

at System.Net.HttpWebRequest.GetResponse()

at Mono.Facebook.Util.GetResponseBytes(String url)

at Mono.Facebook.Util.GetResponse[T](String method_name, FacebookParam[] parameters)

at Mono.Facebook.FacebookSession.GetFriends()

at GoogleCode.FacebookCSharp.Facebook.HeartbeatThread()
[Windows Mobile Development and Hacking General] jakub_w:
any ideas on the "IndexOutOfRangeException" error??

xdafbppc is authorized on my facebook.
[Windows Mobile Development and Hacking General] cornelha:
The remote server returned an error: (404) Not Found. <-- this at least is a good place to start. What kind of connection are you using ?
[Windows Mobile Development and Hacking General] itwasntme187:
ok so after sorting out the NETCFv3.5.messages issue, i now have the following error:

-=-=-=-=-=--=-=-

18/12/08 4:43:48 PM

MESSAGE:

Code: 4, Message: Application request limit reached

STACK TRACE:

at Mono.Facebook.Util.GetResponse[T](String method_name, FacebookParam[] parameters)

at Mono.Facebook.FacebookSession.GetFriends()

at GoogleCode.FacebookCSharp.Facebook.HeartbeatThread()

I know this came up earler and i don't think a fix was found so i guess for now i have hit a brick wall :(

edit:

I was using my default T-mobile data connection when i had the 404 error message, so i am now connected onto my laptop via active sync and i got the latest request limit error...
[Windows Mobile Development and Hacking General] cornelha:
Which beta are you using ?
[Windows Mobile Development and Hacking General] itwasntme187:
Im using the latest beta 6, i tried the cab file version as well but got the same error :s
[Windows Mobile Development and Hacking General] itwasntme187:
The slow speeds and error 500 is starting to really get on my nearves... wanna add me on facebook and carry on there :P
[Windows Mobile Development and Hacking General] jhw549:
I say everyone here joins the XDA group on Facebook (http://www.facebook.com/home.php?#/group.php?gid=36147316918&ref=ts) and we continue in a discussion for it (http://www.facebook.com/topic.php?topic=6103&uid=36147316918)
[Windows Mobile Development and Hacking General] jhw549:
cornelha, please join up in the group and board, I think we'll be able to get more done without the error 500's
[Windows Mobile Development and Hacking General] jhw549:
w00t! looks like we're back in business
[Windows Mobile Development and Hacking General] itwasntme187:
i just saw the message on facebook that V7 will be out... can't wait!
[Windows Mobile Development and Hacking General] deedee:
Just timed it, just over 2 mins from clicking Login to seeing the app loaded, with continuous GPRS while it was doing it.
[Windows Mobile Development and Hacking General] cornelha:
I am getting the same time, working on cutting out some redundant calls to the facebook server. The whole system rests on parsing html. Without it we dont have chat. There is also a heartbeat background thread which checks for friend and chat updates
[Windows Mobile Development and Hacking General] itwasntme187:
how long should we be expecting before v7 is out?
[Windows Mobile Development and Hacking General] cornelha:
Should be done in the next 30
[Windows Mobile Development and Hacking General] ramontrotman:
what happens if you take a step back for a few? Make the application a "viewer" first then add in feature by feature. So sort of mirror the same functionality of the website, but just with your pretty ui. You know...nothing advance, just the option to look at the news feed...your profile...inbox....things like that.

then when you've got that rock solid....add in the ability to upload pics. Then after that the chat...so on and so forth. this way you can kind of weed out the issues and start with very little server calls to begin with. Just a thought....
[Windows Mobile Development and Hacking General] ptyindian:
totally agree with you and that we should go tab by tab and make this thing work.
[Windows Mobile Development and Hacking General] vigin:
good point there
[Windows Mobile Development and Hacking General] deedee:
It also seems to be chomping its way into my data useage, looks like 3Mb for 30 mins logged in, is this normal, or is it going to be a log in, say hi and log out app?
[Windows Mobile Development and Hacking General] jakub_w:
can someone PLEASE figure out what this "IndexOutOfRangeException" is. i've asked it several times and have not gotten a single response. i have seen a few other people also ask this, so its not just me.

and yes, fbxdappc is on my "authorized" list on facebook.
[Windows Mobile Development and Hacking General] cornelha:
Post the error log so I can have a look at it
[Windows Mobile Development and Hacking General] jakub_w:
-=-=-=-=-=--=-=-

Dec 18, 2008 2:46:25 PM

MESSAGE:

IndexOutOfRangeException

STACK TRACE:

at System.String.get_Chars(Int32 index)

at System.Globalization.DateTimeFormatInfo.InsertHash(TokenHashValue[] hashTable, String str, TokenType tokenType, Int32 tokenValue)

at System.Globalization.DateTimeFormatInfo.CreateTokenHashTable()

at System.Globalization.DateTimeFormatInfo.Tokenize(TokenType TokenMask, TokenType& tokenType, Int32& tokenValue, __DTString& str)

at System.__DTString.GetRegularToken(TokenType& tokenType, Int32& tokenValue, DateTimeFormatInfo dtfi)

at System.DateTimeParse.Lex(DS dps, __DTString& str, DateTimeToken& dtok, DateTimeRawInfo& raw, DateTimeResult& result, DateTimeFormatInfo& dtfi)

at System.DateTimeParse.TryParse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles, DateTimeResult& result)

at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)

at GoogleCode.FacebookCSharp.Utilities.HTTPWorker.CookieManager.SetCookies(HttpWebRequest request)

at GoogleCode.FacebookCSharp.Utilities.HTTPWorker.SendRequestAndGetResponse()

at GoogleCode.FacebookCSharp.Utilities.HTTPWorker.get_ResponseText()

at GoogleCode.FacebookCSharp.Facebook.Login(String response)

at GoogleCode.FacebookCSharp.Facebook.Login(String username, String password)

at XDAPPCFB.Controls.facebookSession.Connect(String username, String password)

at XDAPPCFB.login.buttonEx1_Click(Object sender, EventArgs e)

at System.Windows.Forms.Control.OnClick(EventArgs 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 XDAPPCFB.homeForm..ctor()

at XDAPPCFB.Program.Main()
[Windows Mobile Development and Hacking General] cornelha:
I wouldnt call that normal I spent quite alot of time debugging today and I used about 16mb in total which include browsing and looking for code snippets and solutions
[Windows Mobile Development and Hacking General] cornelha:
How many friends do you have in your list ?
[Windows Mobile Development and Hacking General] htctoucher:
why doesnt everyone just wait until the app is more stable?

i see loads of posts recently about why it isnt working or how "we" should approach its development or if it will support things like vga (shouldnt be a concern at this point)..

why not just be patient, let cornelha do his thing, test each beta and just let him know of bugs.. i think posts right now should really only be addressing bugs so that cornelha can focus on the important things

just my 2cents.. thats how i am gonna be approaching this till it is more stable/functional :D
[Windows Mobile Development and Hacking General] jakub_w:
i have 259.