yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] meltwater:
OK, I think a change of plan, since the work with the api has proved very successful I think the main release will take a while (don't want to rush it, miss out important features or have it being slow and unresponsive). I was hoping I could release everything I've got working, but I want to take time getting the interface right etc, since there is now a lot which the api does!

However, instead, I shall release a cut down version, which had some of the smaller layout changes to the sense tab and ability to post status updates from the tab. It won't seem like much, but it will represents a huge stepping stone for what will hopefully form the new tab (& supporting software). This will also help soften the impact of all the changes needed to run the new api (which requires independent authorisation to the htc functionality).

I think this is the best solution, I know people are keen to get new functionality I've already mentioned but I was keen to give far more than what was expected (I use the test functionality in my program all the time for facebook now).

However, it's now become clear that it'll take time to get everything integrated, looking nice and working smoothly (and hopefully the design I've got in mind will fit in with the key concepts) that would keep people waiting for sometime. Add to that, I may not be able to develop much for a little while soon so better to release something.

I would have liked to have released everything together, but after having working on it for so long I want to do it justice and I've formed lots of ideas and concepts which I want to use to make something I hope will be worth it.

Before I release anything, I also want to resolve the sense 2.5.192x issue (still waiting for response from any 2.5.192X user on that). The script files for the two different versions have a number of differences, but hopefully it's the fact the script I've used references files which the 2.5.192X version does not.

Just need to know if both are in 2.5.192X or not.

3F9D5F14_manila

7DDD3EFF_manila

I'm hopeful that by adding any missing files it'll be able to use the same script, otherwise it would mean different versions of the script which I don't want to do (I've no way to test it).

UPDATE: Apparently doesn't work...
[Windows Mobile Software Development] meltwater:
Humm, unless I'm very much mistaken, have an interesting thing to test tonight.

HTC may have left their facebook authorisation keys in the registry, I wonder what happens if I use them....;)
[Windows Mobile Software Development] madindehead:
Interesting for sure melt. Hope it goes well ^^
[Windows Mobile Software Development] meltwater:
Not had chance to try it yet. I will answer your previous question though, what have I got working?...

My test version of my supporting app, is able to view all friends status updates, including likes and comments for many previous status updates (default is 25 at the moment). I store the data locally so you can load and browse all the data off-line. I'm also able to use the contact photos stored by the tab to display with the status etc. You can post your own status updates, post to friend's walls and like posts and make your own comments... Basically, all the basics/beginnings of the api are working, but of course need a lot of work to integrate it to the tab with a suitable interface and also add support for things like posted urls, photos etc. I've not looked at the events side of the api, since no-one I know uses them I've not seen any so far. It's something I can add later on anyway.

Unfortunately, facebook do not give you access to the Notification's list (one of the main things I would have liked) also working out if you've already "like"d a post is long winded so yet to do that.

At the moment I'm trying to get the facebook id of a selected contact from the tab itself to tie to my supporting app, without that id I can't then provide the related info. UPDATE: Got it!!!!! Wooo-hoooo!

Hope that answers your question...:D
[Windows Mobile Software Development] madindehead:
Awesome, thanks for that melt. Very good to know you are getting well with it. A good UI is definitely important. Like I said, hope it goes well.
[Windows Mobile Software Development] meltwater:
Support for 2.5.192X tab

Hi,

Perhaps anyone else has some ideas on this, trying to get the tab to work on sense 2.5.192X.

I've checked the main files the tab replaces and the main differences are in the copy of the peopleupdate.luac script which makes the facebookpage.luac script, used by the tab (done this way so the people tab is unaffected by my mods).

0de73b01_manila \windows\htc\people\scripts\people\peopleupdatepage.luac

090EF4F3_manila \windows\htc\people\scripts\people\facebookpage.luac

First, I noticed the requires in the files are different (see jpg 01), the original 1921 script did not have PeopleLayout and FormatTime, which would probably cause the tab freezing. I checked those luac files and they don't have any new references in. So providing those files to test with:

3F9D5F14_manila \windows\htc\people\Scripts\People\FormatTime.luac

