Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 07-27-2007, 06:06 AM   #1
tomchek
Member
tomchek began at the beginning.
 
tomchek's Avatar
 
Posts: 14
Karma: 10
Join Date: Jul 2007
Location: Bonn, Germany
Device: iLiad, Nokia 770
Screen refresh

Hi folks,

I've just wrote a simple HelloWorld GTK application for my iLiad. I wonder that if I start this application on the iLiad first nothing happens. The application don't show up on the screen until I press the "Device Manager" button. Does somebody know why? What can I do that the GUI shows up on the screen once the application is started?
Thanks for your help.

tomcheck
tomchek is offline   Reply With Quote
Old 07-27-2007, 06:38 AM   #2
kapoira
Connoisseur
kapoira has a complete set of Star Wars action figures.kapoira has a complete set of Star Wars action figures.kapoira has a complete set of Star Wars action figures.
 
Posts: 81
Karma: 292
Join Date: Nov 2006
Device: i62HD + T68
im not very sure myself, but i will try to help you, in examples.

I have the gqview to view manga with real Fullscreen, but i got two details to do it, that seems related to your work.

1) when i go to fullscreen it put the image in fullscreen but i know that i haven't closed the contentlistener, but i'm not seeing it(interesting)

2) if i press the devicemanager or another button like news, books...
i go to the part it's ok, but if i recall the gqview and goes another time for the fullscreen i only got the first image (i got now two gqview running)


i think that your problem it's the "priority of the gtk window" that you created
kapoira is offline   Reply With Quote
Advert
Old 07-27-2007, 06:57 AM   #3
tomchek
Member
tomchek began at the beginning.
 
tomchek's Avatar
 
Posts: 14
Karma: 10
Join Date: Jul 2007
Location: Bonn, Germany
Device: iLiad, Nokia 770
Thank you for your hint kapoira.

I have to figure out how to set the priority of a GTK window, then I tell you if your hint solved my problem.
tomchek is offline   Reply With Quote
Old 07-27-2007, 07:15 AM   #4
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
Quote:
Originally Posted by tomchek View Post
Thank you for your hint kapoira.

I have to figure out how to set the priority of a GTK window, then I tell you if your hint solved my problem.
You have to manually call a screen refresh from your application. Or, are you using the hacked libX11.so?

You can find a good tutorial for manual refreshes here: https://www.mobileread.com/forums/sho...63&postcount=4
Adam B. is offline   Reply With Quote
Old 07-27-2007, 08:48 AM   #5
tomchek
Member
tomchek began at the beginning.
 
tomchek's Avatar
 
Posts: 14
Karma: 10
Join Date: Jul 2007
Location: Bonn, Germany
Device: iLiad, Nokia 770
Thanks Adam, I'll try it.
tomchek is offline   Reply With Quote
Advert
Old 07-27-2007, 11:23 AM   #6
tomchek
Member
tomchek began at the beginning.
 
tomchek's Avatar
 
Posts: 14
Karma: 10
Join Date: Jul 2007
Location: Bonn, Germany
Device: iLiad, Nokia 770
Ok, my problem is solved. This was really easy with named tutorial. But now I'm a little bit confused because I don't find any about the included header files used in this tutorial. Do you know where to find some documentations about these files?
tomchek is offline   Reply With Quote
Old 07-27-2007, 11:35 AM   #7
Adam B.
Addicted to Porting
Adam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the roughAdam B. is a jewel in the rough
 
Adam B.'s Avatar
 
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
What are you using for a development environment? Have you downloaded the SDK from iRex's site?

There's very little documentation about it online, most of it is trial and error, and manually reading the source code that's provided for us...
Adam B. is offline   Reply With Quote
Old 07-27-2007, 06:36 PM   #8
tomchek
Member
tomchek began at the beginning.
 
tomchek's Avatar
 
Posts: 14
Karma: 10
Join Date: Jul 2007
Location: Bonn, Germany
Device: iLiad, Nokia 770
Ah OK, I'm using your VMWare image from this thread. Didn't noticed that there is the iRex SDK installed of course. Correct me if I'm wrong.
Thanks, you were a great help today.
tomchek is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! Is there a way to force K2 screen refresh. schex86 Amazon Kindle 5 02-02-2010 12:31 PM
Screen Refresh Question nremondelli Amazon Kindle 3 12-24-2008 10:55 AM
Sound on screen refresh? Savonarola iRex 1 10-18-2008 02:02 AM
iLiad Partial screen refresh? hansel iRex Developer's Corner 11 09-15-2008 10:51 AM
PRS-500 double screen refresh ...is it possible? spartman Sony Reader Dev Corner 0 07-21-2007 02:36 AM


All times are GMT -4. The time now is 01:08 PM.


MobileRead.com is a privately owned, operated and funded community.