[DEV] XDA FaceBook App for WinMo

Do you think that this is a good idea?

  • YES! Appubator, please do us a Facebook app.

    Votes: 2,259 96.3%
  • No, it is useless.

    Votes: 28 1.2%
  • I don't care.

    Votes: 58 2.5%

  • Total voters
    2,345
Search This thread

joe_coolish

Retired Recognized Developer
Mar 26, 2010
755
234
American Fork
Hi Joe

Just tried the app (using the authorisation from post 2) and it works! Beta1 did not work for me... Can't wait to see the finished app!

P.S. - will it have integrated chat?

Regards,

Alan

Thank you! I can't wait to see it either :D
Yes, I do plan on having integrated chatt, maybe not in time for v1, but definitely in the future. I'm going to look at some other chatt apps and get an idea of what I should do to implement it

Hi. First congrats for the amazing project (finally there's a excellent facebook app for WinMo being "made"). I own an omnia 2. installed first beta, didnt work with some errors reported by other users. With the second beta, i managed to log in, and i get the screen with 9 squares like tic tac toe. i dont see any picture, and clicking on every squares it does nothing. Anyway, really waiting on this.

P.S. the log in took me about 15 seconds;)

Yay for 15 second login! I've made (some) optimizations, but I haven't really gone through and pounded everything out. Once that happens, I'm hoping for blazing fast login (with good data connection) for the first release.

As for the squares, the click detection algorithm depends on the distance formula and a finger movement tolerance distance of ~8 pixels. Meaning, if your finger goes down then back up and hasn't moved more than 8 pixels from the origin, it is counted as a click. Depending on your touch screen/thumb size, clicking might be difficult. Try lightly/quickly tapping one of the top boxes and see if that works. I'll make the tolerance number customizable once I get to the config dialog.

I don't want to have the tolerance too high, because then it will take a lot of sliding to get out of the "click" mode and into the "scroll" mode.

If that doesn't work, I'll send you a version with a larger click tolerance to see if that works.

Thanks for the replies!
 

swax

Senior Member
Jan 28, 2008
100
10
hi again. Sorry. i did manage to click on the squares. still cant see any image.. in any part off the app. i'll try everything and give you the news;)

congrats:)
 

Slimshady007

Member
Oct 22, 2009
46
7
Hey I tried installing the .cab on my htc gene....but the app crashed....it just wudn't run? Any possible explanation? Is it resolution specific? My device is qvga
 

joe_coolish

Retired Recognized Developer
Mar 26, 2010
755
234
American Fork
hi again. Sorry. i did manage to click on the squares. still cant see any image.. in any part off the app. i'll try everything and give you the news;)

congrats:)

Yeah, there is no images yet. Hopefully beta 4 or 5 will have images/pictures. 2 and 3 both will NOT have any images or graphics. Image placeholders are rendered thou, they will be bright colored boxes in spots where images normally would be.

Hey I tried installing the .cab on my htc gene....but the app crashed....it just wudn't run? Any possible explanation? Is it resolution specific? My device is qvga

No, there isn't a resolution limitation. What version of .netCF do you have? It needs to be 3.5.

Also, does the app give you a specific error message? If so, please present a screenshot.



On a side note, I just finished implementing the profile page. It has 3 tabs, one for wall, info, and photos. Very similar to the Android app.

I also implemented a "double buffer cache" which uses more RAM but makes the app run smooth as butter. I saw significant improvement to the render quality on my test device.

The next steps before beta 3 are:
  • Fix any bugs that come from beta 2
  • wire up all 9 main panels
  • implement background loading of data (allows the UI to do its thing while data loads)

After I get those 3 things done, I'll release the next beta. Beta 3 should be "mostly" fully functioning (with reguards to reading data) so that is exciting!
 

hquijada

Member
May 1, 2010
6
0
Error...

Every friend. But now I have a new error :


XDAFacebook.exe
InvalidOperationException
La séquence ne contient aucun élément (The sequence contains no elements) .

(à = "to")