7DDD3EFF_manila \windows\htc\people\Scripts\People\PeopleLayout.luac

The tester slickeric reports:

The fact the menu items work means the Sense page is performing some commands ok, it suggests the update command and settings page link have issues. It's reading items from the registry so machine_status_svc is ok and it's running some code.

Next, I noticed there are several points where "ProjectCode" reg key is checked, (see jpg 02 - note the l_17_0 numbers are different, but that is just a generated reference) in particular for the settings page menu item. Now for my phone, the reg key is not "PHOTON" so I'm unsure if it works the other way.

Anyway, tester slickeric reported:

So it wasn't originally set to PHOTON which is what I was concerned about (causing different call to the original).

I know the tests are being done with my modded file, but that file is very similar and the changes shouldn't have any effect. However, a further test would be:

1) copy the original 192x 0de73b01_manila to replace 090EF4F3_manila. This should make the tab work (although the new menu items won't - so might get side-effects from that).

Edit: Make the tab work, but no extra features...

Also, the newer script makes a lot of calls to FBmgr in slightly different ways, so it will be worth trying to replace the FacebookSDK.dll from 192x to a 2012 version. It's a ROM file though, so I can't get it off my device (will need to pull it from a kitchen ROM pack) and it may be difficult to replace. Edit: Got it from a ROM pack.

I know one solution will be to add my mods to the old 192x script but:

1) I can't test them

2) new mods are in functions not in the old script

3) I can't support different versions of the file.

Anyone else got any ideas? Really want to fix this, and then I can release the next status updating version of the tab!
[Windows Mobile Software Development] Captain_Throwback:
Actually, there's a 2012 FacebookSDK.dll here (posted by me): http://xdaforums.com/showpost.php?p=6034402&postcount=33

It's not a CAB, but making a CAB from it should be easy, using DriverWiz. I'll post the CAB here, if you want.
[Windows Mobile Software Development] meltwater:
Thanks CT. As Andy discovered, it was just locked by Sense (I had it running). It didn't seem to help changing the dll but the old script would have needed the old dll (as it was active in the people tab still). I've suggested some more tests for him to try (replacing both scripts and the dll), so fingers crossed.

I can't see anything else major between the two files using WinMerge which could be an issue, but might have missed something.

At least it's an easy fix to get the new icons and font colours working on 192x (simply copy the old script) but it would make the install a lot easier if we can upgrade the PeopleTab script and the dll, to work with the new code. After-all, the extra functionality takes the tab to the next level.

Dev Update:

Ahhh, custom controls, what a nightmare! List of custom controls, what a bigger nightmare!

PS: What function do I need to over-ride to support sliding up/down gestures on a control? [OK think I've got it sorted now]
[Windows Mobile Software Development] meltwater:
Dev Update - Preparation for Beta Test:

Settings Page:

Right, work is going nicely on transferring the settings page to use the Sense SDK, about 80% 100% there with the interface, will then need to transfer the functional code across (although complex it works in development version).

Facebook Tab Code:

Will do a tidy up and put the links in for the settings page and status update etc. Still need to see if I can find a point where I can "hide" the events list (if required by the user) - would be nice to include. Other mods are ready.

Status Update Page:

Functionally done, but want to find a nice way to display the prompt (i.e. Using the sense sdk if possible).

Facebook Api:

Improved authentication options (fb helpfully withdrew the authorisation page I was using). Improved security of keys & tokens etc. All done.

Update internal dialogues to use sense SDK.

Language support:

convert all pages & dialogues to use the language files.

Create a release build with the test extras stripped out.

Beta Test....

All-In-One Cab Install

Posted the screens from the settings page (note not populated with data and some items will only be visible when advanced settings are selected). As mentioned before, they are just empty containers but I have working code using MS forms so can transfer it.

Anyone have comments on the settings???
[Windows Mobile Software Development] Captain_Throwback:
Very nice! I'm not sure what they all mean, but I know you will provide thorough instructions & documentation :).

In the second screenshot - is there a reason, under the HTC Settings section, that the same option is listed twice? The original HTC Settings are "Download Data automatically (every 2 hours)" and the option you list there regarding downloading while roaming.
[Windows Mobile Software Development] wez89:
Settings look great using the sense SDK..Seems this is becoming to come along nice, i congratulate you on proceding with this almighty task, it seems it has taken alot of knowledge and determination to get this far with the program. Thanks for all the hard work
[Windows Mobile Software Development] meltwater:
Yep will try to explain them all at some point. Most are controlling the existing reg values, there are some new ones though which are for the api etc.

Thanks for reminding me, I'd spotted that the other day and meant to correct it (good old cut and paste)! I've put them in since I intend to replace the HTC setting page and some users may need those settings still. Corrected it now. tx
[Windows Mobile Software Development] meltwater:
Thank you for your kind words. I've learnt so much doing it all and there is a lot of that knowledge built into the new stuff. This release will introduce the foundation work on which the rest of the tab can be built on, I hope it is a good stepping stone for the future work.
[Windows Mobile Software Development] madindehead:
@ meltwater

The settings look excellent mate! Works really well with the SDK =) I look forward to seeing the continuation, and like I said, I'm always here to help beta test ^^

