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 03-26-2011, 12:48 PM   #1
sergeyvl12
ebook fan
sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.
 
Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
Kindle - C/C++ programming

Hi!

I'm considering the possibility to buy Amazon Kindle.

I want to port my pbchess (https://sourceforge.net/projects/pbchess/) program to Amazon Kindle.

The questions are:

1. Can I write C/C++ programs for Amazon Kindle (not only java/KDK) ? What UI library used for Kindle? gtk+ ?

2. Can I connect to Amazon Kindle through telnet / ssh?
sergeyvl12 is offline   Reply With Quote
Old 03-26-2011, 01:43 PM   #2
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
1. Yes, but you will most probably never see an official distribution channel for these programs and be dependent on hacks to run them. As the Kindle comes with a Java AWT derived UI, the interface for C/C++ will simply be the framebuffer plus some e-ink specific controls. Look at fbKindle, luigi's term app or similar software for examples.
2. Look at the USB networking thread to see how to set this up.

Neither of this is possible for non-hacked devices.
hawhill is offline   Reply With Quote
Advert
Old 03-27-2011, 12:02 PM   #3
thetechnobear
Connoisseur
thetechnobear has a complete set of Star Wars action figures.thetechnobear has a complete set of Star Wars action figures.thetechnobear has a complete set of Star Wars action figures.
 
Posts: 65
Karma: 256
Join Date: Nov 2007
Location: Switzerland
Device: Iliad, Kindle K3, iPad , iPhone, etc...
@hawhill, is (2) possible with a new k3 delivered with 3.1 preinstalled ?
( I read on the USB networking thread that you cannot do with 3.1)
thetechnobear is offline   Reply With Quote
Old 03-27-2011, 03:09 PM   #4
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
Uh, well, in fact I did not test. But I *think* that was written there before the 3.1 Jailbreak came into existence. I don't think you need anything other than a jailbroken phone to install it. For a brief period of time, 3.1 was out and no jailbreak existed. Maybe someone else can comment on this, you may want to ask more explicit in the relevant thread if the new jailbreak re-enables the hack. I could not really confirm my suspicion (already had hack installed before 3.1), so I did not answer the question over there.
hawhill is offline   Reply With Quote
Old 03-27-2011, 06:54 PM   #5
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Hawhill's right, the comment you refer to was probably posted in the time window in which we didn't have a 'vanilla' 3.1 jailbreak available.
NiLuJe is offline   Reply With Quote
Advert
Old 03-28-2011, 02:40 AM   #6
kranu
I <3 my Kindle
kranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensions
 
Posts: 528
Karma: 51332
Join Date: Nov 2010
Location: United States
Device: Kindle 3G + WiFi
Yup I can open SSH on my Kindle 3.1
kranu is offline   Reply With Quote
Old 03-28-2011, 07:34 AM   #7
sergeyvl12
ebook fan
sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.
 
Posts: 735
Karma: 2528718
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
Thanks!

I still have some questions:

1. I saw gtk+-2.16.5 in the Kindle_src_3.0.1_525120101.tar.gz. Does it mean that I can use gtk+ to develop for kindle?
3. What hacks should I install to run my applications?
sergeyvl12 is offline   Reply With Quote
Old 03-28-2011, 09:10 AM   #8
h1uke
Zealot
h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.h1uke can do the Funky Gibbon.
 
Posts: 121
Karma: 82565
Join Date: Aug 2010
Location: Maryland, USA
Device: dxg, k3w,k4nt,kpw
Quote:
Originally Posted by sergeyvl12 View Post
1. I saw gtk+-2.16.5 in the Kindle_src_3.0.1_525120101.tar.gz. Does it mean that I can use gtk+ to develop for kindle?
3. What hacks should I install to run my applications?
1. you probably can, but this will require some extra preparational steps
while arranging the cross-build environment. Currently Qt looks like a simpler
alternative if it comes to GUI applications for Kindle.

2. jailbreak is a must. Usbnetwork will make the life easier and will also
allow you to run anything in ssh console window.
In order to do this without ssh console you'll need launchpad or
lrizzo's launchpad substitute.
h1uke is offline   Reply With Quote
Old 04-01-2011, 12:17 AM   #9
s.august
Junior Member
s.august began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2011
Device: Kindle 3 Wi-Fi
Sorry if this is hijacking the thread, but I think it's an appropriate place for my question. I'm a 4th year electrical engineering student working on a senior project involving development for a Kindle 3 Wi-Fi. I have some background in C and C++ programming, however after looking over the readme I don't think I have the skills that are suggested for installing the usbNetwork hack.

How might I go about getting my programs onto the device without this hack? Is it going to be more beneficial for me to spend some more time with it and do more research as opposed to trying to work around it? How feasible does it seem for someone who can't install the usbNetwork hack to attempt to write code for the device? Sorry for all the questions. I've been browsing these forums a lot recently and I think all I've been wondering is sort of spilling out :P

Thanks!
s.august is offline   Reply With Quote
Old 04-01-2011, 05:58 AM   #10
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
Well, I don't think there are much more ways than this hack, with the exception of writing your own update packages - which I would consider being even more advantaged stuff than just using the usbNetwork hack. FWIW, I do not remember the procedure as being all that complex, though.

But using the usbNetwork hack you're all set to shoot yourself in the knee rather badly (as in "bricking your Kindle"), so I would at least suggest doing this only if you have enough knowledge to judge about what exactly you're doing.
hawhill is offline   Reply With Quote
Old 12-09-2011, 09:07 AM   #11
noisy
Member
noisy began at the beginning.
 
Posts: 22
Karma: 12
Join Date: Oct 2011
Device: kindle 3
@sergeyvl12:

You wrote your question 8 months ago. Did you try port your program. Can you share with your knowledge and experience?
noisy is offline   Reply With Quote
Old 12-09-2011, 02:04 PM   #12
Astor
Junior Member
Astor began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Dec 2011
Device: kindle 3
Quote:
Originally Posted by noisy View Post
@sergeyvl12:

You wrote your question 8 months ago. Did you try port your program. Can you share with your knowledge and experience?
yep, he did it! See russian forum ^_^
http://www.the-ebook.org/forum/viewtopic.php?t=21182
Astor 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
Computer programming books JoshLessard Amazon Kindle 6 08-08-2010 06:08 PM
Kindle DX and Programming books fulcrum Amazon Kindle 4 01-12-2010 04:30 PM
PRS-500 500 Programming MarzKrishna Sony Reader Dev Corner 1 12-17-2009 08:43 PM
Programming language for development Pablo Workshop 35 09-02-2009 11:28 AM
Free Programming Resources hacker Deals and Resources (No Self-Promotion or Affiliate Links) 0 07-16-2005 11:24 AM


All times are GMT -4. The time now is 04:54 PM.


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