à System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
à XFControls.XFPanels.XFPanelItems.XFItemProfileHead.GetHeight()
à XFControls.XFPanels.XFPanelList.Add(IXFItem item)
à XFControls.XFControlUtils.SetupProfile(FBPerson pers)
à XFControls.XFPanels.XFPanelItems.XFItemFriend.GetClickResult()
à XFControls.XFPanels.XFPanelList.OnMouseUp(MouseEventArgs e)
à System.Windows.Forms.Control.WnProc(WM wm, Int32 wParam, Int32 lParam)
à System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)
à Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)
à System.Windows.Forms.Application.Run(Form fm)
à XDAFacebook.Program.Main()



I have the same error. :p
 

namwollem

Senior Member
Apr 11, 2007
241
2
Sussex
Beta2

I tried the second Beta now available, and found that (rightly or wrongly) only a couple of options were available to me.

After successfully logging in, the page is split into nine areas, most of which don't react to touches (or slides across the area). However, if I touch the top middle 'box', the "time line" or "latest news" screen appears, which works nicely, and if I push the little pink square at the top, it returns to the first screen.

If I touch the top-left 'box', nothing happens at all.
If I touch the top-right 'box' the contacts list is displayed, and I can scroll up and down through this list (231 at present) quite happily with no problems,
HOWEVER, if I select one of these to see the profile, the following error(s) appear.
Screenshot1.jpg
If I select DETAILS, the full information of the error(s) is/are as follows...
Screenshot3.jpgScreenshot2.jpg


None of the other 'boxes' have any operation at present.

Great work so far guys, please keep it up, and I look forward to you next Beta for testing!

Regards,

"namwollem"
 

joe_coolish

Retired Recognized Developer
Mar 26, 2010
755
234
American Fork
I tried the second Beta now available, and found that (rightly or wrongly) only a couple of options were available to me.

After successfully logging in, the page is split into nine areas, most of which don't react to touches (or slides across the area). However, if I touch the top middle 'box', the "time line" or "latest news" screen appears, which works nicely, and if I push the little pink square at the top, it returns to the first screen.

If I touch the top-left 'box', nothing happens at all.
If I touch the top-right 'box' the contacts list is displayed, and I can scroll up and down through this list (231 at present) quite happily with no problems,
HOWEVER, if I select one of these to see the profile, the following error(s) appear.
View attachment 373063
If I select DETAILS, the full information of the error(s) is/are as follows...
View attachment 373065View attachment 373064


None of the other 'boxes' have any operation at present.

Great work so far guys, please keep it up, and I look forward to you next Beta for testing!

Regards,

"namwollem"

Yep, you are correct in that only 2 boxes work for this beta. I have (almost) all of the boxes working in the code. Once I get the issue that you (and a few other people) are having, i'll finish up the last 3 or 4 boxes and post Beta 3 :)

Glad to hear that the pink box worked for you and that side scrolling was working. How was the smoothness? I've made some improvements to the speed in the next release and it should be a lot faster/smoother

Thank you for the dialogs! They help A LOT
 

namwollem

Senior Member
Apr 11, 2007
241
2
Sussex
Apologies!

Yep, you are correct in that only 2 boxes work for this beta. I have (almost) all of the boxes working in the code. Once I get the issue that you (and a few other people) are having, i'll finish up the last 3 or 4 boxes and post Beta 3 :)

Glad to hear that the pink box worked for you and that side scrolling was working. How was the smoothness? I've made some improvements to the speed in the next release and it should be a lot faster/smoother

Thank you for the dialogs! They help A LOT

Apologies, you guys are working very hard on this, and I should have given you some more complete feedback. The scrolling was VERY smooth, quick but not too quick, and I was easily able to navigate through my contacts. The changing from the "main" screen to contacts, and then back to "main" also worked via the pink box, and I also tried switching between "main" and contacts several times over using the boxes, this never gave any problems, and was also very smooth to operate and also didn't show any signs of stutter etc..
 

Slimshady007

Member
Oct 22, 2009
46
7
Hey I tried again and the app started, but the problem is it won't go past the login screen and I waited for nearly 30 mins....:(
 

joe_coolish

Retired Recognized Developer
Mar 26, 2010
755
234
American Fork
Hey I tried again and the app started, but the problem is it won't go past the login screen and I waited for nearly 30 mins....:(

Have you authorized the app? The link is in the second post.

@namwollem

