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

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-07-2012, 12:32 PM   #1
Pipeliners
Member
Pipeliners began at the beginning.
 
Posts: 10
Karma: 36
Join Date: Dec 2011
Device: Kindle 3G WiFi
Question Keboard controlled browser for Kindle 3

Do you like the default Kindle 3 browser?

I don't. Why does it reload page every time i go to previous page? Why cannot it save passwords? And the worst thing is the ugly way to control cursor.

I also tried arora port shipped with qindle. Imho it is ever less useful.

Maybe your know better already built alternative? I was not able to find them.

On my desktop Linux systems I use Vimperator on top of Firefox. This great extension maps the most frequently used features to 1-2 key presses. I do not use hints to follow links on computers with normal mouse but think this can be just great for K3.

I think Firefox is too heavy to run on Kindle. It has a lot of dependencies…
Alternatives I found so far:
Maybe somebody ported one of these or know better alternative? If no I'll try to port Midori.

And I need an advice then: what is the best way to build Gtk software for Kindle? Link against system Gtk or rebuild it (I tried building Amazon's DirectFB under ELDK but even ./configure failed with sh syntax error). I am not familiar with Gtk (and anything below it), autotools, crosscompilation, software porting… My current system is amd64 Debian testing.

Last edited by Pipeliners; 02-07-2012 at 12:34 PM. Reason: Fixing typos
Pipeliners is offline   Reply With Quote
Old 02-07-2012, 01:31 PM   #2
giorgio130
Time Waster
giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.
 
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
Hi! I'm also interested in this area, I'm just waiting having enough time to try I was thinking about Lynx, or other text-based browser for a start. I can't give advice on how to proceed sadly...
giorgio130 is offline   Reply With Quote
Advert
Old 02-07-2012, 01:57 PM   #3
Pipeliners
Member
Pipeliners began at the beginning.
 
Posts: 10
Karma: 36
Join Date: Dec 2011
Device: Kindle 3G WiFi
As for Lynx, you can e.g. install chroot with your favourite Linux distro (please make sure however to pass --foreign option to debootstarp if your donor machine is not ARM one. Maybe multistrap is better solution). Then you can use native terminal to run Lynx inside. However there are troubles with colors handling running Lynx.
Pipeliners is offline   Reply With Quote
Old 02-08-2012, 01:59 PM   #4
Pipeliners
Member
Pipeliners began at the beginning.
 
Posts: 10
Karma: 36
Join Date: Dec 2011
Device: Kindle 3G WiFi
Lightbulb

So far I managed to compile gtk helloworld under ELDK:
Code:
# using usr/src copied from K3 instead of ELDK's own
# the only exception is for usr/lib/crt1.o  usr/lib/crti.o  usr/lib/crtn.o not present on K3
arm-linux-gcc -Wall -g hi.c -o hi `pkg-config --cflags gtk+-2.0` -lglib -lgtk-directfb-2.0 -lgdk-directfb-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
And it runs. With the following output:
Code:
   ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.0 |~~~~~~~~~~~~~~~~~~~~~~~~~~
        (c) 2001-2008  The world wide DirectFB Open Source Community
        (c) 2000-2004  Convergence (integrated media) GmbH
      ----------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2011-08-31 03:34) 
(!) Direct/Modules: Unable to dlopen `/usr/lib/directfb-1.2-0/systems/libdirectfb_devmem.so'!
    --> /usr/lib/directfb-1.2-0/systems/libdirectfb_devmem.so: undefined symbol: system_set_mode
(!) DirectFB/core/vt: Couldn't open neither `/dev/tty0' nor `/dev/vc/0'!
    --> No such file or directory
(!) DirectFB/Core: Could not initialize 'system_core' core!
    --> Initialization error!
(#) DirectFBError [gdk_display_open: DirectFBCreate]: Initialization error!

Gtk-WARNING **: cannot open display: :0.0
  • The same question again: is dl_open failure fatal?
  • … and other directfb errors?
  • does «cannot open display: :0.0» mean that Gtk wants X?
Thanks in advance for any advice.
Pipeliners is offline   Reply With Quote
Old 02-09-2012, 04:15 PM   #5
Pipeliners
Member
Pipeliners began at the beginning.
 
Posts: 10
Karma: 36
Join Date: Dec 2011
Device: Kindle 3G WiFi
I've found the solution in this post:
http://weijr-note.blogspot.com/2011/...kindle-dx.html:
Code:
# cat >  /tmp/root/.directfbrc
no-vt
linux-input-devices=/dev/input/event0,/dev/input/event1
And then sample application runs. We can make sure by updating eink display:
Code:
# echo 1 > /proc/eink_fb/update_display
However it does not react to keyboard presses.
And since it captures input devices and does not release 'em after incorrect (^C from ssh terminal) termination, standard gui does not respond until reboot when .directfbrc gets removed.

You can try on your own risc.
Attached Files
File Type: zip gtk-hi1.zip (11.5 KB, 126 views)
Pipeliners is offline   Reply With Quote
Advert
Old 02-12-2012, 10:46 PM   #6
fbdev
fbdev
fbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel isfbdev really knows where his or her towel is
 
Posts: 107
Karma: 70177
Join Date: Jul 2011
Device: kindle
you might want to look at this.
fbdev 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
Browser for Kindle qinbill Kindle Developer's Corner 6 08-30-2011 05:28 PM
kindle browser stroy Introduce Yourself 3 06-05-2011 09:47 AM
iPad Remote Controlled Blimp Lotus Esprit Apple Devices 3 07-11-2010 06:55 PM
iPad Remote Controlled Drone Lotus Esprit Apple Devices 1 06-17-2010 10:04 AM
Can the spontaneous formatting of books on the Reader be controlled? Dr. Drib Sony Reader 3 07-31-2007 11:47 PM


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


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