Mobileread
SDK available
#1  hakim 12-11-2007, 12:53 PM
I have already posted in jinke forum and here I'll just copy my post (original post).

First of all, I am not in any way related to Jinke.
Now the main part.

Download
The chinese servers are VERY slow and people report that they don't receive a link for confirming their registration, so I have uploaded the SDK stuff to my website. Here are the links (download only v3sdk if you have linux):
toolchain-20071015
v3sdk-1.2.1.tar.gz

Installing and launching emulator
I am not sure how it is done under windows, but folks using linux, can do it like that:
1) download and extract v3sdk-1.2.1.tar.gz:
Code
wget http://www.binaryworld.xz.lt/v3sdk-1.2.1.tar.gz; tar zxvf v3sdk-1.2.1.tar.gz
2) Go to the extracted directory and install the required files
Code
cd v3sdk-1.2.1; sudo ./install
3) Put simlink, which jinke staff forgot to put:
Code
cd i386/lib/; ln -s libpdf.so.V3 libpdf.so
4) Put some ebooks, mp3s and pics to /root/abook (abook is treated as eReader's SD card)
5) Go to i386/bin and launch the emulator:
Code
cd ../bin; sudo ./demo.sh
Controls
1)1-8 Selection
2)9 Page up
3)0 Page down
4)y Menu/OK
5)n Cancel/Back

Problems
1) Problems with fonts (lots of errors like: fnt_createfont: /root/fonts/truetype/couri.ttf,20 not found);
2) gif and png images are not listed (though you can open them while in picture viewer mode (you can open picture viewer by opening jpg image));
3) mp3 player doesn't work (shows an error: invalid mp3 device);
4) language preferences are not stored.
Reply 

#2  mrdini 12-11-2007, 07:55 PM
Quote hakim
I have already posted in jinke forum and here I'll just copy my post (original post).

First of all, I am not in any way related to Jinke.
Now the main part.

Download
The chinese servers are VERY slow and people report that they don't receive a link for confirming their registration, so I have uploaded the SDK stuff to my website. Here are the links (download only v3sdk if you have linux):
toolchain-20071015
v3sdk-1.2.1.tar.gz
I would be very careful of hosting these files elsewhere if I were you - if I understand the developer agreement correctly, you aren't really supposed to be doing that! :P

Quote
Installing and launching emulator
I am not sure how it is done under windows, but folks using linux, can do it like that:
1) download and extract v3sdk-1.2.1.tar.gz:
Code
wget http://www.binaryworld.xz.lt/v3sdk-1.2.1.tar.gz; tar zxvf v3sdk-1.2.1.tar.gz
2) Go to the extracted directory and install the required files
Code
cd v3sdk-1.2.1; sudo ./install
3) Put simlink, which jinke staff forgot to put:
Code
ln -s i386/lib/libpdf.so.V3 i386/lib/libpdf.so
4) Put some ebooks, mp3s and pics to /root/abook (abook is treated as eReader's SD card)
5) Go to i386/bin and launch the emulator:
Code
cd i386/bin; sudo ./demo.sh
Something to keep in mind - the SDK installs in /root/ so it would be HIGHLY inadvisable to install this on a production system. I installed my copy inside a QEMU image, as I use Mac OS X so...

What I don't get about the SDK is - how do we install stuff onto an Hanlin Vx reader, or even create an app? I've not gotten round to writing anything yet, as the documentation's kinda just specifications & doesn't exactly tell you how to achieve things.

Ah well...
Reply 

#3  hakim 12-12-2007, 02:33 AM
Quote mrdini
I would be very careful of hosting these files elsewhere if I were you - if I understand the developer agreement correctly, you aren't really supposed to be doing that! :P
They customize linux OS for their needs, but don't give out complete source code and they expect me to respect their agreement? Anyway, it's Lithuania here - in worst case my hosting company can ask me to remove the files. BTW, I saw earlier versions of these already hosted on one russian ftp server.

Quote mrdini
Something to keep in mind - the SDK installs in /root/ so it would be HIGHLY inadvisable to install this on a production system. I installed my copy inside a QEMU image, as I use Mac OS X so...
I think for anyone who knows what sudo means it should be obvious that it's not installed in user's home directory...

Quote mrdini
What I don't get about the SDK is - how do we install stuff onto an Hanlin Vx reader, or even create an app? I've not gotten round to writing anything yet, as the documentation's kinda just specifications & doesn't exactly tell you how to achieve things.
I agree. The documentation they provide is not enough.
Also they don't seem to respond to e-mails sent to service AT jinke.com.cn and they don't seem to care what's happening in the forums. "Nice" customer service I would say...
Reply 

#4  hakim 12-13-2007, 01:21 PM
Just found Openinkpot project.
Quote
OpenInkpot is a project for creating free and open-source Linux distribution for Hanlin eReader and lBook eReader.
Reply 

#5  mrdini 12-15-2007, 08:53 PM
Quote hakim
Just found Openinkpot project.
Oohh, very interesting! Shame that the direction they're going in isn't the right direction IMHO

Consider this...
They're putting their effort into replacing the firmware with a fully open source one, which is commendable.

However, given the SDK, I think effort would be better spent on developing applications. After all, the Hanlins could be a FAR cheaper alternative to the Iliads, and look what they're doing with the Iliads!

A PDF app.
StarDict
Web browser (Minmo or Dillo) - connectivity is an issue though.
etc!
Reply 

#6  hakim 12-16-2007, 04:29 AM
Quote mrdini
They're putting their effort into replacing the firmware with a fully open source one, which is commendable.
90% of the software Hanlin uses is under GPL license (take a look here). So what they are practically doing now is trying to get the source code of all the GPLed software jinke modified for their needs. As jinke is not willing to give the source, openinkpot ultimately is going to contact copyright holders. Take a look at the mailing list for more info.
Reply 

#7  jeczmien 12-16-2007, 08:25 AM
Quote mrdini
Oohh, very interesting! Shame that the direction they're going in isn't the right direction IMHO

However, given the SDK, I think effort would be better spent on developing applications. After all, the Hanlins could be a FAR cheaper alternative to the Iliads, and look what they're doing with the Iliads!
You're right, but...

Have you try SDK they'd supplied?
Suppose you've developed new plugin - how will you load it to V3? Do you know the way? I don't.

Open reader is needed because Jinkie failed as a GPL user and a software vendor (if they give us a way to upload our extensions probably most of developers time goes to new plugins)
Reply 

#8  paucls 01-18-2008, 04:45 AM
Hello,

I tried to run the v3 SDK in a VM with CentOS 3.9 and fails:

./nano-X: /lib/tls/libc.so.6: version `GLIBC_2.3.4' not found (required by ./nano-X)
./bs: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

In what Linux Distribution you test the SDK and run ?


Now I'm going to try in a VM with Debian Etch.
Reply 

#9  hakim 01-18-2008, 06:33 AM
Quote paucls
Hello,

I tried to run the v3 SDK in a VM with CentOS 3.9 and fails:

./nano-X: /lib/tls/libc.so.6: version `GLIBC_2.3.4' not found (required by ./nano-X)
./bs: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

In what Linux Distribution you test the SDK and run ?


Now I'm going to try in a VM with Debian Etch.
I've tried it on ubuntu which is based on debian.

Do you have libstdc++6 and libc6 installed? Is version of libc6 => 2.3.4?
Reply 

#10  paucls 01-18-2008, 06:43 AM
OK, with Debian Etch 4.0r2 the V3 SDK runs OK.

Thanks hakim !!!
Reply 

  Next »  Last »  (1/3)
Today's Posts | Search this Thread | Login | Register