Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 11-08-2010, 11:33 AM   #1441
VICTORSJG
Addict
VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.
 
Posts: 318
Karma: 1846
Join Date: Dec 2009
Device: PRS-505
Quote:
Originally Posted by kartu View Post
Very funny, 600 already has the code for standby images.

PS
Update: yep, works like a charm. You can use this code (mostly shamelessly copy pasted from 350) to draw centered image, just replace this.x .y .width .height .color with 0 0 600 800 Color.black:

Spoiler:

Code:
	var window, path, bitmap, temp, port, x, y, bounds, ratio, width, height, ditheredBitmap, color;
	window = this.root.window;
	path = "/Data/logo.png";
	if (FileSystem.getFileInfo(path)) {
		try {
			bitmap = new Bitmap(path);
			temp = new Bitmap(this.width, this.height, 12);
			port = new Port(temp);
			port.setPenColor(Color.black);
			port.fillRectangle(0, 0, this.width, this.height);
			x = 0;
			y = 0;
			bounds = bitmap.getBounds();
			ratio = (bounds.height > bounds.width)?this.height / bounds.height:this.width / bounds.width;
			width = Math.floor(bounds.width * ratio);
			height = Math.floor(bounds.height * ratio);
			if (height > width) {
				x = Math.floor(this.width - width) / 2;
			} else {
				y = Math.floor(this.height - height) / 2;
			}
			bitmap.draw(port, x, y, width, height);
			bitmap.close();
			ditheredBitmap = temp.dither(true);
			port.close();
			temp.close();
			window.drawBitmap(ditheredBitmap, this.x, this.y, this.width, this.height);
			ditheredBitmap.close();
		} catch (ignore) {
		}
	} else {
		color = window.getPenColor();
		window.setPenColor(this.color);
		window.fillRectangle(0, 0, 600, 800);
		window.setPenColor(color);
	}
Kartu, will it be posible to configure the stanby image from user menu, if the user want the image appears or not when the reader is in stanby mode?

thanks
VICTORSJG is offline   Reply With Quote
Old 11-08-2010, 12:07 PM   #1442
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Yes. There will be a logo file, say /database/system/PRSPlus/logo.png. It will be displayed if you have it, or nothing will be displayed if you don't.

I'll put the Gutenberg picture for downloads, but by default replacing white standby screen would create a torrent of confusion.

