maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [QSportsEvent] FIFA World Cup and Football App (https://talk.maemo.org/showthread.php?t=49508)

magnuslu 2010-05-05 14:53

Re: [QSportsEvent] FIFA World Cup and Football App
 
Quote:

Originally Posted by magnuslu (Post 644322)
Ok, I've given up on CSS to render the RSS news feeds. That was probably a good decision as XSL is the better way to go.

Now it works :)

Will be added in 0.0.7!

I have planned two other features for that release (along with a few bug fixes). One is almost there, the other one... Well, we'll see how it turns out... Worst case I'll release 0.0.7 without it in the weekend.

Reflektorfalke 2010-05-05 16:15

Re: [QSportsEvent] FIFA World Cup and Football App
 
Quote:

Originally Posted by magnuslu (Post 644656)
Now it works :)

Will be added in 0.0.7!

I have planned two other features for that release (along with a few bug fixes). One is almost there, the other one... Well, we'll see how it turns out... Worst case I'll release 0.0.7 without it in the weekend.

Sounds great! ;)


And your "surprise" features make me even more curious :D

magnuslu 2010-05-06 11:45

Re: [QSportsEvent] FIFA World Cup and Football App
 
2 Attachment(s)
QSportsEvent 0.0.7, aka. Stadio Olimpico di Roma edition, will be released tomorrow! Ok, all great products have names as well as version numbers for their releases, so I thought I'd follow in that tradition. The selection this time is made because Inter Milan won the Italian Cup at that venue yesterday :)

One of the new features is that the UI will be somewhat 'user configurable'. In Qt, stylesheets can be applied to application widgets. These stylesheets can be read from a file and be changed in runtime. There will be a .qsportsevent/user folder where you can put your own matches.css, table.css, select.css and favourites.css files with the stylesheets to be used in those respective tabs of the application. Instructions as to exactly what and how you can use it can be found in the Qt documentation and tutorial. As an example, it should be possible for you to change the background image (your favourite team's stadium? a team picture? your girlfriend??) and the appearance of the 'matches' and 'table' tables.

Example:
Code:

background-image: url(<full path to the image you want to use>);
EDIT: In the sample file, the full path is preceeded by a ':' character. You should NOT use it! It is only needed when the item is taken from a Qt resource file. For user customization you will take it directly from the file system, so you shouldn't use that prefix!

The other 'user configurable' feature is the rendering of the RSS feeds. You'll find this file in .qsportsevent/rss.xsl.

Find samples in the attachment. Please note that the default implementation has the same stylesheet for all tabs, so I only attach one example. To be able to upload files to TMO, they have to have an 'acceptable' extension, that's why I had to add .txt. You don't need that on the device.

Please note that upgrades to newer versions of QSportsEvent might delete your files that you store in these folders, so please make sure to keep backups of them in other locations!

Be creative! Share screenshots, xsl, css and image files on the forum! I'm more than willing to change the default ones that come with the application with better looking examples provided by the community!

Please note that this is very experimental! I have barely tested it myself! I include it mainly because I don't want to spend too much time on the appearance of the UI and prefer to concentrate on functionality. Besides, implementing the feature only took 15-20 minutes anyway... Ok, it took longer to write these instructions :)

I can't guarantee that this feature will remain in the app, but I don't see any reason why not...

silvermountain 2010-05-06 15:19

Re: [QSportsEvent] FIFA World Cup and Football App
 
Quote:

Originally Posted by magnuslu (Post 644330)
I seem to remember that some community members reported that they did get the app to work on Diablo. Maybe the best approach is to find out from them what they might have done that others haven't, specifically in terms of qt and sqlite packages that they have installed on their devices.

If ANY Diablo user, as Magnus mentions above, have managed to get this app running on Diablo can you PLEASE say how? I'm not getting a warm and fuzzy feeling that I'll have a working version in a month :(

magnuslu 2010-05-06 15:40

Re: [QSportsEvent] FIFA World Cup and Football App
 
Oh well... The quality assurance department says that QSportsEvent 0.0.7 - Stadio Olimpico di Roma is good to go one day early!

All you need to know is in the QSportsEvent wiki page. Some reminders though!

1. Uninstall any previous version.
2. You will loose all your favourites.
3. There is a new dependency on libqt4-xmlpatterns. See the wiki page for installation details.
4. This is still a beta! Expect issues, and please, report them!
5. This is still a beta! Features will change!

Enjoy!

magnuslu 2010-05-06 16:08

Re: [QSportsEvent] FIFA World Cup and Football App
 
Quote:

Originally Posted by silvermountain (Post 646552)
If ANY Diablo user, as Magnus mentions above, have managed to get this app running on Diablo can you PLEASE say how? I'm not getting a warm and fuzzy feeling that I'll have a working version in a month :(

Oops... The one who reported that it was 'working' on Diablo was... You! :D In this post.

Can you please post (again) the errors you are getting when you launch it from the terminal window? I'll add it to the Wiki and see if someone who reads it might have any clues...

Anyway, I just submitted 0.0.7 to Diablo Extras-Devel (NOT Fremantle (i.e., N900), for those who might be wondering...), so it should be there. I haven't done anything that would fix this problem though, but it's always best to test with the latest version.

Reflektorfalke 2010-05-06 16:13

Re: [QSportsEvent] FIFA World Cup and Football App
 
Quote:

Originally Posted by magnuslu (Post 646591)
Oh well... The quality assurance department says that QSportsEvent 0.0.7 - Stadio Olimpico di Roma is good to go one day early!

Good decision - less waiting time for us :D

Already installed - first impression:

You are THE MAN, Magnuslu !!! :D

Again great progress, even bigger than expected :p

Hope I can find some time for testing soon - especially the new livescores!!!

silvermountain 2010-05-06 16:20

Re: [QSportsEvent] FIFA World Cup and Football App
 
Quote:

Originally Posted by magnuslu (Post 646634)
Oops... The one who reported that it was 'working' on Diablo was... You! :D In this post.

Yes, it worked once for me but then after an upgrade I got SQLITE errors. I'll post the errors in detail when I get back to where my NIT is later today :)

DaSilva 2010-05-06 17:04

Re: [QSportsEvent] FIFA World Cup and Football App
 
Quote:

Originally Posted by Reflektorfalke (Post 646645)
Good decision - less waiting time for us :D

Already installed - first impression:

You are THE MAN, Magnuslu !!! :D

Again great progress, even bigger than expected :p

Hope I can find some time for testing soon - especially the new livescores!!!

Could you please post some screenshots?
Would be nice...

magnuslu 2010-05-06 21:57

Re: [QSportsEvent] FIFA World Cup and Football App
 
3 Attachment(s)
Quote:

Originally Posted by DaSilva (Post 646724)
Could you please post some screenshots?
Would be nice...

And here the screenshots. Remember that the UI is user configurable as of v.0.0.7, so hopefully the creative members of this community will upload their own screenshots over time :)


All times are GMT. The time now is 23:05.

vBulletin® Version 3.8.8