maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Dexter - Text-TV Reader (https://talk.maemo.org/showthread.php?t=42207)

qwerty12 2010-03-30 13:45

Re: Dexter - Text-TV Reader
 
Quote:

Originally Posted by pillar (Post 587850)
Concerning the name being not centered, I have no idea. Anyone? I'll fix it if someone can tell me what's causing it!

I don't think having a ton of spaces after "Dexter" in the name field of your desktop file helps! :)

benny1967 2010-03-30 13:46

Re: Dexter - Text-TV Reader
 
Quote:

Originally Posted by JohnLF (Post 587883)
I tried to decode the BBC websites but the pages are all aspx and it's not easy.
I did manage to get the Irish channel Aertel done, so at least there is an English language one! I can post the details if anyone is interested?

http://wiki.maemo.org/Dexter#RT.C3.89_Aertel

phil! 2010-04-28 22:51

Re: Dexter - Text-TV Reader
 
I have the same problem like fgs:

I've added SF1 for Switzerland to the wiki, but for pages with multiple subpages, subpage 1 is not loaded correctly. unfortunately, main page 100 is handled as a page with multiple subpages.

no solution for this problem yet?

chicoff 2010-06-08 20:06

Re: Dexter - Text-TV Reader
 
Hello,
I write a workaround for the SF1/TSR/TSI problem, but you need a webserver with php to run this code:

Code:

<?
if ($_GET['pagnr'])$nr=$_GET['pagnr'];
else $nr=100;

if ($_GET['tv'])$tv=$_GET['tv'];
else $tv='TSI';


if ($_GET['sub'])$c=intval($_GET['sub']);
else $c=0;

$imgfile='';
$img_link = 'http://www.teletext.ch/pics/'.$tv.'/';

imageexist($c,0);
$img=file_get_contents($imgfile);

header("Content-Type: image/png");
header("Expires: " . date( "D, d M Y H:i:s GMT", time() + 31536000 ));
header("Cache-Control: max-age=31536000, must-revalidate" );

print $img;

exit;

function imageexist($c,$n){
    global $imgfile,$img_link,$nr ;
 
    $img = $img_link.$nr."-0".$c.".gif";
 
    if (@GetImageSize($img)){
        $imgfile=$img;
        return;
    } else {
        $c++;
        $n++;
        if ($n>2){
            $c=0;
            $n=0;
        }
        imageexist($c,$n);
    }
}

?>

and this is the working configuration for SF1
Code:

x\siteName=sf1
x\imageUrl=http://www.YOURDOMAIN.ch/txt.php?pagnr=[page]&tv=SF1
x\subImageUrl=http://www.YOURDOMAIN.ch/txt.php?pagnr=[page]&tv=SF1&sub=[2:subpage]
x\predictionUrl=http://www.teletext.ch/SF1/[page]-00.html
x\subPredictionUrl=http://www.teletext.ch/SF1/[page]-[2:subpage].html
x\previousPrediction="<a href=\"/SF1/(\\d+)-\\d+.html\"><img src=\"/design/navigation/minus.gif\""
x\nextPrediction="<a href=\"/SF1/(\\d+)-\\d+.html\"><img src=\"/design/navigation/plus.gif\""
x\previousSubPrediction="<a href=\"/SF1/\\d+-(\\d+).html\" class=\"white_link\">&lt;"
x\nextSubPrediction="<a href=\"/SF1/\\d+-(\\d+).html\" class=\"white_link\">\\d+&gt;"
x\startPage=100


rlinfati 2010-06-24 16:58

Re: Dexter - Text-TV Reader
 
Please, rebuild dexter with libqt4-*, NOT libqt4-maemo5-*

pillar 2010-06-28 10:11

Re: Dexter - Text-TV Reader
 
Quote:

Originally Posted by rlinfati (Post 727839)
Please, rebuild dexter with libqt4-*, NOT libqt4-maemo5-*

I am working on this, but due to extensive changes in architecture of the app, it has been taking long. I'm hopeful that I can get it done this week.

basp 2010-08-13 21:17

Re: Dexter - Text-TV Reader
 
I had to flash my n900. No problem, but when I tried reinstalling Dexter I couln't find it in the repositories. Am I missing something, or is it removed from the repos?

Where can I find Dexter now?

Kind regards,
Bas

AlexV12 2010-08-22 12:00

Re: Dexter - Text-TV Reader
 
Quote:

Originally Posted by basp (Post 785763)
I had to flash my n900. No problem, but when I tried reinstalling Dexter I couln't find it in the repositories. Am I missing something, or is it removed from the repos?

Where can I find Dexter now?

Kind regards,
Bas

BUMP!

blabla longer message

benny1967 2010-08-22 12:17

Re: Dexter - Text-TV Reader
 
http://maemo.org/packages/view/dexter/
says it's been removed on july 1st; probably there was an issue with the qt libraries being used? aat least that's what this page suggests:
http://maemo.org/packages/package_in.../dexter/0.2-4/

anyway, it seems there was no development since march.

pillar 2010-08-31 07:22

Re: Dexter - Text-TV Reader
 
Sorry guys, it just that the summer was really hectic for me. I haven't spent time in front of computer at home. Benny is right, Dexter was removed from extras-devel due to using the older Qt libraries.

At the time that happened, I had already gone forward with the switch to ditch my virtual scratchbox development environment and give Ovi SDK a try. I also had already made quite a big changes to the code that made it unworkable at the moment. So I thought I just couldn't repost it easily.

Now my experience debugging with Ovi SDK was that it wasn't working as it should. I was making changes to the menu actions, and those did not work in the simulator. Also the on-device debugging wasn't working for me. This is the point when I left for summer vacation.

If someone is willing to help me with setting up the on-device debugging (if it is now actually doable), I could try to squeeze the newer version, but this time I don't want to put a timetable on it.. too easy to miss it!

Also, at the time I am myself using just a debugging .deb that sort of works for me at least - I could upload it somewhere just so that at least you could have something. Any interest in that?

benny1967 2010-08-31 10:10

Re: Dexter - Text-TV Reader
 
I cannot help myself - lacking the skills - but I just want to express my interest in this application; I would be very happy to see it become really stable one day. - So all I can do is say... Please help pillar. It's just too sexy an app to be lost.

pillar 2010-09-24 10:37

Re: Dexter - Text-TV Reader
 
Just a quick update: I updated my Nokia Qt SDK with the latest and the on-device debugging seems to work now, although it's a little bit slow (at least over wlan, haven't tried with USB yet). I was able to debug the parts that were causing me headache the most.

