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

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 11-17-2012, 09:55 AM   #1
sven
Enthusiast
sven has a complete set of Star Wars action figures.sven has a complete set of Star Wars action figures.sven has a complete set of Star Wars action figures.sven has a complete set of Star Wars action figures.sven has a complete set of Star Wars action figures.
 
Posts: 39
Karma: 454
Join Date: Jul 2012
Location: Brussels
Device: Kobo Touch
nickel replacement

Hi all,
As promised a few days ago in this thread https://www.mobileread.com/forums/sho...d.php?t=195514, I provide some pictures of my nickel replacing Java application on my Kobo Touch. The idea for this application is based on the work by Michael Zucchi (http://a-hackers-craic.blogspot.be/search/label/kobo)

The first one is the Home Screen.
Click image for larger version

Name:	DSC00990.JPG
Views:	1732
Size:	371.0 KB
ID:	96346
The upper part of the screen shows a list of recently read books. The lower part contains icons for several "Applets", e.g. Calendar, News, Mail or Reader.

The Calendar can be displayed in a month, week or day view. One can switch through the different views by tapping on the icons at the right part of the menu bar. With a swipe to the left or to the right one can go a month, a week or a day back or forward.
Click image for larger version

Name:	DSC00993.JPG
Views:	1157
Size:	373.1 KB
ID:	96349Click image for larger version

Name:	DSC00994_50.jpg
Views:	1061
Size:	367.0 KB
ID:	96350

By a long tap one can create a new event, by a normal tap on an existing event one can modify the details of the event.
Click image for larger version

Name:	DSC00995_50.jpg
Views:	1118
Size:	443.7 KB
ID:	96351Click image for larger version

Name:	DSC00996_50.jpg
Views:	1034
Size:	414.8 KB
ID:	96352
The events are stored in a file in XCAL (XML iCal)format. I hope to implement in future a synch mechanism for my thunderbird calendar at home.

The Reading Applet shows the existing book categories as a tag cloud considering the number of books in a particular category. Currently the category structure is file system based, that means each category is a directory in file system. That makes it easy to manipulate categories and add or remove books.
Click image for larger version

Name:	DSC00991.JPG
Views:	1051
Size:	319.7 KB
ID:	96347
After a tap on a category, a list of the books in that category is diplayed to select the book to read (I haven´t finished this work yet).

The News Applet displays my favorite online news. A separate application crawls the news webpages and compiles an ePub (without advertisements and pictures).
Click image for larger version

Name:	DSC00998_50.jpg
Views:	1044
Size:	392.6 KB
ID:	96353Click image for larger version

Name:	DSC00999_50.jpg
Views:	972
Size:	395.5 KB
ID:	96354

The Weather Applet is inspired by the great work of KevinShort https://www.mobileread.com/forums/sho...d.php?t=194376
Click image for larger version

Name:	DSC00992.JPG
Views:	1037
Size:	339.3 KB
ID:	96348

As it can be seen on the pictures the User Interface is not consistent yet, some menu items are displayed as icons some as text. I am to date not sure what will be the best solution.
Also one can notice a lot of ghosting on the pictures, but this will be fixed in the future. All in all, there is still much room for improvement and a lot of work to be done.

Any feedback is appreciated whether the community might be interested in my replacement of nickel or whether further developement is for my purpose only (then I do not have to clean up and comment the code )
sven is offline   Reply With Quote
Old 11-17-2012, 10:22 AM   #2
ikarus9999
Connoisseur
ikarus9999 can spell AND pronounce 'liseuse.'ikarus9999 can spell AND pronounce 'liseuse.'ikarus9999 can spell AND pronounce 'liseuse.'ikarus9999 can spell AND pronounce 'liseuse.'ikarus9999 can spell AND pronounce 'liseuse.'ikarus9999 can spell AND pronounce 'liseuse.'ikarus9999 can spell AND pronounce 'liseuse.'ikarus9999 can spell AND pronounce 'liseuse.'ikarus9999 can spell AND pronounce 'liseuse.'ikarus9999 can spell AND pronounce 'liseuse.'ikarus9999 can spell AND pronounce 'liseuse.'
 
Posts: 88
Karma: 39373
Join Date: Apr 2003
Location: Austria
Device: Kobo Touch
Looks great.
Is there already an installer available? I'd love to try it.
ikarus9999 is offline   Reply With Quote
Advert
Old 11-17-2012, 10:35 AM   #3
enotar
Connoisseur
enotar is a glorious beacon of lightenotar is a glorious beacon of lightenotar is a glorious beacon of lightenotar is a glorious beacon of lightenotar is a glorious beacon of lightenotar is a glorious beacon of lightenotar is a glorious beacon of lightenotar is a glorious beacon of lightenotar is a glorious beacon of lightenotar is a glorious beacon of lightenotar is a glorious beacon of light
 