Keep it up
[Windows Mobile Software Development] Agent Zach:
Haven't checked here in a few days, and I'm extremely pleased with what I've just seen.

You've stepped up the game BIG TIME melt, awesome work!

Can't wait to test. :) Keep us amazed. :D
[Windows Mobile Software Development] t3rm3y:
ok really stupid question as on mob.batt about to die so not read thread-if have the Facebook tab already can i update with a cab or anything to latest?
[Windows Mobile Software Development] admfrlnd55:
Hey thats some good work there!! I love the FaceBook Tab and would love to beta test!! Just drop me a line and im there!! I can really see this becoming so good that people would think it was factory installed!! Keep it up and im with you all the way!!
[Windows Mobile Software Development] mike2nl:
Hi meltwater,

i am surprised about the gui for the sdk/api. That's rocks. If you need help for beta, we wait for it :D.

BTW> fresh hard reset about gps tracker things. Now it is free for the beta tab :D
[Windows Mobile Software Development] meltwater:
Getting there...

Anyone able to check this out???

Last item to add to the settings GUI if it is useful.

Question: For those which use events, can anyone describe to me what happens when you alter the following registry keys? (no-one on my facebook account use events so I can't check this)

HKeyCU\Software\HTC\Manila

Facebook.LeadTimeOfEvents (default 30)

Facebook.LeadTimeOfEventsEnable (default 1)

They are not referenced within the Manila code, so I'm hoping they are used by the facebookSDK.dll.

I am guessing (if used), this will control how many events get displayed on the tab, according to how many days they have left to go, if enabled. If disabled, I would expect only the events of the day shown OR no events shown (which one?), also what happens if the lead time is 0?

Hopefully someone can answer this and if so I will allow control via the settings page for those who need to reduce/increase their event lists (otherwise I won't include them).

Dev Update (7th June) - Preparation for Beta Test:

Settings Page:

All done, except language support, saving of settings (most of the code is ready, but easier to finish GUI first) -done! and possible options for Events (see above).

Facebook Tab Code:

Just needs tidy-up, hopefully Events are covered by the above...

Status Update Page:

Functionally done, but want to find a nice way to display the prompt (i.e. Using the sense sdk if possible) - waiting for panel example first (would be nice to display text box on transparent background, multi-line sense text box is now ok though).

Facebook Api:

All done for this release (only using a small part this time).

Update internal dialogues to use sense SDK.

All done.

Language support:

Convert all pages & dialogues to use the language files. Will take a while but will get other bits ready first.

Create a release build with the test extras stripped out.

Beta Test....

All-In-One Cab Install
[Windows Mobile Software Development] sternas:
Facebook.LeadTimeOfEvents (default 30) and

Facebook.LeadTimeOfEventsEnable (default 1)

do nothing....

Sir, do you want any help from me ?

I am waiting for your new beta...
[Windows Mobile Software Development] Captain_Throwback:
Of course. Always willing to help. I just have to figure out an easy way to create a Setup.dll file to run the FixStartManila.exe automatically, and the CAB should be easily self-contained. Anyone know how to make a setup.dll :D?
[Windows Mobile Software Development] meltwater:
They do nothing? How very helpful! Is that with them set before or after an update? Was really hoping it would save me modding the sense code to remove Events if required...

Also, is it just my build or has the registry key for My Update stopped getting updated? Wondering if there are any other side effects from the June 1st permissions switch over...not had a look yet to check everything else is still working (online albums, birthday updates, new contacts etc).

Not me unfortunately. Getting close now for beta time (converting to allow language support now!).
[Windows Mobile Software Development] sternas:
my help for now...

"aFaceBookTab_With_Eng_Strings" is before translations

only for GER|FRA|ITA|ELL|SPA|PTG|RUS|NLD|NOR|SVE|DAN

"aPeopleTab_for_FaceBookTab" I think is OK, all HTC Lang

...
[Windows Mobile Software Development] meltwater:
I'll have a look through the list, might save me looking up some of the filenames.

The language support is using the same files but with extra entries for the text within the settings page (unfortunately it's a lot of text - but hopefully that makes it clearer what is what).

Note: The language api I've written could be used for other apps if people are interested. It can be initialised with specific items to translate or will read in the whole file, then you make simple calls (just like the sense code):

this.Text = Locale.GetString("IDS_SETTINGS_TITLE");

The files to use for each language is now defined by the ApiLang.xml file (as attached).

The settings page should detect your language and auto-select it the 1st time. It will also allow you to select which language you want so if you are happy with the tab in French and the settings in English then that is fine (or you can extend your French manila file and translate the settings page too). On loading the settings page it will then read in the selected file and extract the translation text (just like Sense does).

I'll post my new manila language file when I've done the 1st draft (about 80% done I think - spent most of last night inserting the text), (although beta testing may find a few corrections), then people will be free to start translating (and have language support from release and built into ROMs).

Clearly if the translations are done before the proper release then your language will be integrated automatically, so it's worth doing.

Use the language files from the original thread and add the new IDS entries at the top of the file (down to IDS_FACEBOOKTITLE).

The raw/translated screens are posted below.

Also ApiLang DraftA.xml.txt needs to be updated with language friendly names (or default "Lang (es-es)" will be used), I assume people would prefer Deutsch to German as the description etc etc. Again, this is something I can't do (since I do not know what people prefer to call their own language).

<langcode id="de-de">
<description>Lang</description>
<source>0431A004_manila</source>
</langcode>

SO those who want to help, the above two items are there to be done.

Dev Update (8th June) - Preparation for Beta Test:

Settings Page: Done (debugging now)

Facebook Tab Code: Just needs tidy-up.

Status Update Page: - waiting for Sense panel example

Facebook Api: Done

Update internal dialogues to use sense SDK: - Done

Language support: Done (debugging now) - will add external setting of lang file list DONE

Create a release build with the test extras stripped out.

Beta Test....

All-In-One Cab Install

My list is looking good, getting there now (dare I say perhaps next week for beta???).

Added screens to my old post showing the original settings page (during development) http://xdaforums.com/showpost.php?p=6677953&postcount=102

Latest Language files will be posted on the Beta Tester's Manual Post
[Windows Mobile Software Development] meltwater:
More screens for translations....there are other screens but these will be the main ones.

"Remove stored authorisation" button will have text...IDS_FBAUTHORISE_REMOVE_DESC
[Windows Mobile Software Development] meltwater:
Last set...humm, the Yes/No could be a problem...oh well will come back to that.
[Windows Mobile Software Development] Captain_Throwback:
Quick Question on the Language translations - I feel like I'm being a bit picky here, so I apologize in advance, but is there going to be different language files for en-gb vs. en-us? I notice that your translations use the "s" instead of "z" and the "ou" instead of just "o" (ex: favourite vs. favorite). Is that something that should be "translated" as well, for as much accuracy as possible? I'm not sure how that will translate as far as ROM usage goes, since technically, isn't en-gb 0809, while en-us is 0409?

Again, I apologize for even mentioning it, but I think you, like me, are a bit of a perfectionist ;).
[Windows Mobile Software Development] meltwater:
You can have it in Klingon if you like...[Face book == qab paq]....files are now defined in apilang.xml although the intention is use existing tab manila language files.

En-us is a seperate manila file (5470CE36_manila) anyway so you're covered. Feel free to post your "translation from The Queen's English...." 5470CE36_manila file. ;)

Edit: Added a screen shot - list generated from ApiLang.xml

Unfortunately, my code still has "InitializeComponent();" in...:( I don't care if you get an extra 9 points in scrabble.
[Windows Mobile Software Development] madindehead:
All looking excellent there meltwater. Don't forget to drop me a copy of the beta when it's ready to be tested :p
[Windows Mobile Software Development] mike2nl:
Hi meltwater,

me too. I will wait for the beta before i go further with tabs. Only the manila today page and doc tab is added. The rest have to wait for facebook :D
[Windows Mobile Software Development] meltwater:
No problem. Just sorting out the status update page (decided in the end to keep it similar to the HTC one - sorry no fancy bits this time round). Then a few little things to tinker with in the settings pages and then tidy up of the sense/manila code.
[Windows Mobile Software Development] mike2nl:
Hi meltwater,

i can wait and my phone have to wait *lol. Make your phone your own *lol. Your work is really amazing that we can wait. I know what it's mean with coding. I do the whole nothing else.

Today a new can open driver with ANSL interface to UNIX, uff...
[Windows Mobile Software Development] meltwater:
oh it's PIC assembler for me today, so hence why the tab is getting done instead... ;)

If M$ and HTC don't bother to finish things properly then the least they could do is make it a little easier me-thinks.
[Windows Mobile Software Development] mike2nl:
Hi meltwater,

in the main thread: V1.5... It is coming...

That sounds good to me :D
[Windows Mobile Software Development] meltwater:
Finished the status update page this afternoon. Just working on the about box...so getting there.

I still need to go through the manila files and work out which one's I've changed, I've experimented with a lot of them since the last release.

:D

Glad I decided to release it now since there is plenty in this release to test etc.
[Windows Mobile Software Development] madindehead:
I'm ready to beta test whenever. Just flashed a new ROM last night, and haven't bothered to reinstall your old Facebook tab. So all ready to test this one. I have document tab and ereader tab cooked into the ROM I am using by the way.
[Windows Mobile Software Development] meltwater:
OK, hopefully I can put the files together tonight. Although, still got the odd thing I want to resolve still...but if needs be can sort them out afterwards.

UPDATE: Ok not gonna happen tonight, not far off now though. Thanks for waiting.
[Windows Mobile Software Development] mike2nl:
Hi meltwater,

>>OK, hopefully I can put the files together tonight

Please take your time. 2 or 3 days more is not the question. Better o good running 1st beta for us. Ooops we are beta's :). Ok then tomorrow (joking)

No please again, take the time. Don't forget that there are many users outside and when the beta is out you will have more todo then ever. Think about that...
[Windows Mobile Software Development] madindehead:
No problem meltwater. Like mike2nl said, take your time. We can wait patiently (we do for Co0kie, we can wait for you too). Quality is worth waiting for!
[Windows Mobile Software Development] mike2nl:
Hi meltwater,

one question: do you working with dropbox? This is for beta stuff perfect.

We do this also with co0kie, and me with others too for new skins and apps for wm6.5.
[Windows Mobile Software Development] meltwater:
Never used dropbox but will give it a go. May well be useful for when I open up the source too.

I think I'm there with the beta (was trying to get it done on friday night since I knew I wouldn't get much time over the w/e). Just got rid of the main niggles I had (at least the ones I can remember), the others I can live with for now or I've forgotten them.

So difficult to stop tinkering! lol

UPDATE: Last minute check with the language file support and there's a bug, so hopefully tomorrow!