Now I pretty much need to package the thing correctly and submit it again. Anyone that knows how to do that with Qt SDK on windows? I would need to add a config file to the deb package as well.

benny1967 2010-09-24 11:47

Re: Dexter - Text-TV Reader
 
pillar, you may want to start a new thread about the packaging question that attracts the right people via its title; it seems that the packaging of projects created with the Nokia Qt SDK is one of the bigger mysteries in life. I see unanswered questions quite often.

You may have read
http://wiki.maemo.org/Packaging_a_Qt_application
but there's a few steps there that seem to require that you work on a GNU/Linux box. (Maybe it still answers a question or two.)

pillar 2010-09-27 19:10

Re: Dexter - Text-TV Reader
 
Ok, I think I have at least somewhat working version for those waiting for this. I don't know how to generate the needed files with Nokia Qt SDK to upload this to extras-devel, but I got the deb done. his is for you guys that want to test and figure out bugs so I can make this better.

Dexter_0.3.0_armel.deb

New feature:

- The config file now includes all the sites listed in the wiki page. From the menu you get to choose your country and site. It is clunky right now, but will be nice for the random user. Let me know your issues with it.
- Internally the loading of the teletext site has been generalized. It can allow the use of custom classes for sites that have been problematic before. For this to be fruitful, I still need to document the API and put the code up to Gitorous or something. But at least the bulk of the work in the code has already been done to allow this.

Known issues:

- Portrait mode not working. I guess the attributes have changed with the newer version of Qt.

kolos 2010-09-27 22:07

Re: Dexter - Text-TV Reader
 
I tired this last .deb file but it only contains Finnish Yle site. Also it is not possible to add other sites.

It would be great if Slovenian RTVSLO TXT and Croatian HRT TXT could be also included by default.

Thanks pillar for your effort!

pillar 2010-09-28 06:40

Re: Dexter - Text-TV Reader
 
@kolos Yeah it seems that the config file is not being read for some reason. It was working for me during debugging, but now that I installed it properly I have the same problem. I need to take a look at this at home and fix it. Thanks for the report.

thp 2010-10-27 15:07

Re: Dexter - Text-TV Reader
 
Do you still need help with getting this into Extras-Devel? I'd be happy to help, as I'm thinking about using it myself :)

pillar 2010-10-28 09:53

Re: Dexter - Text-TV Reader
 