Posts: 55
Karma: 12050
Join Date: Oct 2012
Device: kobo touch
Me too with 2.2.1
That's great
Thank you
enotar is offline   Reply With Quote
Old 11-18-2012, 06:15 AM   #4
sven
Enthusiast
sven has a complete set of Star Wars action figures.sven has a complete set of Star Wars action figures.sven has a complete set of Star Wars action figures.sven has a complete set of Star Wars action figures.sven has a complete set of Star Wars action figures.
 
Posts: 39
Karma: 454
Join Date: Jul 2012
Location: Brussels
Device: Kobo Touch
Unfortunately, there is no installer available yet. I installed the Java Runtime Environment manually. Also, from my point of view there are still too many flaws in the app to distribute it now. Hopefully, at least the calendar app is getting mature enough in the coming days to release it to the public. A lot of data is still hard coded and only configurable by changing the code.
sven is offline   Reply With Quote
Old 11-18-2012, 10:26 AM   #5
enotar
Connoisseur
enotar is a glorious beacon of lightenotar is a glorious beacon of lightenotar is a glorious beacon of lightenotar is a glorious beacon of lightenotar is a glorious beacon of lightenotar is a glorious beacon of lightenotar is a glorious beacon of lightenotar is a glorious beacon of lightenotar is a glorious beacon of lightenotar is a glorious beacon of lightenotar is a glorious beacon of light
 
Posts: 55
Karma: 12050
Join Date: Oct 2012
Device: kobo touch
😒Too bad
enotar is offline   Reply With Quote
Advert
Old 11-20-2012, 02:53 PM   #6
Zurga
Member
Zurga began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Feb 2011
Device: Kobo Glo
I would really like to try the calendar app!
Zurga is offline   Reply With Quote
Old 11-21-2012, 03:05 AM   #7
notzed
Member
notzed has a complete set of Star Wars action figures.notzed has a complete set of Star Wars action figures.notzed has a complete set of Star Wars action figures.notzed has a complete set of Star Wars action figures.notzed has a complete set of Star Wars action figures.
 
Posts: 15
Karma: 400
Join Date: Jan 2012
Device: kobo touch
Why not drop the source somewhere like I did - maybe someone can help improve it? As you probably saw, I wasn't too worried about the shitty code, but that didn't really matter for an experiment.

Did you actually use anything from my code or just get some ideas on how to get started? Did you port some other widget toolkit?

I got stuck on wifi and suspend/resume lost interest, and had other stuff to occupy my time - but did you get those worked out?

(I'm the zucchi mentioned above if it isn't clear, I only found this through a referer stat on blogger).

Last edited by notzed; 11-21-2012 at 03:06 AM. Reason: add real name
notzed is offline   Reply With Quote
Old 11-22-2012, 05:20 PM   #8
sven
Enthusiast
sven has a complete set of Star Wars action figures.sven has a complete set of Star Wars action figures.sven has a complete set of Star Wars action figures.sven has a complete set of Star Wars action figures.sven has a complete set of Star Wars action figures.
 
Posts: 39
Karma: 454
Join Date: Jul 2012
Location: Brussels
Device: Kobo Touch
Hi all.

I have released the code on http://code.google.com/p/koper/. At the download section there is also a precompiled package available, and the required Java Runtime Environment for ARM. Please follow the instructions on the related wiki page to install and run Koper.

The code is still pretty messy, but I will work on it. Do not hesitate to tell me if my approach for the "framework" is absolutely nonsens. I am still looking for the best and easiest way.

In the next couple of days I try to compile my ideas for future improvements (there is a lot of room for this). If you have any suggestions please tell me. I do not believe that my Kobo Touch will ever compete with the stylish iPads of my business partners, but it can do a pretty good job in providing what I need.

Regards,

Sven
sven is offline   Reply With Quote
Old 11-22-2012, 07:23 PM   #9
notzed
Member
notzed has a complete set of Star Wars action figures.notzed has a complete set of Star Wars action figures.notzed has a complete set of Star Wars action figures.notzed has a complete set of Star Wars action figures.notzed has a complete set of Star Wars action figures.
 
Posts: 15
Karma: 400
Join Date: Jan 2012
Device: kobo touch
Any particular reason you removed all the namespaces from the code?
notzed is offline   Reply With Quote
Old 11-23-2012, 03:15 AM   #10
sven
Enthusiast
sven has a complete set of Star Wars action figures.sven has a complete set of Star Wars action figures.sven has a complete set of Star Wars action figures.sven has a complete set of Star Wars action figures.sven has a complete set of Star Wars action figures.
 
Posts: 39
Karma: 454
Join Date: Jul 2012
Location: Brussels
Device: Kobo Touch
No, there is no particular reason. When I started coding I did put everything in the default package. As I already mentioned, the code is quite messy and needs to be cleaned up. I will work on it in the coming days.
sven is offline   Reply With Quote
Old 11-23-2012, 09:05 PM   #11
notzed
Member
notzed has a complete set of Star Wars action figures.notzed has a complete set of Star Wars action figures.notzed has a complete set of Star Wars action figures.notzed has a complete set of Star Wars action figures.notzed has a complete set of Star Wars action figures.
 
