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)

stobbsc 2010-04-12 09:10

Re: FIFA World Cup App ?
 
I can also only offer my vote, but if you need help and I can help then I will :-)

cashclientel 2010-04-12 09:34

Re: FIFA World Cup App ?
 
@magnuslu - I'd expect the BBC will have a stream by the time the world cup starts.

It isn't ideal, but as it's so close to the world cup now hoping for an app might be a waste of energy? I'm trying to be more pragmatic than negative but apologies if you feel I'm being more of the first.

There may well be cut down websites designed for mobile browsing or better rss feeds.

In fact now i think about it, it would be much easier for someone to make a page scraping app in (php/curl, etc) optimised for the n900 than a fully fledged app?

magnuslu 2010-04-12 15:33

Re: FIFA World Cup App ?
 
As an interim solution, I've added a QWebView widget with a link to SoccerDB as suggested by fgs. I'm encountering some issues with it at the moment. I'll let you all know if and when I resolve it (together with the 'description' issue that is preventing me from updating to Extras-Devel...).

Reflektorfalke 2010-04-13 19:19

Re: FIFA World Cup App ?
 
I agree with you guys, SoccerDB seems to be a good solution to get the data - and the best so far!

However, one downside I see at the moment is that club and league logos are not provided. From my point of view those logos are a must for a decent and "professional" look of the app...
But I am pretty sure that usage of the logos is not free :-( (Well, hope I am wrong on that)

Reflektorfalke 2010-04-13 20:45

Re: FIFA World Cup App ?
 
Quote:

Originally Posted by cashclientel (Post 606635)
@magnuslu - I'd expect the BBC will have a stream by the time the world cup starts.

It isn't ideal, but as it's so close to the world cup now hoping for an app might be a waste of energy? I'm trying to be more pragmatic than negative but apologies if you feel I'm being more of the first.

There may well be cut down websites designed for mobile browsing or better rss feeds.

In fact now i think about it, it would be much easier for someone to make a page scraping app in (php/curl, etc) optimised for the n900 than a fully fledged app?


I think the scope of this thread is not reflected by the title anymore.

Could a Mod please change the trhead title to something more appropriate please?

Maybe "[QSportsEvent] FIFA World Cup and Football App" ???

cpate99 2010-04-13 22:35

Re: FIFA World Cup App ?
 
It should be football baseball nhl bbal and soccer score stats rumors updates schedules etcl

magnuslu 2010-04-13 23:38

Re: FIFA World Cup App ?
 
Quote:

Originally Posted by cpate99 (Post 609463)
It should be football baseball nhl bbal and soccer score stats rumors updates schedules etcl

I'll be happy to add other sports as well even though the main focus at the moment is football (i.e., soccer). Do you know of any data source for those?

magnuslu 2010-04-13 23:46

Re: FIFA World Cup App ?
 
Quote:

Originally Posted by magnuslu (Post 607067)
As an interim solution, I've added a QWebView widget with a link to SoccerDB as suggested by fgs.

I'm making some progress on the QWebView, so soon (hopefully later today!) I will update a version which shows games and tables, but it will be 'online only' and not very visually appealing...

On the data feed no good news so far, but I'm still working on it... I'll look at parsing the data from the QWebView if I find no other solution...

Actually, on SoccerDB there are files in '.ts' and '.pdb' format. I've looked at them and they are very 'binary'. If anyone knows how to read them, we'd be done!

fgs 2010-04-14 07:43

Re: FIFA World Cup App ?
 
Quote:

Originally Posted by magnuslu (Post 609532)
Actually, on SoccerDB there are files in '.ts' and '.pdb' format. I've looked at them and they are very 'binary'. If anyone knows how to read them, we'd be done!

Here you can download the executable and source code of Teamstats for Windows Mobile, the application that uses the .ts files. License is GPL, source code language is C#.

After a quick glance, I'd say that the LeagueBinaryFile class (in the src/Core directory) contains full info on file structure.

magnuslu 2010-04-14 09:03

Re: FIFA World Cup App ?
 
Thanks!

Didn't think about that...

I've found the file that manipulates the '.ts' file. The core functions are 'LoadTeam' and 'LoadMatch'. I'll see if I can do some reverse engineering into Qt/C++.

magnuslu 2010-04-14 09:24

Re: FIFA World Cup App ?
 
1 Attachment(s)
Quote:

Originally Posted by Reflektorfalke (Post 609159)
However, one downside I see at the moment is that club and league logos are not provided. From my point of view those logos are a must for a decent and "professional" look of the app...
But I am pretty sure that usage of the logos is not free :-( (Well, hope I am wrong on that)

This is a perfect task for those who want to help out with the development of this app: Find a free source of logos that I could incorporate into the app :)

A second task is to help me with the design of an application icon. The one I have is too embarassing to show, but I'll do it anyway... I'm sure you'll understand why I need a new one :)

If there are any other free sources for background files, animations, images, whatever to spice up the UI, I'll be happy to have a look as well.

magnuslu 2010-04-14 09:47

Re: FIFA World Cup App ?
 
One more request from you out there. I could add 'news' from some RSS feeds for the leagues/teams as well. Any good sources for that?

magnuslu 2010-04-14 13:40

Re: FIFA World Cup App ?
 
Hi,

The imminent version of QSportsEvent will include links to leagues from the following countries:
England
France
Germany
International
Italy
Netherlands
Singapore
Spain
Sweden
USA
The selection is purely made on what I think will be mostly requested (plus my own personal preferences, Sweden and Singapore...).

I haven't done all simply because it is quite tedious to extract all information from the SoccerDB site, more specifically http://www.aragon.ws/soccerdb/site/ids.php.

If you want me to add more countries in future releases, I ask you to provide an attachment to this thread with a text file with the following sample format:

Code:

England|Premier League|2009-10|680
England|Premier League|2008-09|553
England|Premier League|2007-08|391

The way I did was to copy the table into Excel and from there to export to tab delimited text file and exchanging \t for |. I also had to trim some white spaces.

Thanks for your understanding...

OVK 2010-04-14 13:51

Re: FIFA World Cup App ?
 
1 Attachment(s)
Quote:

Originally Posted by magnuslu (Post 610249)
If you want me to add more countries in future releases, I ask you to provide an attachment to this thread with a text file with the following sample format:

Code:

England|Premier League|2009-10|680
England|Premier League|2008-09|553
England|Premier League|2007-08|391

The way I did was to copy the table into Excel and from there to export to tab delimited text file and exchanging \t for |. I also had to trim some white spaces.

Thanks for your understanding...

Like this if I am interested only on the next season of Finnish Veikkausliiga (starting on friday)?

twaelti 2010-04-14 13:55

Re: FIFA World Cup App ?
 
Now of course we would also need a function that allows us to input/upload/refresh results to SoccerDB - I mean, we are online as it happens, or not? :-)