I also hope this covers "personalization" part. as one could include his contact info on standby screen.
kartu is offline   Reply With Quote
Advert
Old 11-14-2010, 04:41 PM   #1443
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Not sure if is worth an extra thread yet, so here you go, demo of the preview version (!) of 600 port (will take a couple of days to package with caution, 600's are too easily to brick):

kartu is offline   Reply With Quote
Old 11-14-2010, 05:11 PM   #1444
elcreative
Wizard
elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.elcreative ought to be getting tired of karma fortunes by now.
 
Posts: 2,888
Karma: 5875940
Join Date: Dec 2007
Device: PRS505, 600, 350, 650, Nexus 7, Note III, iPad 4 etc
Thank you, thank you, thank you in advance... look forward to final release...


Quote:
Originally Posted by kartu View Post
Not sure if is worth an extra thread yet, so here you go, demo of the preview version (!) of 600 port (will take a couple of days to package with caution, 600's are too easily to brick):

elcreative is offline   Reply With Quote
Old 11-15-2010, 12:24 AM   #1445
Xaphiosis
Connoisseur
Xaphiosis doesn't litterXaphiosis doesn't litterXaphiosis doesn't litter
 
Posts: 52
Karma: 216
Join Date: Apr 2010
Device: PRS-T1
Epic job, kartu. Well done!
Xaphiosis is offline   Reply With Quote
Advert
Old 11-16-2010, 10:02 PM   #1446
SpyKiIIer
Member
SpyKiIIer began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jan 2010
Location: Ontario, Canada
Device: Sony PRS-600
I see that a version has been uploaded for the 600, is it safe to use now, or should I wait for issues to be ironed out...?
SpyKiIIer is offline   Reply With Quote
Old 11-17-2010, 02:32 AM   #1447
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
The "base version" is safe, it basically only has a couple of more alphabets in fonts and allows to load PRS+ images without flashing them.

The actuall PRS+ (2.0.3preview) is also save, since it's not flashed, but rather loaded on the fly. You can also easily uninstall it (just comment one line in installer.sh).

You can also load in "safe mode" (i.e. PRS+ not starting at all) any time, by connecting your reader to USB.
kartu is offline   Reply With Quote
Old 11-17-2010, 03:54 PM   #1448
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Click-enabled Sudoku

I have posted a first preview of a click-(maybe touch-)enabled Sudoku over in my Sim-Thread if you will have a look.

[Edit 20.11.2010]
Final added to the linked posting.
[/Edit]

Last edited by Mark Nord; 11-20-2010 at 04:50 PM. Reason: update final
Mark Nord is offline   Reply With Quote
Old 11-18-2010, 04:40 AM   #1449
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Thanks Mark, I'll have a look.
Your Calculator is also going to be included to PRS+. I didn't have time to test it with preview version, but it will definitely be part of beta.
kartu is offline   Reply With Quote
Old 11-18-2010, 09:49 AM   #1450
surquizu
Evangelist
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
Quote:
Originally Posted by kartu View Post
Yes. There will be a logo file, say /database/system/PRSPlus/logo.png. It will be displayed if you have it, or nothing will be displayed if you don't.

I'll put the Gutenberg picture for downloads, but by default replacing white standby screen would create a torrent of confusion.

I also hope this covers "personalization" part. as one could include his contact info on standby screen.
Hello there Kartu,

You said you were going to try to make PRS-505 display a selected image from a selected folder when in stand-by.

Is there a chance you could add the option to select the image from page #1 of the book displayed in the "continue reading" option of the main menu? That way, in the cases that the ebook includes a cover, the 505 would display that image automatically. If not, the option can be checked off so the 505 displays the selected image from the folder, as you were initially considering.

Thanks for all your effort.
surquizu is offline   Reply With Quote
Old 11-18-2010, 09:55 AM   #1451
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Hi surquizu,

it's possible but rather complicated.
Also note that book pages do not cover entire screen.
kartu is offline   Reply With Quote
Old 11-18-2010, 12:17 PM   #1452
yolan
Connoisseur
yolan began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Aug 2009
Device: Sony PRS-650 & Kindle PW
Hi Kartu!

I'm so in love with your PRS+ in my 505.

Though, as Christmas approach, I can feel an urgent need for a prs-650 coming ... The thing is, I don't know if I will be able to live with the default sony fonts and without folder browsing

Do you think porting from 600 to 650 will be too difficult? Is the code so much different in those two devices?

Thanks for all your effort

(For those suffering about abandoning my prs-505, my mom will benefit from it, so no worries)
yolan is offline   Reply With Quote
Old 11-18-2010, 01:03 PM   #1453
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
hi yolan,

glad that you enjoy PRS+.
I don't think that porting will be difficult, but I'll need the device to port to it.
kartu is offline   Reply With Quote
Old 11-18-2010, 05:19 PM   #1454
VICTORSJG
Addict
VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.VICTORSJG once ate a cherry pie in a record 7 seconds.
 
Posts: 318
Karma: 1846
Join Date: Dec 2009
Device: PRS-505
Hi Kartu, are you going to upload a new version for the prs 505, with the new modifications created for the prs 300 or 600, like to mark read books, favorite, and other changes of status bar, o continue book reading?

Are you developing a scripts for open the pictures and songs from books by folder? and the posibility to copy books, pictures and song from internal memory or external card and vice versa.

Thanks for you great job.
VICTORSJG is offline   Reply With Quote
Old 11-18-2010, 05:25 PM   #1455
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
Hi Victor,

all stuff available on 300 will also be released on 505, yes.
File Manager is planned in the near future.
kartu is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using HD Folders as Collections on Sony PRS-505 fglaysher Calibre 8 07-26-2010 09:55 PM
Enhanced Firmware for V3 keng2000 HanLin eBook 12 04-12-2010 09:30 AM
Poll: Sony Reader PRS-505 upgrade to Sony PRS-700 Kris777 Sony Reader 70 02-18-2009 06:34 PM
Sony Reader PRS-505 upgrade to Sony PRS-700 Kris777 Sony Reader 23 12-08-2008 06:56 AM
Sub folders in firmware v1.08 Prince Hal Amazon Kindle 28 10-23-2008 03:20 PM


All times are GMT -4. The time now is 08:29 PM.


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