Posts: 15
Karma: 400
Join Date: Jan 2012
Device: kobo touch
Ok no worries. I'll keep an eye out.

If you restore the namespace for the readerz stuff it would make code sharing a bit easier - i don't have any grand plans, but with 4-8 weeks leave coming up I might revisit it.
notzed is offline   Reply With Quote
Old 11-24-2012, 03:58 AM   #12
sven
Enthusiast
sven has a complete set of Star Wars action figures.sven has a complete set of Star Wars action figures.sven has a complete set of Star Wars action figures.sven has a complete set of Star Wars action figures.sven has a complete set of Star Wars action figures.
 
Posts: 39
Karma: 454
Join Date: Jul 2012
Location: Brussels
Device: Kobo Touch
One quick question: Does the installation procedure work as described?
sven is offline   Reply With Quote
Old 11-24-2012, 11:03 AM   #13
KevinShort
Addict
KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.KevinShort ought to be getting tired of karma fortunes by now.
 
KevinShort's Avatar
 
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
Confirmed working on my Kobo Glo, the instructions you posted for installing are good.



Pressing the light button takes me back to the home screen. The touch screen needs
calibrating, though. Touching news opens the calendar, and touching notes opens the
news. Also, the graphics are noticeably low resolution on the Glo's display.

I've been able to read the Glo's touch screen perfectly fine with a Python script,
so I'm not sure why koper isn't able to read it correctly.

But nice work on what you've done so far!
KevinShort is offline   Reply With Quote
Old 11-24-2012, 12:36 PM   #14
Koboyashi
Zealot
Koboyashi ought to be getting tired of karma fortunes by now.Koboyashi ought to be getting tired of karma fortunes by now.Koboyashi ought to be getting tired of karma fortunes by now.Koboyashi ought to be getting tired of karma fortunes by now.Koboyashi ought to be getting tired of karma fortunes by now.Koboyashi ought to be getting tired of karma fortunes by now.Koboyashi ought to be getting tired of karma fortunes by now.Koboyashi ought to be getting tired of karma fortunes by now.Koboyashi ought to be getting tired of karma fortunes by now.Koboyashi ought to be getting tired of karma fortunes by now.Koboyashi ought to be getting tired of karma fortunes by now.
 
Posts: 137
Karma: 207434
Join Date: Dec 2011
Device: Kobo Glo
Quote:
Originally Posted by KevinShort View Post
... I've been able to read the Glo's touch screen perfectly fine with a Python script, ...
Please, could you post or PM that Python script? Maybe one could implement a button into your weather app to restart nickel.
Koboyashi is offline   Reply With Quote
Old 11-24-2012, 03:45 PM   #15
sven
Enthusiast
sven has a complete set of Star Wars action figures.sven has a complete set of Star Wars action figures.sven has a complete set of Star Wars action figures.sven has a complete set of Star Wars action figures.sven has a complete set of Star Wars action figures.
 
Posts: 39
Karma: 454
Join Date: Jul 2012
Location: Brussels
Device: Kobo Touch
@KevinShort:
Thank you for your feedback. I am a bit surprised that there is an offset on the touchscreen of the Glo. I guess your script reads the /dev/input/event1 as my app does. Since I don't have an Glo, I am relying on my virtual Kobo only, and there it works fine, at least on my PC. Nevertheless, I will have a look into it.

By the way, how many keys does the Glo have? Do you have the keycodes available? The Touch has two keys: HOME (102) and POWER (116).

Regarding the resolution of the icons you are totally right. I drafted the icons only black&white 180x180 pixel each. On your Glo they are scaled up by around 25%. That makes the icons looking more coarse than on the Touch. But as you also might have noticed, I am not nominated to be the best icon designer of the world. That's for sure I would be grateful, if anybody in the community would like to contribute some neat icons (250x250, up to 16 levels of gray)
sven 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
Eink stanalone demo Qt eink driver for standalone qt apps ie no nickel nickel tonyv Kobo Developer's Corner 2 12-27-2012 09:35 AM
Glo Problem with Kobo Nickel font RobertJSawyer Kobo Reader 1 10-14-2012 07:38 PM
Touch Someone’s started a Nickel replacement... Spheres Kobo Developer's Corner 9 08-04-2012 12:13 AM
Mystery and Crime Various: Nickel Detective Sampler. V1. 9 Jan 2012 crutledge Kindle Books (offline) 1 01-09-2012 08:02 PM
Mystery and Crime Various: Nickel Detective Sampler. V1. 9 Jan 2012 crutledge ePub Books (offline) 0 01-09-2012 06:30 PM


All times are GMT -4. The time now is 06:42 AM.


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