BTW: A good app for FIFA World Cup Results would probably be Dexter, the teletext viewer. Most national TV stations have very up-to-date results in Teletext, also for international matches (at least the Swiss have).

magnuslu 2010-04-14 14:13

Re: FIFA World Cup App ?
 
Quote:

Originally Posted by twaelti (Post 610258)
Now of course we would also need a function that allows us to input/upload/refresh results to SoccerDB - I mean, we are online as it happens, or not? :-)

Absolutely! I'll look into that once the display of existing data is there.

Quote:

Originally Posted by twaelti (Post 610258)
BTW: A good app for FIFA World Cup Results would probably be Dexter, the teletext viewer. Most national TV stations have very up-to-date results in Teletext, also for international matches (at least the Swiss have).

Correct. In its basic version, it will be very similar to what Dexter (or any appropriate website for that matter) could deliver. It's just a matter or choice and convenience...

Fredook 2010-04-14 14:31

Re: FIFA World Cup App ?
 
What happend with Argentina?! :D i want Argentinaaaa in the list :D

robbie 2010-04-14 15:10

Re: FIFA World Cup App ?
 
Quote:

Originally Posted by magnuslu;610249
I haven't done all simply because it is quite tedious to extract all information from the SoccerDB site, more specifically [url
http://www.aragon.ws/soccerdb/site/ids.php[/url].

