07-06-2012, 11:00 AM | #1 |
Enthusiast
Posts: 28
Karma: 50000
Join Date: Jun 2012
Device: kindle touch
|
KindCalc: Calculator for Kindle Touch
I finally got the HelloWorld running, and I even managed to work my calculator applet into a proper Kindlet, and it actually works!! Finally! I am glad I found enough information on this forum, albeit that it took me quite some time until I found the proper threads.
I am going to post the app here in this thread as soon as it is ready. Currently I am having font size problems. I'll have to dig this forum for the manifest's Font-Size-Mode attribute, I guess. So long EDIT: Release 1.0: https://www.mobileread.com/forums/sho...71#post2147271 Release 1.01 with full sources: https://www.mobileread.com/forums/sho...6&postcount=65 Last edited by digory; 04-06-2013 at 08:45 AM. |
07-07-2012, 08:17 AM | #2 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Thanks. EDIT: I just saw the fonthack reference in the other thread. Perhaps we need to simplify that into a basic "how to write and package a kindlet" guide. Last edited by geekmaster; 07-07-2012 at 08:21 AM. |
|
07-07-2012, 08:57 AM | #3 |
Connoisseur
Posts: 58
Karma: 31942
Join Date: Feb 2012
Device: Kindle 3, Tolino Shine, Kobo Glo
|
I'm not sure that it's proper place, but... Just an info for those who use kindlepdfviewer: I've recently a bit modified inputbox.lua in the kpdfviewer-release so to have an opportunity to calculate. It has no appreciable value for the reader, so i did not share this code yet. But if anyone is interested, drop me a line.
|
07-07-2012, 10:05 AM | #4 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
|
|
07-07-2012, 10:42 AM | #5 | |
Connoisseur
Posts: 58
Karma: 31942
Join Date: Feb 2012
Device: Kindle 3, Tolino Shine, Kobo Glo
|
Quote:
1. inputbox.lua (it includes the calculator code) 2. filechooser.lua (to run the calculator by pressing 'K') Just replace the corresponding files from the latest kpdfviewer-release. NB. Since the key 'H' (usually used in kpdfviewer to see helppage) is used for char input, the help (where the rest shortcuts are described) within inputbox is called by Alt-H. Last edited by NuPogodi; 07-07-2012 at 12:24 PM. |
|
07-07-2012, 10:56 AM | #6 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Some people read *.pdf files with a lot of embedded math.
So having a good calculator in the pdf reader can be a useful feature in following such documents. |
07-08-2012, 03:09 PM | #7 | |
Enthusiast
Posts: 28
Karma: 50000
Join Date: Jun 2012
Device: kindle touch
|
Quote:
https://www.mobileread.com/forums/sho...37#post2141537 Cheers |
|
07-08-2012, 05:39 PM | #8 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
|
|
07-12-2012, 04:57 PM | #9 |
Enthusiast
Posts: 28
Karma: 50000
Join Date: Jun 2012
Device: kindle touch
|
Here comes the first version of my calculator! Please tell me if it runs on your kindle!
Cheers |
07-12-2012, 05:06 PM | #10 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
In this forum we share our source code so we can learn from each other. In the parent forum, there are those who do not share source code, but as a general rule, we do here. After all, you learned from us, so it is only right that you share with us (especially what you post here). We also use open source licensing (where permissive licenses such as MIT or BSD are preferred by most of us, myself included). There are professional developers who are not allowed to touch GPL however (even for personal projects), to prevent "infecting" their commercial code (or even the appearance of having done so). I go to great lengths to find code that has permissive licensing. Please share. Thanks. After all, people can buy a real physical calculator at the dollar store, so it is not like it has all that much commercial value. It is a nice addition to a jailbroken kindle however, so making it free and open would be a valuable addition to our code base here. And it does look rather nice from the screenshot provided above. Last edited by geekmaster; 07-12-2012 at 05:12 PM. |
|
07-12-2012, 05:58 PM | #11 | |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Quote:
|
|
07-12-2012, 07:03 PM | #12 |
Wizard
Posts: 1,669
Karma: 2300001
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
|
|
07-13-2012, 04:03 AM | #13 |
Enthusiast
Posts: 28
Karma: 50000
Join Date: Jun 2012
Device: kindle touch
|
Thanks PoP for merging my keys into the Merged dev keystore. @geekmaster: The source code currently is a mess, and I don't do much magic in there. I might post it here after I've cleaned it up a bit.
|
07-13-2012, 06:11 AM | #14 |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
We are looking forward to seeing the source code (I am not alone here).
|
09-04-2012, 07:10 PM | #15 |
Junior Member
Posts: 4
Karma: 10
Join Date: Aug 2012
Device: Kindle Touch 5.1.2
|
KindCalc is not working
Hello, the calculator KindCalc works on my KT (5.1.2) w/o any problem for about 5 days. Now, when I start KindCalc (Peter Amberg), it is Error message window:
"The permissions to open the item have an invalid date. Please contact the developer. <Close>". I saw the time on KT was incorrect, so I set actual time. It is still not working cacl - same error. I didnt find solution, how check and set correct date, so I turn on wifi, open web sites, etc. And - after that the cacl working again! Why the time and date changed itself? How can I check date and set new one? Last edited by visvet; 09-04-2012 at 08:08 PM. |
Tags |
kindlets |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A calculator for kindle | kindle3zeng | Kindle Developer's Corner | 26 | 08-06-2012 07:24 AM |
Calculator for Kindle 4? | KDA1 | Amazon Kindle | 5 | 01-28-2012 08:37 AM |
Torn: Nook Simple Touch, Kindle Touch, Basic Kindle | dblb48 | Which one should I buy? | 12 | 12-13-2011 02:34 PM |
Kindle 3, Nook Simple Touch, Kobo Touch and Libra Pro Touch | jbcohen | Which one should I buy? | 4 | 06-18-2011 07:58 PM |