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-26 05:53

Re: [Annnounce] Sociality | Facebook client in Qt
 
main.cpp:
Code:

#ifdef Q_WS_MAEMO_5
    QApplication::addLibraryPath("/opt/qtm12/imports");
#endif

Before making an instance of QApplication.

Thanks :)

MohammadAG 2011-05-26 07:08

Re: [Annnounce] Sociality | Facebook client in Qt
 
Youtube player up and working yay.

Now if only someone found a way to get past audio skipping when you touch anything hildon-related... (same in mplayer/someplayer etc)

Carlito 2011-05-26 07:28

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

Originally Posted by MohammadAG (Post 1015804)
Youtube player up and working yay.

Now if only someone found a way to get past audio skipping when you touch anything hildon-related... (same in mplayer/someplayer etc)

Great work! Seems like this becomes the ultimate Facebook client app! :) Need help for some GUI design? Just let me know.

gionni88 2011-05-26 07:59

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

Originally Posted by MohammadAG (Post 1015804)
Now if only someone found a way to get past audio skipping when you touch anything hildon-related... (same in mplayer/someplayer etc)

Do you mean touchscreen sounds?

If so you may try this:

Code:

void MainWindow::startMaemoTouchSounds() {
    QProcess myProcess;
    myProcess.startDetached("maemo-xinput-sounds");
 }

 void MainWindow::stopMaemoTouchSounds() {
      QProcess myProcess;
      myProcess.startDetached("killall maemo-xinput-sounds");
 }


marxian 2011-05-26 09:36

Re: [Annnounce] Sociality | Facebook client in Qt
 
I think MAG is referring to the low priority of third party applications when allocating CPU cycles, which is particularly noticable with multimedia playback.

gionni88 2011-05-26 10:10

Re: [Annnounce] Sociality | Facebook client in Qt
 
Ah, I see.

/usr/share/policy/etc/rx51/syspart.conf file is what needs to be handled. It's a simple conf file, check group [classify system] and add app path to it. Someplayer (and QRadio) already adds itself there to get CPU cycles.

Doing that you get sound even when pressing power button.

EDIT: there is also multimedia group, but with system group audio stutters are limited to the minumum.

pfontana77 2011-05-26 10:26

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

Originally Posted by MohammadAG (Post 1015804)
Youtube player up and working yay.

Now if only someone found a way to get past audio skipping when you touch anything hildon-related... (same in mplayer/someplayer etc)

Should i noticed and update in HAM for trying the Youtube embedded player?

allwise 2011-05-26 10:51

Re: [Annnounce] Sociality | Facebook client in Qt
 
Wow! I'm really looking forward to this release! When do you think it will be available?

MohammadAG 2011-05-26 19:51

Re: [Annnounce] Sociality | Facebook client in Qt
 
Soon, two days max I hope.

I was actually planning to make a UI similar to the stock player, but apparently I can't have overlays (unless I use mafw)

MohammadAG 2011-05-27 12:30

Re: [Annnounce] Sociality | Facebook client in Qt
 
Anyone got suggestions for a notification sound? I was thinking of ripping it from iOS...


All times are GMT. The time now is 04:13.

vBulletin® Version 3.8.8