Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 05-06-2008, 03:33 AM   #1
Kiba
Member
Kiba began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Apr 2008
Device: iLiad
Create form like Connection Manager

Hello,

i would like to know how to create a form like Connection Manager, where I can have inputbox text, checkbox, radio button.... And how to use the results ?

Is it an irex's library, or other ?

Thanks
Kiba is offline   Reply With Quote
Old 06-13-2008, 03:15 AM   #2
Kiba
Member
Kiba began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Apr 2008
Device: iLiad
Does somebody have some sources or examples of code of graphic application with textbox ?

Thanks
Kiba is offline   Reply With Quote
Advert
Old 06-13-2008, 09:58 AM   #3
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
That's a closed source iRex library

Some info:

Package Information
Quote:
Package: libergtk0
Version: 0.212+svn20080201-r0
Description: eReader GTK library
Section: libs
Priority: optional
Maintainer: OpenEmbedded Team <oe@handhelds.org>
Architecture: arm
OE: libergtk-0.212+svn20080201
Homepage: unknown
Depends: gtk+ (>= 2.6.7), libatk-1.0-0 (>= 1.10.1), libc6 (>= 2.3.2+cvs20040726), pango (>= 1.8.1), libglib-2.0-0 (>= 2.6.6), libgcc1 (>= 3.4.4)
File Information
Quote:
/usr/share/libergtk/libergtk.rc
/usr/share/libergtk/Btn_150_27_black.png
/usr/share/libergtk/Checklist_selected.png
/usr/lib/libergtk.so.0.4.0
/usr/share/libergtk/Radiobutton_selected.png
/usr/share/libergtk/Btn_200_27_transparent_blackborder.png
/usr/share/libergtk/Btn_310_27_transparent_blackborder.png
/usr/share/libergtk/Btn_150_27_transparent_blackborder.png
/usr/lib/libergtk.so.0
/usr/share/libergtk/Btn_130_27_transparent_blackborder.png
/usr/share/libergtk/Btn_200_27_black.png
/usr/share/libergtk/Btn_640_44_grey.png
/usr/share/libergtk/Checklist_normal.png
/usr/share/libergtk/Bar_666_935_grey.png
/usr/share/libergtk/Radiobutton_normal.png
/usr/share/libergtk/Btn_640_44_black.png
/usr/share/libergtk/Btn_130_27_black.png
/usr/share/libergtk/Transparent.png
/usr/share/libergtk/Bar_666_27_black.png
/usr/share/libergtk/Btn_310_27_black.png
Adam B. is offline   Reply With Quote
Old 06-20-2008, 05:11 AM   #4
Kiba
Member
Kiba began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Apr 2008
Device: iLiad
Does nobody have write another form ? On some another project ? I don't want the source of iLiad Administration, but an example :/
Kiba is offline   Reply With Quote
Old 06-20-2008, 08:43 AM   #5
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
To answer your question, no.

Since it's closed source, you'd have to reverse engineer all of the portions of the UI in order to match it. I'm afraid you're on your own.
Adam B. is offline   Reply With Quote
Advert
Old 06-20-2008, 09:42 AM   #6
yokos
Pac-Man caught my iLiad.
yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.
 
yokos's Avatar
 
Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
Which programming language do you wanna use?
Which toolkit do you wanna use?
Most apps with GUI for iLiad are written in C using the GTK+ toolkit.

Maybe you should check the official GTK+ page,
http://www.gtk.org/
have a sneak at the tutorials,
http://www.gtk.org/documentation.html
visit a GTK+ forum with example code etc.,
http://www.gtkforums.com/

Every linux textbook/or documentation of your linux distribution comes with a programming section.
yokos is offline   Reply With Quote
Old 06-23-2008, 03:26 PM   #7
Kiba
Member
Kiba began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Apr 2008
Device: iLiad
I think use C++... I don't know the capacity of the iliad v1 on java...
But, I saw that the gui on iLiad is matchbox, matchox is write with gtk+ ?
Kiba is offline   Reply With Quote
Old 07-02-2008, 02:23 AM   #8
IanHelgesen
Member
IanHelgesen has a complete set of Star Wars action figures.IanHelgesen has a complete set of Star Wars action figures.IanHelgesen has a complete set of Star Wars action figures.
 