Thank you for the feedback! No worries :) Hopefully I can get another beta up this weekend. I've fixed (I hope) the error that you were getting, so then you can see a little more of the app here in a bit!
 

namwollem

Senior Member
Apr 11, 2007
241
2
Sussex
Excellent!

I shall look forward to begin able to "help" you guys out a bit further; when the next Beta is available!
 

bigga29

Senior Member
Oct 9, 2009
248
20
San Jose
I install the second Beta I am able to login I get the home screen with the white blocks but I cannot pass from there My device is HTC Touch2 T3333( mega) with the latest net framework 3.5 What I am missing?
 

joe_coolish

Retired Recognized Developer
Mar 26, 2010
755
234
American Fork
I install the second Beta I am able to login I get the home screen with the white blocks but I cannot pass from there My device is HTC Touch2 T3333( mega) with the latest net framework 3.5 What I am missing?

yes, the touch sensitivity is set pretty hi in that beta. I changed it for the next release so that should be resolved

hi... is there any news about this wonderful app?

Yes, there is some news. I have almost completely redone the core UI structure to support bitmap level caching of List Panel Items (in otherwords, it goes faster) I've also added a lot of extensibility to the core UI which will allow for better/faster debugging. I've changed the touch sensitivity and increased the touch tolerance to allow for easier clicking. Included a demo Homescreen windows, finished the profile view and LOTS of other stuff.

I'm going to be releasing the Core UI .dlls as an SDK hopefully this next week. That will allow other coders on the forum to use and develop applications with a pretty solid foundation. Also, it will allow me to get technical feedback and make improvements to the core UI for this Facebook app.

I have 3 things I need to implement before I release the next beta.

  1. Adding State representation to the List Items
  2. Finishing the generic "Post" item
  3. Finish the "Loading" item
    • This item will allow for async loading of objects into lists
    • it will also allow for cached data to be displayed and when new info is downloaded it will be instantly added to the list
    • finally, it should allow for UI manipulation while the data is loading.

Once I get all of that up, I'll have another release ready. This won't be the beta 3, but it will be the beta 2.5 release.

I appologize for the long wait. This is my first venture into the mobile arena, plus my first venture into Facebook. There is a lot of learning that is going on. Plus, life has been pretty hectic (but then again, when is it not?) so finding more than 10+ hours a week to work on it is pretty challenging. Hopefully by the end of this month I'll have a product that does atleast as much as the current MS version. Just, does it right!

Thank you for your support!
 

swax

Senior Member
Jan 28, 2008
100
10
yes, the touch sensitivity is set pretty hi in that beta. I changed it for the next release so that should be resolved



Yes, there is some news. I have almost completely redone the core UI structure to support bitmap level caching of List Panel Items (in otherwords, it goes faster) I've also added a lot of extensibility to the core UI which will allow for better/faster debugging. I've changed the touch sensitivity and increased the touch tolerance to allow for easier clicking. Included a demo Homescreen windows, finished the profile view and LOTS of other stuff.

I'm going to be releasing the Core UI .dlls as an SDK hopefully this next week. That will allow other coders on the forum to use and develop applications with a pretty solid foundation. Also, it will allow me to get technical feedback and make improvements to the core UI for this Facebook app.

I have 3 things I need to implement before I release the next beta.

  1. Adding State representation to the List Items
  2. Finishing the generic "Post" item
  3. Finish the "Loading" item
    • This item will allow for async loading of objects into lists
    • it will also allow for cached data to be displayed and when new info is downloaded it will be instantly added to the list
    • finally, it should allow for UI manipulation while the data is loading.

Once I get all of that up, I'll have another release ready. This won't be the beta 3, but it will be the beta 2.5 release.

I appologize for the long wait. This is my first venture into the mobile arena, plus my first venture into Facebook. There is a lot of learning that is going on. Plus, life has been pretty hectic (but then again, when is it not?) so finding more than 10+ hours a week to work on it is pretty challenging. Hopefully by the end of this month I'll have a product that does atleast as much as the current MS version. Just, does it right!

Thank you for your support!

Tnks for your answear.
I'm very glad to know that you're still developing.
you have all my support, and in the next month i'm willing to buy you a beer.;)

