![]() |
#1 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
Kindle touch ebook converter?
I am only posting this because i'm not good at java
![]() I used the hackedupreader extension and figured it could also be used to run a cross-compiled version of ebook-convert from calibre to convert the epubs to mobi. Could anyone write an extension for that please? Last edited by aditya3098; 03-25-2012 at 12:59 AM. Reason: Typo |
![]() |
![]() |
![]() |
#2 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
1. This has nothing to do with Java.
2. How about trying to do it yourself? |
![]() |
![]() |
![]() |
#3 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
The java in the extension? ( I've been trying for the past week )
|
![]() |
![]() |
![]() |
#4 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Ah, you mean the launcher part. Now that's really, really straightforward to write.
Take a look at the Enterprise WPA extension (the source code is attached there) for a very simple working example. It's 2 classes with a total of less than 100 lines of code, including all application logic. |
![]() |
![]() |
![]() |
#5 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
But I need something that:
adds a menu item for every epub change the last four charecters from epub to mobi and run the executable ( ebook-convert xxx.epub xxx.mobi It is the last four charecter part that I find tough. |
![]() |
![]() |
![]() |
#6 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
Geez, did you even bother to look at the sample code I suggested? It contains exactly this use case (line 45 in WPAMenu.java). And there is also the use case of running an external command in WPAAction.java.
Java is very to easy to understand once you got the fundamental concept of object-oriented programming. And the documentation is excellent. For example: http://docs.oracle.com/javase/1.4.2/...ng/String.html Last edited by ixtab; 03-25-2012 at 03:51 PM. |
![]() |
![]() |
![]() |
#7 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
Okay, I got that, but here's a dumber (
![]() |
![]() |
![]() |
![]() |
#8 |
(offline)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
|
In which context?
|
![]() |
![]() |
![]() |
#9 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
in the implimentation part of the readme
UPDATE: I copied the KindleLauncher.jar, and it gave me some error that contained the word reader and sdk. So I fixed it by coping ReaderSDK(-impl).jar Last edited by aditya3098; 03-27-2012 at 03:03 AM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Kindle Touch] adding support for other ebook types | LittleLui | Kindle Developer's Corner | 9 | 03-07-2012 06:57 AM |
Hamster ebook converter - Free converter converts formats. | SamuraiXSendai | Amazon Kindle | 4 | 07-07-2011 07:22 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 |
Auto Kindle eBook Converter | KarenB | Writers' Corner | 0 | 08-27-2009 06:44 PM |
Auto Kindle ebook converter | AnemicOak | Kindle Formats | 9 | 08-18-2009 12:42 AM |