@thp Yes I do, thank you very much.

I also have this weird bug that the settings file is not read for some reason and that is blocking the development quite badly. I don't know why it does that. When I use on-device debugging, it works, but when installed, it's not working anymore..

thp 2010-10-28 09:56

Re: Dexter - Text-TV Reader
 
Quote:

Originally Posted by pillar (Post 854924)
I also have this weird bug that the settings file is not read for some reason and that is blocking the development quite badly. I don't know why it does that. When I use on-device debugging, it works, but when installed, it's not working anymore..

Have you published the source code repository somewhere? That would help getting other developers like myself involved. It's also easier to send patches your way. Are you already using some kind of SCM for your project? I'd be glad to have a look over it and see what's wrong. This is a case where the IDE doesn't really help (because it works when you do it from within the IDE but does not when running without the IDE.. ;).

cipper 2010-10-28 10:02

Re: Dexter - Text-TV Reader
 
Hi,

thanks for this great app! I just discovered that it is possilble to go full screen by clicking (touching) on the page. That's great, even if doesn't work in portrait mode. The bad is that it's necessary to go back (click again) in order to move to another page, even if there is a lot of space left for placing at least the next,prev, subnext, subprev buttons. In few words, is it possible to add few buttons in full-screen mode?

cipper 2010-10-28 10:10

Re: Dexter - Text-TV Reader
 
1 Attachment(s)
here is an example of what I mean...

pillar 2010-10-28 10:40

Re: Dexter - Text-TV Reader
 
@cipper good idea, although it is already possible to move around by gestures. Try left-to-right and right-to-left for going pages backward and upward. Also up-to-down and down-to-up to change the subpage.

@thp I don't have them setup anywhere as of right now. It has been in the plans forever, but just hasn't got around to do it. Maybe now would be a good time to do it. I would like to try Git and Qt Creator integration to it. Would that be okay?

cipper 2010-10-28 14:56

Re: Dexter - Text-TV Reader
 
Quote:

Originally Posted by pillar (Post 854973)
@cipper good idea, although it is already possible to move around by gestures. Try left-to-right and right-to-left for going pages backward and upward. Also up-to-down and down-to-up to change the subpage.


Actually, these gestures are not working on my device (n900 pr1.3)...

pillar 2010-10-29 17:53

Re: Dexter - Text-TV Reader
 
@cipper working for me (1.3 here as well).

benny1967 2010-10-29 17:58

Re: Dexter - Text-TV Reader
 
Quote:

Originally Posted by cipper (Post 855375)
Actually, these gestures are not working on my device (n900 pr1.3)...

as far as i remember, you have to swipe to the right if you want to go to the next page and left if you want to go to the previous page. this is a little unexpected.... maybe you just tried the wrong direction from page 100.

pillar 2010-10-29 18:04

Re: Dexter - Text-TV Reader
 
@benny1967 You are right, should I change the directions, I just noticed it too and thinking about it, they might be more logical the other way around.

thp 2010-10-29 21:44

Re: Dexter - Text-TV Reader
 
Quote:

Originally Posted by pillar (Post 854973)
@thp I don't have them setup anywhere as of right now. It has been in the plans forever, but just hasn't got around to do it. Maybe now would be a good time to do it. I would like to try Git and Qt Creator integration to it. Would that be okay?

Yes, just push it to some Git hosting provider and announce the URL here, so other people can clone the code and send you patches.

pyykkhe 2010-11-01 08:55

Re: Dexter - Text-TV Reader
 
Hello, Does Dexter operate with PR1.3? After PR1.3 update it was listed in apps to be updated, but Dexter didn't update and previous installation disappeared. Extra devel repository is active.

Any help? Thanks !

pillar 2010-11-01 11:48

Re: Dexter - Text-TV Reader
 
@pyykkhe it works for me, although I didn't update it. It might need a new build against Qt 4.7, not sure.

copperviking 2010-11-02 16:28

Re: Dexter - Text-TV Reader
 
Does anyone have it working with other sites than Finland Yle? I only need Finland Yle and Mtv3.

chicoff 2011-01-15 21:13

Re: Dexter - Text-TV Reader
 
hi Pillar, thanks for the great app! could you please share a .deb file of the last working dexter (0.2.4 ?) thanks!!

Soppa 2011-05-22 17:15

Re: Dexter - Text-TV Reader
 
I'm missing this app as well, where can I get a working version? The .deb file from mediafire doesn't start loading.


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

vBulletin® Version 3.8.8