12-28-2012, 10:39 AM | #16 | |
ebook fan
Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
|
Quote:
Not yet but I will. I've just received my Kobo Touch and start immediately as soon as finish Android version of chess. I think we need to write a plugin that allows to run standalone applications. |
|
12-28-2012, 10:53 AM | #17 |
Enthusiast
Posts: 49
Karma: 208
Join Date: Nov 2012
Device: Kobo Glo
|
Yes, that would be a great idea!
Btw, how did you compile your checkers? Because on my Glo it says Segmentation Fault. In my own example app, the fonts aren't working, I use Georgia that is listed in the qt embedded dir (on the Kobo), but still just Zero's. How did you solve that? |
01-02-2013, 08:21 AM | #18 | |
ebook fan
Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
|
Quote:
1. Start from plugin 2. restart nickel after program exit Download link is the same (first post) koenieee, please try it on Glo. As for fonts, I use export QT_QWS_FONTDIR=$root/fonts in the checkers.sh to provide my own fonts to Qt embedded. Last edited by sergeyvl12; 01-02-2013 at 08:25 AM. |
|
01-02-2013, 02:09 PM | #19 |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
It works fine on my Glo, nice work! Though it does need higher resolution graphics to look good on the Glo.
|
01-02-2013, 02:34 PM | #20 | |
ebook fan
Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
|
Quote:
Now I want to provide easy way to start my applications on kobo (Sokoban, Checkers, Othello, Chess). Today I tried to develop a plugin with buttons for start applications. It started well but touch input doesn't work... It makes task more complicated. Another problem is that a user need to update sqlite database in order to start plugin. |
|
01-03-2013, 11:27 AM | #21 |
Enthusiast
Posts: 49
Karma: 208
Join Date: Nov 2012
Device: Kobo Glo
|
Maybe you can start the sh script directly from the plugin interface?
Using the plugin interface ah- created When it is al working may I use your libs and tips to create a tutorial for other people? Edit: It works very good even with my own application. Only my fonts aren't yet working. Thank you! Last edited by koenieee; 01-03-2013 at 11:38 AM. |
01-03-2013, 11:39 AM | #22 | |||
ebook fan
Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
|
Quote:
(Firmware 2.1.4 Plugin Alpha Release) The single solution I see for now is to write my own plugin that will run a "starter" application that will have buttons and can start custom applications. Besides this plugin will update database (only my file entry to my mime type). Quote:
Quote:
Last edited by sergeyvl12; 01-03-2013 at 02:10 PM. |
|||
01-03-2013, 03:34 PM | #23 |
Enthusiast
Posts: 49
Karma: 208
Join Date: Nov 2012
Device: Kobo Glo
|
Yes, that would be great!
Could you tell me how you set your font in qt? I use this: QApplication::setFont(QFont("Georgia", 12)); and the QFontDatase gives Georgia as a installed font, but still I get squares as text Edit: Nevermind, it is working! I used the fonts you provided, and it is perfect! Last edited by koenieee; 01-03-2013 at 04:01 PM. |
01-03-2013, 03:51 PM | #24 | ||
ebook fan
Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
|
Quote:
As I've mentioned earlier, the way to specify a directory with fonts in Qt embedded is: export QT_QWS_FONTDIR=<dir with your fonts> ./program Tomorrow I'll try to add "Georgia" font to my font directory and select it in application. Quote:
|
||
01-03-2013, 04:36 PM | #25 |
Enthusiast
Posts: 49
Karma: 208
Join Date: Nov 2012
Device: Kobo Glo
|
Have you seen my Edit?
It is working now, with your font. Maybe it would be kind to add a button to restart nickel, using this script for example: http://pastebin.com/gEuQpaU5 and this piece of code: Code:
void App::on_pushButton_2_clicked() { QMessageBox msgBox; msgBox.setText("Wait for nickel"); msgBox.exec(); QProcess *proc = new QProcess(); proc->start("/home/admin/nickel_start.sh", QStringList()); QApplication::quit(); } Last edited by koenieee; 01-03-2013 at 06:23 PM. |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo Storage Upgrade Service (Wifi, Touch, Mini, Glo, Vox) | jefftheworld | Kobo Reader | 14 | 10-24-2012 01:20 PM |
Kobo Glo, or Nook Touch Glow/wait for nextgen | MorningSong | Which one should I buy? | 1 | 10-14-2012 08:56 AM |
Kobo Glo fonts compared to Kobo Touch | RobertJSawyer | Kobo Reader | 3 | 10-11-2012 12:10 AM |
Kobo Glo Vs Kobo Touch Sizes (Want to use my Skindigital cover) | Chocky | Kobo Reader | 3 | 09-25-2012 10:47 AM |
Kobo Touch not disconnecting properly from Calibre OR Kobo Desktop - Windows 7 | JBlyth | Devices | 1 | 08-03-2011 06:50 AM |