IanHelgesen's Avatar
 
Posts: 20
Karma: 270
Join Date: Feb 2008
Device: Irex Iliad
Quote:
Originally Posted by Kiba View Post
I think use C++... I don't know the capacity of the iliad v1 on java...
But, I saw that the gui on iLiad is matchbox, matchox is write with gtk+ ?
Matchbox is a window manager. Basically it controls what application is showing at the current time. GTK+ is a toolkit which is used to create the actually applications. It won't look as nice as the Connection Manager (which appears to be using some closed extension to GTK+), but it should be capable of creating your form.

GTK is also themeable, so you could probably get it to more or less match the looks of iRex's applications by installing an appropriate theme (the 'Industrial' theme may be a good place to start).

Anyway, hope that helps.
IanHelgesen is offline   Reply With Quote
Old 07-04-2008, 04:54 AM   #9
Kiba
Member
Kiba began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Apr 2008
Device: iLiad
Yes, thanks.

I'm working on gtk+, and have a problem to compile to arm-linux, and I've no problem to compile to x86...

Code:
arnaud@Arnaud:~> clear;/home/arnaud/temp/sdk_irex/usr/local/arm/oe/bin/arm-linux-gcc `pkg-config --cflags gtk+-2.0` -o form_iliad /home/arnaud/Desktop/fenetre2.c  `pkg-config  --libs gtk+-2.0`
/home/arnaud/Desktop/fenetre2.c:2:21: gtk/gtk.h: Aucun fichier ou répertoire  de ce type <=== gtk/gtk.h not found
Code:
echo $PKG_CONFIG_PATH
/home/arnaud/temp/sdk_irex/usr/local/arm/oe/arm-linux/lib/pkgconfig/
Thanks

EDIT : It's ok I must past on iliad now ^^

Last edited by Kiba; 07-04-2008 at 06:00 AM.
Kiba is offline   Reply With Quote
Old 07-04-2008, 02:23 PM   #10
Kiba
Member
Kiba began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Apr 2008
Device: iLiad
I'm back ^^

How to notify to the iliad to refresh the screen ?
I must show or hide the virtual keyboard to refresh the screen, and i prefer that made automatically.

Second, what is the resolution of the iliad ?

thanks
Kiba is offline   Reply With Quote
Old 07-04-2008, 06:09 PM   #11
engunneer
Member
engunneer began at the beginning.
 
Posts: 13
Karma: 10
Join Date: May 2008
Location: Pacific Northwest, US
Device: iRex Iliad
The resolution is 768x1024.
engunneer is offline   Reply With Quote
Old 07-06-2008, 08:08 AM   #12
Kiba
Member
Kiba began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Apr 2008
Device: iLiad
Fine.
For refresh the screen, using the function dmDisplay in liberdm/erdm.h solve the problem.
Kiba is offline   Reply With Quote
Old 07-16-2008, 05:06 AM   #13
Kiba
Member
Kiba began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Apr 2008
Device: iLiad
I've a new problem.

I set export DISPLAY=:0 in te script .sh; and when I click on the directory, the application is launched, but I must click on some buttons to show it. Is there a signal on loading window ? I found nothing :/

Second, when the application is running, I can't use the virtual keyboard, it seems locked, impossible to got it.

Thank you

EDIT : It's OK, I found liberpc on subject mxrvt. ^^

Last edited by Kiba; 07-16-2008 at 07:36 AM.
Kiba is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless internet connection frustrating IDS connection Socrates iRex 8 10-21-2009 12:46 PM
WHAT'S CONNECTION MANAGER liyiwen iRex 0 04-20-2009 10:12 AM
iLiad Connection Manager Issue vnikos iRex Developer's Corner 0 12-12-2008 02:59 AM


All times are GMT -4. The time now is 03:12 PM.


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