maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Annnounce] Sociality | Facebook client in Qt (https://talk.maemo.org/showthread.php?t=72842)

MohammadAG 2011-05-21 11:08

Re: [Annnounce] Sociality | Facebook client in Qt
 
I'm wondering how to implementing marking notifications as read, should all notifications be marked as read (ala facebook.com, iOS, android etc) when the dialog is opened, or should each one be marked as read when the user clicks it?

Personally, I prefer the former.

travla 2011-05-21 11:17

Re: [Annnounce] Sociality | Facebook client in Qt
 
Would it be possible to have a mixture of both? What I'm thinking could be useful is make the notifications 0 once the user clicks on the notification bar, bit show indiidual notifications that haven't been clicked on appear as unread (but obviously they don't count as unread).

This would make it simple to see which post/response to click, IMO.

At the end of the day, I'll be happy with whatever you decide.

MohammadAG 2011-05-21 11:39

Re: [Annnounce] Sociality | Facebook client in Qt
 
So you mean I should mark them all as read on facebook.com, and the UI would show them as blue, but the counter would show 0 (and they'd actually be read)?

travla 2011-05-21 11:43

Re: [Annnounce] Sociality | Facebook client in Qt
 
Spot on, and as the user reads the "unclicked notifications" they revert to the same colour as the cliced ones. If this is not so easy to implement, and I had to pick, I'd rather all notifications being cleared in one go as per facebook.com.

lucas777 2011-05-21 12:02

Re: [Annnounce] Sociality | Facebook client in Qt
 
Hey MAG any chance at all that it would be possible to watch video links inside the app? Would that be possible or not or even let them open up say in media player instead of it directing us to the site via microb be awsome if the vids load up in cutetube or kmplayer

Cheers mate

MohammadAG 2011-05-21 17:24

Re: [Annnounce] Sociality | Facebook client in Qt
 
Working on it.

(Full) album and picture downloading will be in the next version.

gregoranderson 2011-05-21 17:34

Re: [Annnounce] Sociality | Facebook client in Qt
 
Great app, once again MAG.

I note a lot of chatter about UI design etc ; but I think this the flow is fine and it keeps in line with the rest of the N900 application. A similar layout and design to the Fapman app list is ideal (I recall it was yourself MAG who offered a patch to space out the app listing).

A very, very simple change to implement that would go a long way to improving the rendering for some folk is to use Volume +/- to alter the font scale ; one of the Twitter apps had this functionality (I forget - I haven't used Twitter in ages!) and it was superb. Made a huge difference to readabilty depending on your environment (outside, dark room, morning and wide-awake, night-time and struggling to keep your eyes open - you get my point!).

Personally, I like *both* Sociality and Kasvopus.

poogash 2011-05-21 17:36

Re: [Annnounce] Sociality | Facebook client in Qt
 
Quote:

Originally Posted by Flashhh (Post 1011760)
Nope, i dont have this file. What should i write in it ?

it should be where your token is saved (userid and password)

Can you check the output of the command "dmesg" in an x terminal


EDIT: after logging in sorry forgot to add this

MohammadAG 2011-05-21 22:17

Re: [Annnounce] Sociality | Facebook client in Qt
 
Damn, I can't get QMediaPlayer to work with youtube, I keep getting Forbidden when trying to play the vid :/

marxian 2011-05-21 22:35

Re: [Annnounce] Sociality | Facebook client in Qt
 
1 Attachment(s)
Quote:

Originally Posted by MohammadAG (Post 1012255)
Damn, I can't get QMediaPlayer to work with youtube, I keep getting Forbidden when trying to play the vid :/

Ditto. :( You can always use Phonon, which I found to work OK. I have found that QMediaPlayer (via the QML video component) works on Symbian, but not with Maemo. I think the solution may be to set a cookie jar for the QNetworkAccessManager, but I haven't got round to trying it yet. I'm not sure how you would get the QMediaPlayer instance to use the cookie jar when making the HTTP request. I think it will be possible using QDeclarativeNetworkAccessManagerFactory, but that doesn't apply in your case.

BTW, if you are using the code I posted to get the YouTube url, you might want to take a look at the updated code, as I have since updated it to enable playback of videos that normally require age verification. :)


All times are GMT. The time now is 20:40.

vBulletin® Version 3.8.8