Do you only want the league id's or the team id's too?

ddwwf1 2010-04-14 15:27

Re: FIFA World Cup App ?
 
would it not be possible to tie in with a online bookmaker maybe if they payed u a small some to have links to betting on live games

this may not be possible but thought of as a source of income and way to expand on the app itself

magnuslu 2010-04-14 16:01

Re: FIFA World Cup App ?
 
Quote:

Originally Posted by robbie (Post 610355)
Do you only want the league id's or the team id's too?

At the moment only the league IDs will do.

magnuslu 2010-04-14 16:02

Re: FIFA World Cup App ?
 
Quote:

Originally Posted by ddwwf1 (Post 610381)
would it not be possible to tie in with a online bookmaker maybe if they payed u a small some to have links to betting on live games

this may not be possible but thought of as a source of income and way to expand on the app itself

An idea worth considering... If someone can recommend some betting site that would pay a 'commission' for referrals, I'll be happy to link to them :)

robbie 2010-04-14 16:08

Re: FIFA World Cup App ?
 
1 Attachment(s)
Here are all the leagues from all countries.

If you need something else parsed, let me know :)

Reflektorfalke 2010-04-14 16:18

Re: FIFA World Cup App ?
 
Quote:

Originally Posted by magnuslu (Post 609902)
This is a perfect task for those who want to help out with the development of this app: Find a free source of logos that I could incorporate into the app :)

Here are a few links to pages with club logos:
http://efcl.ej.am/
http://uefaclubs.com/html/1.html
http://www.logoserver.com/Soccer.html

However I am not sure if you can use those for online queries and wouldnt it be better (faster) to have the logos stored within the app?

magnuslu 2010-04-14 16:25

Re: FIFA World Cup App ?
 
EDT: The attached .deb file has been removed as there is a new one. Find it here:
http://talk.maemo.org/showpost.php?p...&postcount=113

Ok, the first PROTOTYPE, but 'working' version of QSportsEvent is now available. It should pop up in the Extras-Devel repository shortly. If it doesn't, you can use the .deb file attached to this post, but then you'll have to install any dependencies manually.

Please note that there is a dependency on libqt4-webkit. This is a rather big package (17Mb+), so make sure you have a friendly data plan when downloading it!

Instructions for use:
0. Delete any previous qsportsevent.db file you might have (You would only have one if you installed the version that I made available in the QSportsEvent thread of a month ago or so. Please make sure to uninstall the app as well before proceeding).
1. Launch the app.
2. Go to the 'standard' Maemo menu and select 'Import'.
3. Click 'Browse' and navigate to the SoccerDBLeagues.txt file (you will not see the .txt extension). You should be able to use the file provided by robbie with all the leagues as well. It's getting late where I am, so I have not tested it. I will include it in the next version.
4. Click on 'SoccerDB' (Do not click on Import!!). You don't have to enter anything in the Event Name. Just wait a couple of seconds. There is no visual proof that everything went fine :(
5. Click outside of the 'Import' window to get back to the main window
6. You should now see 'Football' as 'Sport', but nothing else in Region, ... You have to manually select 'Football' from the list for the next combo box to be filled.
7. Once you have entered Sport, Region, Event and Season, you should be able to see the Games(Online) and Standings(Online) tabs with data. Note that you always have to select from the combo boxes in that order!
8. Enjoy!
9. Provide feedback!

Known issues:

Apart from what is mentioned above...
1. The app dies spontaneously sometimes...
2. Looks ugly (but functional...)
3. Too many other small issues to list them all...

I'd be keen to know how well it works on Diablo (but only use the version from Extras-Devel, not the attached one!!).

magnuslu 2010-04-14 16:26

Re: FIFA World Cup App ?
 
Quote:

Originally Posted by Reflektorfalke (Post 610455)
However I am not sure if you can use those for online queries and wouldnt it be better (faster) to have the logos stored within the app?

Yes, I'd rather include them in the package, if I am allowed to...

Reflektorfalke 2010-04-14 16:50

Re: FIFA World Cup App ?
 
