Find Your Forum
  
Welcome, Guest. Please login or register.
Did you miss your activation email?

News: Do you like Samsung Instinct?      
Instinct Forum, Samsung Instinct message board, Samsung Instinct By Sprint, Samsung Instinct phone, new Samsung Instinct, Samsung Instinct phone, Sprint Instinct, Samsung Instinct phone
Best Screen Protector for Samsung Instinct                 Free Sprint Phones and Cheap Plans
                Samsung Instinct Scratch Protection
Pages: [1]
Reply Print
Author Topic: Here is a better multipage text display class  (Read 1316 times)
abales
[I][N][S]
***

Cookies: 1
Hometown: Lees Summit MO
Posts: 22


Email
« on: April 12, 2009, 06:46:12 PM »

I took the one that KB pointed out on the sprint site (done by someone I don't recall) and fixed some bugs in in (like not working for less than 1 page, other bugs too).  It does still have one bug - there is an echo of the text from "page2" after page 3 (its a 3 block shell game with memory) sometimes.  So have at it if you want.  Its a multipage text displayer.  This is my test app for the text displayer.

Remember this project requires JSR75 be turned on. 

Well I finished my 'proof of concept' for a instinct ebook app, but unless they open up JSR75 [file io] for http  "free and clear" I won't finish it. I am not gambling $5000 when I am not sure I got a job.

I proved I could scrape the gutenberg.org site and cull all of the free epub files [a simple visualBasic web crawler], parse some(and flag others with difficult formats your vb app can't figure out) and move them to my drive.  I parsed their epub files way down for speed and rezipped them.  I stripped any css, <h#>, \n's, or fancy html bs, extra files and recombined them w/o images.  Most ebook apps make stuff too bloated for phones and not simply enough to hop to the chapter in a flash and rezipped them.  This could be automated but I did most by hand for 5 books.  It would take a pretty complicated VB app with regular expressions to walk alot of those epub files and break them down into "chapters and text" for quick display.  I then uploaded these 5 files to another site for access by an Instinct app that walks the xml files down to a particular list of books [ I did a simple xml file with a 5 books in the directory].  PHP returning a page of xml would work great here for a GET where the instinct user wanted a particular list of authors or books.  Not as bad as its sounds.  Tie it into the Instinct keyboard and you got a great search engine...with PHP on the server.

The VB app that would need to parse the ebooks into "chapters and text" is the real killer.  Most ebook formats are really complex and way over the top for phones at this state of technology.  THat and you need a server that can withstand the abuse of mega downloads.  Those 3 issues hold back the books, well that and $5000.

It can work but I won't do it unless there is some money to be made.  I just can't see it when its $5000 just to sit at the table.

I tried to parse out the ebook formats as-is on the phone but it was just too slow and painful.  So I moved to my own format, a very simple xml.  KISS.  I suspect Stanza does that as well, regardless of what they might say.  It would work for comics and choose your own adventure books as well.  Comics you probably need to download on the page/chapter isntead of the entire book at once.

* InstinctScroll1.zip (7.96 KB - downloaded 47 times.)
Logged
KillerBeagle
Instinct Fanatic
******

Cookies: 234
Hometown: Wilmington
Posts: 1282



« Reply #1 on: April 12, 2009, 08:06:45 PM »

Well, they did list file and contact access from JSR 75 as some examples of what would be opened, so I think there is a good chance you'll be able to do this on an s30 soon and on the Instinct by the end of May.

Sounds like a pretty nice app!

Ryan from Sprint made the first version, but mugwumpj, who visits here, made the improvements that you probably based your version on.
Logged
abales
[I][N][S]
***

Cookies: 1
Hometown: Lees Summit MO
Posts: 22


Email
« Reply #2 on: April 12, 2009, 09:08:50 PM »

I think it was mugwump's code I used.  I fixed some stuff and here its back. 

The concept is doable, but it requires time and money.  Time, well I can spend if the return is right....but money is short around here now.

Here is another topic:
http://www.bitolithic.com/ComicZeal/comiczealcreator/comiczealcreator.htm

comics for the iPhone....this doesn't sound too tough!  I see they deploy by the page with multiple small images.  That is how I would do it.

Well maybe I will get back to it and make the app work for the 5 books I got deployed to my test website....I got them working for as resource files already.
Logged
sweet greggo
Pro Member
[I][N][S][T][I][N][C][T]
******

Cookies: 12
Hometown: irving
Posts: 333


« Reply #3 on: April 14, 2009, 09:50:36 AM »

abales, will you still have to sign up with Sprint (spend the 5k) after the APIs are opened or no? (I tried to read along, but I'm no coder so I nodded off a couple of times)

What I'm trying to say is if you build it, they will come. If you make a decent reader it will be bought (provided the pricing is reasonable). If you don't have to sign up with Sprint, that's a bonus for you. There are other avenues besides the Digital Lounge to get your software to the masses.

I for one encourage your development on this app. A "good" ebook reader is needed for this phone.
Logged
abales
[I][N][S]
***

Cookies: 1
Hometown: Lees Summit MO
Posts: 22


Email
« Reply #4 on: April 14, 2009, 10:21:05 AM »

I think, and I say think, if they open it up, I should be good to go end of next month.

So I have redoubled my efforts to get the phone software working properly and displaying it as intended.  I want to get it working for 5 books "over the air" and post it here.  You will need to have developer's permissions enabled to test it.  I will leave the 5 open as a trial thing, a freebie. 

If you want to have access to the other 25000 ebooks or so its going to cost for that app.  Not much tho, $10?.

I can post a book app that just reads one book that is fixed to the app, but that is totally lame for where I think this should go.  Its the appoach we might have to go with comics or properity books (I was talking with some of them this week).

What is Digital Lounge?
 
Logged
sweet greggo
Pro Member
[I][N][S][T][I][N][C][T]
******

Cookies: 12
Hometown: irving
Posts: 333


« Reply #5 on: April 14, 2009, 10:46:49 AM »

Trial software is always a plus. Will it be necessary to load the developers permissions to run the final app?

I'll be honest, $10 sounds a bit steep for a phone app. I haven't priced ebook readers, so I don't know what the competition's pricing is. If you're set on charging that much though, all I can suggest is that you make the interface as slick as possible. People want pretty pretty and bells and whistles for their money. I can say with confidence though that you would sell a lot more copies if you cut that price in half.

"I can post a book app that just reads one book that is fixed to the app"... is that like the tequila cat software, where it takes a text file and turns it into a jar to be installed on the phone? (Basically it turns it into a stand alone app) That's been discussed here before and the consensus seems to be most people want to be able to load the files on their memory card and read them from that. I don't know much about the comic book formats for phones... do they come in pdf files? Seems to me that a pdf reader would be the answer there.

Digital Lounge... I don't think I've run across a Sprint customer that doesn't know what this is. This is Sprint's "App Store". You access by hitting the Shopping button on the phone. You probably know what it is but just didn't know what it was called.

I'm looking forward to the app when released. This phone needs a good ebook reader.
Logged
abales
[I][N][S]
***

Cookies: 1
Hometown: Lees Summit MO
Posts: 22


Email
« Reply #6 on: April 14, 2009, 12:00:44 PM »

digital louge...yeah I never shop.  Wife that does that!  Actually you are right, I just had no idea what it was.

You are probably right about $10.  However with this is OTA book collection, you don't have to do anything but browse until you find the book you want, and presto...its readable.  I will make it savable to the local drive later, for speed and do some serialization so the app remembers that book.  I figure I can get 10000 books ready.  Or I can charge $2-3 for a book.....

I did a FileExplorer appllication with folders and what not for the Instinct already.  It runs really slick.  This was my first project on the phone.  I thought this was the way to do it...but making the customer download a book and then go find it is probably beyond the range of most users.  I could cache them into a folder and just browse there, but, OTA [over the air] really opens the world up.

If the app requires dev permission for the final not much point in doing it.  I hope the MR6 software release will fix that.  But for now it does you have to have permissions.

I won't polish it up at first.  I'd rather pawn that work off on someone else and get busy with book formatting once I get a prototype phone reader that doesn't have bugs.  The book formatting issue is really the 800# guerilla in the room.  The app is not too difficult, but getting those books prepp'd and ready for use is going to be a killer.
« Last Edit: April 14, 2009, 12:02:43 PM by abales » Logged
abales
[I][N][S]
***

Cookies: 1
Hometown: Lees Summit MO
Posts: 22


Email
« Reply #7 on: April 14, 2009, 12:26:18 PM »

Pdf reading software really sucks.  Its like a MAC truck, big, huge, ugly and dirty.  PDFs are not really meant to be reflowed into some smaller format.  There is nothing easy about whole concept from what I saw.   I tried to get it working and dumped it.  There is a need for a basic pdf reader that does reflow for most phones.

Nasty stuff - Same with epub format, ipub, css and the half dozen other properity formats for books.  Its ugly and slow.  People want the book instantly and now.  They don't want a week of parsing and crashing from too complex code or fancy html loaded stuff.  Granted that first OTA to get that book will be slow....but later I can save & serialize so its a 1 time deal.

Probably in a few years I see the need for fancy phone ebooks with css/html/hyperlinks but for now the phone is too slow for most formats.
Logged
Pages: [1]
Reply Print
Jump to:  

Got a new phone? Find the forum here


Subject Started by Replies Views Last post
8 G Class 6 MicroSD = $28.99
Instinct Accessories
TxinstinctxT 14 2652 Last post February 03, 2009, 08:53:16 AM
by varelawarfare
Changing display of incoming text messages?
How To....
sbachofner 11 1666 Last post February 08, 2009, 10:37:43 AM
by sbachofner
does any one know what class the card is that came with the phone
General Instinct Discussions
wdr453 7 589 Last post February 12, 2009, 11:20:58 AM
by DraztikRhymez
8Gb Class 4--Samsung Vs Sandisk
Instinct Accessories
Jsingh 4 1594 Last post April 03, 2009, 06:09:40 PM
by BenBarker
Buttons class
Instinct Application Developer
jman 0 674 Last post June 09, 2009, 02:26:16 PM
by jman




Galaxy S3 | Galaxy Note | Galaxy Nexus | Kindle Fire | Atrix 4G | Motorola Xoom | Windows Phone 7
Nokia Lumia | Top Hosts | Samsung Galaxy Tab | Samsung Galaxy S2 | Samsung Galaxy S | Samsung Wave
HTC Evo 3D | HTC Evo 4G | HTC Incredible | HTC Incredible 2 | HTC Incredible S | HTC Thunderbolt
Motorola Droid Razr
| HTC Desire | HTC Desire HD | HTC Desire Z | HTC Desire S | HTC Wildfire
Motorola Droid | Galaxy Indulge | Nokia N8 | Droid Charge | Droid X | Droid X2 | Droid 2| Droid 3 | Fascinate
HTC Sensation | HTC Flyer | LG Revolution | Asus Transformer | Xperia Play | iPhone 4 | Nexus S | Droid Bionic
HTC One | HTC Wildfire S | HTC Droid Eris


This is an Un-Official fan based Website. The views expressed on this website are solely those of the proprietor, or contributors to the site, and do not necessarily reflect the views or opinions of the parties it covers, and is not affiliated with, endorsed or sponsored by parties involved.
If you have a problem with any of the content posted on this website, please contact "sales@verticalscope.com"
Term of Use | Privacy Policy | BlackRain 2006 by, Crip





















CopyRight 2008 www.instinct-samsung.com
Powered by SMF 1.1.11 | SMF © 2006-2007, Simple Machines LLC