Author Topic: Nspire Ebook Reader  (Read 14484 times)

0 Members and 1 Guest are viewing this topic.

Offline whatkindofausernameisthis

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 11
  • Rating: +11/-0
    • View Profile
Nspire Ebook Reader
« on: March 20, 2011, 05:55:10 pm »
Hey. Its my first time posting on this forum.

I've been working on an ebook reader for the TI Nspire. Spring break is just about to end for me, so I thought I'd post what I have so far. Right now all it can do is display plain text files. It can open files a lot faster than the built-in notes editor because it doesn't have to decompress anything, it's much easier to format a book for this program than for the built-in editor, and navigating pages is a lot easier.

Controls:
  • Up/Down or 5/8 to navigate the file browser
  • Enter to open the file
  • Left/Right or 4/6 to turn the page

There are still a few issues
  • The text right now is really small (7pt Tahoma) and there is currently no option to change it.
  • There may also be a small memory leak-I haven't checked through all the code to make sure all the dynamically allocated memory gets freed.
  • It currently doesn't check if you've reached the end of the book, so you might get garbled stuff at the very end and you can go beyond the end of the book data.

I plan on adding the following (though I may not have much time to do it):
  • Ability to change the font size and the vertical spacing between lines
  • Support of a more compact file format
  • Support for bold and italics
  • Page numbers and a jump to page option.

This program is still in a beta stage, so I can't guarantee its stability.

I have a couple of questions for the community.
1) Does anyone know of a program that can generate raster font data? The current method I've been using to get binary font data is really tedious.
2) How do you attach a file? All I can do is post a link: http://dl.dropbox.com/u/4752797/Nspire%20Ebook%20Reader.zip
I apologize ahead of time if the code is unreadable.

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Nspire Ebook Reader
« Reply #1 on: March 20, 2011, 06:10:08 pm »
Hi!  Welcome to Omnimaga! :)

This looks very nice, I will most certainly try it out sometime in the next few days! :)

In order to attach a file to you post, you need to have at least 5 posts, I believe.


Offline compu

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 275
  • Rating: +63/-3
    • View Profile
Re: Nspire Ebook Reader
« Reply #2 on: March 22, 2011, 04:42:52 am »
Sounds nice :)

I think I will take a look at the source this evening ;D

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Nspire Ebook Reader
« Reply #3 on: March 22, 2011, 11:34:23 am »
Wow, nice! It seems like many Nspire projects are being started by members that are new to the community. Sadly, I can't test this program, because I don't have an Nspire...

Offline GB

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 147
  • Rating: +15/-3
  • Use Microhard WindOS today!
    • View Profile
    • MICROHARD CORPORATION
Re: Nspire Ebook Reader
« Reply #4 on: March 22, 2011, 11:50:22 am »
I'll have to see if this runs on System 1.7.
TI-86 USER
CASIO PRIZM USER
TI-NSPIRE USER
TI-84 PLUS SILVER EDITION USER
TI-83 PLUS USER

PROJECTS:

Microhard Paint
http://www.omnimaga.org/index.php?topic=11915.0

TI-Nspire Character Map
http://www.omnimaga.org/index.php?topic=7725.msg142555#msg142555

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Nspire Ebook Reader
« Reply #5 on: March 24, 2011, 12:33:01 pm »
Sounds pretty cool. There are a lot of these for the 8x, but none for the NSpire (before this was released).

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Nspire Ebook Reader
« Reply #6 on: March 26, 2011, 03:12:33 am »
Heya and welcome on the forums. I saw you lurking sometimes but I'm glad you posted finally. :D

Also this project seems interesting. I wonder if it will support TI-89/92+/v200 Ebooks in the future?

Offline jpt

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 13
  • Rating: +0/-0
    • View Profile
    • Bossing Around
Re: Nspire Ebook Reader
« Reply #7 on: January 27, 2013, 03:37:59 pm »
Nice work :) I'm glad that some kind of reader exists for the nspire!

Unfortunately what i really want is a "real" ebook reader (that can read ebook file formats directly and with images and everything)... Maybe it will be my first project. Anyways, i'm going to take a look at your code and if i correct some things i will post them here :)

Congrats for the project and keep the good work ;)