Hey Guys its great how this thread is taking off and even having the first prototype...awesome!
Of course, first of all BIIIIIG thanks to Magnuslu for all his work!
But also for all of you providing usefull input and help here!!!

Come on Guys lets start testing and help Magnuslu make his QSportsEvent a first class app :-)

robbie 2010-04-14 17:24

Re: FIFA World Cup App ?
 
1 Attachment(s)
Here's the source of the script that i used to get all league ID's. As you can see it's just a couple of lines of php. Most work is done by the simple html dom code.

So if you need something else parsed from the site, just ask.

Reflektorfalke 2010-04-14 17:26

Re: FIFA World Cup App ?
 
Version 0.0.3 is in extras-devel but I cannot install it - says libqt4-* packages missing :-(

cpate99 2010-04-14 17:29

Re: FIFA World Cup App ?
 
a sportscenter/espn wo

Reflektorfalke 2010-04-14 18:24

Re: FIFA World Cup App ?
 
Quote:

Originally Posted by magnuslu (Post 610467)
Yes, I'd rather include them in the package, if I am allowed to...

I assume use of club logos is no problem as they are used everywhere on the web and even quite a few sites offer complete collections - e.g. see the links I posted before.

This site (http://www.wgrill.net/index.php?page...f=1&i=download) provides even downloads for major european leagues...

What are the specs you will need for your app (size, type, naming)?

The league logos are protected brands as far as I know and probably not free for use - anyone knows better about the legal situation here?

Storebox 2010-04-14 18:34

Re: FIFA World Cup App ?
 
App for tracking football results is very needed!

Reflektorfalke 2010-04-14 19:14

Re: FIFA World Cup App ?
 
Quote:

Originally Posted by magnuslu (Post 609902)
This is a perfect task for those who want to help out with the development of this app: Find a free source of logos that I could incorporate into the app :)

A second task is to help me with the design of an application icon. The one I have is too embarassing to show, but I'll do it anyway... I'm sure you'll understand why I need a new one :)

If there are any other free sources for background files, animations, images, whatever to spice up the UI, I'll be happy to have a look as well.

Here is a football icon set that is free for use: http://www.iconshock.com/img/icon_fr...ons_Soccer.jpg

What about using the football as app icon and change it later when the app supports more sports?

Let us know what other icons you need or what you are looking for ...

Reflektorfalke 2010-04-14 19:37

Re: FIFA World Cup App ?
 
Some more Icons...

Package of national flags for the World Cup :-)

http://www.bartelme.at/material/flag...collection.zip (10MB)

magnuslu 2010-04-14 21:33

Re: FIFA World Cup App ?
 
Quote:

Originally Posted by Reflektorfalke (Post 610534)
Version 0.0.3 is in extras-devel but I cannot install it - says libqt4-* packages missing :-(

I wonder if this could be because of the Qt 4.6 libraries and the upcoming PR 1.2 and the 'Autobuilder' of maemo.org already making use of them.... I can also see the app in Extras-Devel now, and I have the same error. I don't have the dependency error when installing the .deb file that I have packaged myself on my own environment...

So the advise is probably to wait for PR 1.2 for 'normal' users (and let's not start a discussion about when that's going to happen as there are enough threads dealing with that already...). The adventurous can go ahead and install the .deb file manually :)

Reflektorfalke 2010-04-14 21:57

Re: FIFA World Cup App ?
 
Quote:

Originally Posted by magnuslu (Post 610886)
I wonder if this could be because of the Qt 4.6 libraries and the upcoming PR 1.2 and the 'Autobuilder' of maemo.org already making use of them.... I can also see the app in Extras-Devel now, and I have the same error. I don't have the dependency error when installing the .deb file that I have packaged myself on my own environment...

So the advise is probably to wait for PR 1.2 for 'normal' users (and let's not start a discussion about when that's going to happen as there are enough threads dealing with that already...). The adventurous can go ahead and install the .deb file manually :)

Yep, probably the PR 1.2 issue...ok, downloaded and installed your deb file - works YAAAYYY :D

Initially it loads and shows results from Italian Serie A under Games (Online) and the Serie A league table under Standings(Online).