good luck
 

joe_coolish

Retired Recognized Developer
Mar 26, 2010
755
234
American Fork
Tnks for your answear.
I'm very glad to know that you're still developing.
you have all my support, and in the next month i'm willing to buy you a beer.;)

good luck

thanks! for the most up to date info, check out the Google code page (link is on the first post). there is an updates link there that has all the updates and when they happened
 

swax

Senior Member
Jan 28, 2008
100
10
hi:) downloaded it and tried it.. very eye candy:) nice work. profile, friends.. everithing working... even can see friends profile... very nice.. just seemed that its a little bit slow comparing to beta two..
Running in omnia2 stock rom... but.. almost getting it done right?? congrats.
Will try a bit more the features and post some more reviews.
Sorry for my english
 

namwollem

Senior Member
Apr 11, 2007
241
2
Sussex
Nice work!

Beta 2.5 is GO!! Check the second post for details and let me know what you think?

cheers

I downloaded and upgraded the install on my HD2 (from the Beta 2) - all with no problems! Ran the app. and it works really well. Nice scrolling and the options work well. The only think I noticed was that the News Feed and info on my profile was out of date, and I couldn't find a 'refresh' option.
The layout is nice and finger friendly and I can't wait to see more!

Keep up the great work!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Hello


    We are at the very beginning stage of development of new FaceBook app for WinMo.
    If any developer/graphic designer wants to join, please feel free to do so :)

    Please reffer to this google code project site:

    http://code.google.com/p/xda-winmo-facebook/

    To join the group, PM xda member: joe_coolish

    Donations:

    Promised Fullfilled

    sinoo - $10 + $10
    thekrautdog - $5

    PS: The poll is from the old post. You can still vote on whether you want a new FB app.
    2
    Follow updates on Twitter! Use the #xdafb hashtag to spread the word!
    Here is an article on what kinds of feedback we're looking for when helping test the public beta: http://xdaforums.com/showthread.php?p=9227274

    [UPDATED 12/7/10]

    BETA 4.1!

    **update** If you were caught in the infinite automatic-update, things should be fixed now. Also, I forgot to disable the Compose button in the inbox. It will crash the app if clicked on. Hopefully by friday I can have another version that has this part working :)

    • Photo Albums! Pictures can now be viewed in XDAFacebook.
      • Big pictures will open up in the default browser for the time being. Once I make a good photo viewer, I'll replace that.
      • Also, the settings menu has a whole section dedicated to photos. Feel free to play with the settings, but numerical values == 0 or <0 will cause the app to crash! There is no safty net for this!
      • There is a number for concurrent image downloads. This number should be between 6-10. Any more can cause slow down, and less and the effect seems non-existant. I've gone as high as 25 and felt pretty good about it. But I haven't dared push it to the limit!
      • New albums had a few bugs so I held back on this release. It will be coming soon!
    • Older Posts! Feel free to browse the older posts :) I've successfully gone about a days worth of posts back w/o any lag.
    • Searchable Friends List! I added a search box at the top of the friends search list :)
    • Memory Management! Special Thanks goes out to Corwin9S. He helped me look at the memory usage. I reduced the CPU cycles by ~30%. It still takes up about 3-6 mbs of RAM. This is caused by Form Allocations, DLL imports, etc. Most of the space is just allocated space that I can't get rid of. I will try to find more ways to make the RAM usage go down, but from what I've been told by some people at MSFT, this numer isn't uncommon or bad. CPU cycles are what count and that's what I'm trying to optimize
    • GUI fixes! I finished the drop-downs, so they look a little more professional. I also added the numerical counters. There are still more that can be done on them, so I will continue improving their apperance and performance.
    • Rollup of bug fixes
    • And finally SPEED!! This version should be the fastest yet. Rendering times are super quick and load times seem to be back to where they belong.

    Instructions for Localization:

    Please create a blank language file (instructions are above) and edit ONLY the text in between the quote marks "". The quotes need to remain!
    Verify that your text doesn't fly off the screen. Anywhere that the text is too long for the graphic, try shortening the word or pick a different one (if that's possible) if not, let me know (via picture) and I'll make the necessary changes.
    Once you have a translated file, save it as <Language>.txt and upload it to your device. Place it in the same directory where you got the Blank.txt.

    Please share your translations!

    ALSO! Since the app will be transforming and new features will be being added, the translation process will be ongoing.
    If you click "Create Blank Language File" and you already had an alternate translation loaded and working, the Blank.txt will only have the new strings in english, so you will only need to translate the changes.

    Unfortunately, after a couple of hours searching the web and looking at platform SDKs, I have learned that poking is not supported by the Graph or REST APIs (what I use to interact with facebook). I've been looking, and I might be able to hack something that might work, or I could have the option to support Pokes via SMS. I need your feedback. Which option (or both) sounds the best? Does anyone even Poke anymore?!

    Wall posting is very basic at the moment. I will be making an advanced text editor that has more options for posting links, privacy settings, etc.

    I also changed the road map a little. Let me know if that works for everyone!

    Hope everyone likes the new updates!


    I also wanted to make a road map of releases leading up to the final release of Version 1.0:


    BETA 4.X
    • This beta release will focus on posting data to Facebook and making sure everything works well.
    • This beta release will also include newer GUI pieces, such as Inbox!

    BETA 5.X
    • This beta release will focus on Chat!

    BETA 6.X
    • This beta release will focus on App Completeness! Or making sure all the functionality of a full Mobile Client have been implemented

    RC 1
    • This release candidate will focus on Bullet-Proofing! All minor bugs should be worked out

    RC 2
    • This release candidate will only happen if major bugs are discovered in RC 1

    Release 1.0
    • Hopefully all is well!


    That is the road map I have planned. I don't anticipate Beta 3 to be out very long (unless there are major bugs). I want to get to beta 4.X as soon as possible. I also might mix and match :) But that is the proposed roadmap to Release 1.0!


    Devices that this beta has been tested on:
    • HD2 WVGA

    BUGS!!!
    • Authorization should be working, but using the new URL is a lot cleaner (I think). Go here to authorize directly. Once you see the browser transfered to "Success" then try the application again
    • Friend names that are really long hang off the edge.
    • I've fixed this bug for the next release, long names will be clipped with Ellipsis

    And the status of this beta is:
    works-on-my-machine-starburst.jpg


    ENJOY!
    2
    thank you for the reports :)

    I'm going to be doing a ton of work for the next couple of hours. follow my progress on twitter (if you're bored and need something to do! also ask me questions on there and I'll be able to respond quickly.

    wish me luck!
    1
    Skinning instructions

    Design instructions:

    • Download screenshots.zip
    • modifiy images in favorite image editor (that supports .psd and layers)
    • post concept image in thread/send us the .psd file
    • (OPTIONAL) Make skin with concept

    Skin the XDAFacebook app instructions:

    • Download zip file
    • extract all images and place them in the \Program Files\XDAFacebook\Resources folder
    • launch application
    • enjoy!

    Ok, instructions on how to skin the app are as follows:

    • Find the image that you want to replace.
    • Create new image and give it the specific name.
    • Special "tags" at the end of the name give the image special features.
    • copy the images to the \Program Files\XDAFacebook\Resources directory
    list of tags:

    • _alpha this will take the first pixel of the image and make it the images "Alpha Channel". Make sure that the image is solid in that color and that there are no artifacts!
    • _trans_### where ### is a number (ie 200, 100, 10. Not 001). This number represents the total opacity for the image. The higher the number, the more opaque. Range 255-0.
    • _trans_png. This only works with 24 bit PNG files!!!! This is also very resource intensive, so make this a last option. This will preserve the images alpha channel. It is the only way to make partial transparencies.

    List of files: This list will increase and until final release is up for change!

    • header 480x50
    • house 50x50
    • XFPanelHome 480x552
    • alphabar 50x648

    the dimensions are based on 800x480 res screen. If someone wants to experiment and give me dimensions for other resolutions, please do so!

    If you have any questions about where these images are, let me know and I'll tell you

    Good luck and send me the zip with your skins and I'll post the best ones here :)
    1
    Thank you all for your support! XDAFacebook has a new home

    http://xdaforums.com/showthread.php?p=9779193#post9779193

    Please update your links. I will not be monitoring this thread any more.

    ~~~
    Joel