But when I select the SoccerDB txt as described nothing happens...
All the drop-down menus on top stay empty.
And the app closes after few minutes...

Anyway, nice start - lookin forward to testing new versions ;-)
Please keep going!

EDIT: GOT IT!
After selecting the txt file you have to click the SoccerDB button...it says "importing"...click outside the "import" window...WORKS!

magnuslu 2010-04-14 22:14

Re: FIFA World Cup App ?
 
2 Attachment(s)
Ok, since it might not be readily installable, here a couple of screenshots

magnuslu 2010-04-15 07:01

Re: FIFA World Cup App ?
 
What can you expect in coming versions?

0.0.4 GUI improvements! Especially selection of league. Include ALL leagues as per robbie's file.
0.0.5 RSS feeds and/or links (Team homepages? Can you help me find them? Wikipedia? Forums?)
0.0.6 Download of full league info for offline viewing and maybe do something creative with it...
0.0.7 Link to SoccerDB to update scores
0.0.8 t.b.d.
0.0.9 Stability
0.1 Candidate for Extras-Testing?
0.x Add other sports (depehds on availability of data...)

What else would you like?

Seems though that SoccerDB is not so good for 'knock-out' stages of competitions and thus cups and our beloved WC! Any ideas there?

PS! The absence of a timeline for the various releases is intentional :)

nc00 2010-04-15 10:20

Re: FIFA World Cup App ?
 
Thx a lot for your work.
I'm sure it will be a great app.

If you need something specific about french football leagues I'd be happy to help

Reflektorfalke 2010-04-15 19:50

Re: FIFA World Cup App ?
 
Quote:

Originally Posted by magnuslu (Post 611385)
What can you expect in coming versions?

0.0.4 GUI improvements! Especially selection of league. Include ALL leagues as per robbie's file.
0.0.5 RSS feeds and/or links (Team homepages? Can you help me find them? Wikipedia? Forums?)
0.0.6 Download of full league info for offline viewing and maybe do something creative with it...
0.0.7 Link to SoccerDB to update scores
0.0.8 t.b.d.
0.0.9 Stability
0.1 Candidate for Extras-Testing?
0.x Add other sports (depehds on availability of data...)

Cool Magnuslu, I already wanted to ask for your plans for future versions, as this gives the users a better idea of what to expect and for feature requests!
Please also keep sharing information about areas in which you need or want support - I am pretty sure the community is going to help you - right guys? ;)

Btw, QSportsEvent was presented on an Austrian website: http://www.pocket.at/maemo/?p=3996

Hope that helps to attract even more attention, more testers, more support, more ideas :D

Reflektorfalke 2010-04-15 21:20

Re: FIFA World Cup App ?
 
Ok, here are a couple of thoughts from me:

0.0.4 GUI improvements!
->Yeah! Looks like this app will become quite rich of features. This is cool but requires a decently planned GUI to preserve usability...

Include ALL leagues as per robbie's file.
-> Thats cool for making this app appealing to as many users as possible, but I think last selected league should be saved to avoid users have to scroll through long lists of leagues whenever they use the app.

0.0.5 RSS feeds
-> Not sure if it makes sense to provide pre-defined feeds. Seems like a mission impossible to provide all feeds that might be of interest (different clubs, languages, news sites). Guess it makes more sense to integrate a freely configurable rss-reader.
Sure, some might say "Why not just use the standard Maemo feed reader or any other standalone rss app (where I actually have subsribed the sports feeds of interest to me already), but I like the idea of having a one-stop app for sports information.

0.0.6 Download of full league info for offline viewing and maybe do something creative with it...
-> Not only for creative use! IŽd like to have all data downloaded once and the complete currrent season of my favourite league(s) stored on the device giving the ability to check results even when offline.

0.0.8 t.b.d.
-> Make it nice looking, shiny shiny bling bling, by incuding logos and pimping the GUI/App with icons, colors, backgrounds...?


What else would you like?
-> Make the app show only good results for my favourite club? :D


All times are GMT. The time now is 18:21.

vBulletin® Version 3.8.8