01-28-2012, 01:28 PM | #196 |
Lurker in the Dark
Posts: 125
Karma: 11760
Join Date: Apr 2011
Location: Bristol, UK
Device: Asus Transformer Prime, Sony PRS-T1, HTC Sensation
|
okay, I've added a null check to get past the current error on a nook:
http://sonyprst1home.googlecode.com/...me-0.0.4.5.apk |
01-28-2012, 04:01 PM | #197 |
Lurker in the Dark
Posts: 125
Karma: 11760
Join Date: Apr 2011
Location: Bristol, UK
Device: Asus Transformer Prime, Sony PRS-T1, HTC Sensation
|
okay, I've played around trying to get this to work on a Nook, but it looks like the android system has the database open exclusivly, so I can't even open it read-only.
I will need to get hold of the system apps, so that I can decompile them and see if I can work out wether I can get hold of the books information via a ContentProvider. |
01-28-2012, 04:18 PM | #198 | |
Connoisseur
Posts: 78
Karma: 165868
Join Date: Jan 2012
Device: Nook Touch
|
Quote:
|
|
01-28-2012, 04:23 PM | #199 |
Lurker in the Dark
Posts: 125
Karma: 11760
Join Date: Apr 2011
Location: Bristol, UK
Device: Asus Transformer Prime, Sony PRS-T1, HTC Sensation
|
|
01-28-2012, 04:26 PM | #200 |
Connoisseur
Posts: 78
Karma: 165868
Join Date: Jan 2012
Device: Nook Touch
|
|
01-31-2012, 06:14 AM | #201 |
Lurker in the Dark
Posts: 125
Karma: 11760
Join Date: Apr 2011
Location: Bristol, UK
Device: Asus Transformer Prime, Sony PRS-T1, HTC Sensation
|
okay, I have updated my code so that I use root permissions to change the file permissions of the database.
I can now open the database if anyone want to test out this version please download http://sonyprst1home.googlecode.com/...e-0.0.4.12.apk |
01-31-2012, 07:06 AM | #202 | |
Connoisseur
Posts: 78
Karma: 165868
Join Date: Jan 2012
Device: Nook Touch
|
Quote:
Now it starts, but shows a dialog saying that it failed to open /data/data... etc .....db. |
|
01-31-2012, 07:11 AM | #203 |
Connoisseur
Posts: 78
Karma: 165868
Join Date: Jan 2012
Device: Nook Touch
|
Speaking of root,
the other tests never invoked SuperUser to ask for root permissions, this could explain why you wheren't able to open the DB. After running this latest APK, though, I checked permissions on the DB and it was the same as before: Code:
# busybox ls -ln total 404 -rw-rw---- 1 10000 10000 48128 Jan 31 11:58 external-469fe3eb.db -rw-rw---- 1 10000 10000 357376 Jan 31 11:58 internal.db |
01-31-2012, 07:19 AM | #204 |
Connoisseur
Posts: 78
Karma: 165868
Join Date: Jan 2012
Device: Nook Touch
|
After the last post (BTW, are consecutive posts ok? I have found nothing against in the posting guidelines) I chmoded 666 the DB (i.e. granted rw access to averyone) and now it opens the DB and shows the last read book.
It also shows the right number of books in the lower left icon, but I can't select it...: if I try, the screen flashes, SuperUser shows the dialog saying that it has granted root access and then falls back to the starting screen. Last edited by met67; 01-31-2012 at 08:17 AM. |
01-31-2012, 08:45 AM | #205 |
Lurker in the Dark
Posts: 125
Karma: 11760
Join Date: Apr 2011
Location: Bristol, UK
Device: Asus Transformer Prime, Sony PRS-T1, HTC Sensation
|
the only thing that should work in this (at the moment) is showing books in the currently reading section at the top.
There is a "/data/data/com.android.providers.media/databases/internal.db" database on my sony prs-t1, but it doesn't have the docs table in it. when I executed this code on my sony, it came up, asked for root permission, and changed the file permissions correctly, it then opened the database file. Without a nook myself I'm not sure how to test this out, but I'll keep thinking on it. |
01-31-2012, 08:53 AM | #206 | |
Connoisseur
Posts: 78
Karma: 165868
Join Date: Jan 2012
Device: Nook Touch
|
Quote:
How do you change permissions? |
|
01-31-2012, 09:45 AM | #207 |
Lurker in the Dark
Posts: 125
Karma: 11760
Join Date: Apr 2011
Location: Bristol, UK
Device: Asus Transformer Prime, Sony PRS-T1, HTC Sensation
|
yes, the database is a standard (it's on my HTC phone and Sony eReader), but B&N added the docs table (which contains the ebook data).
I would guess that there is a Content Provider to read books out of it, but I can't investigate without a nook myself. Changing permissions is done with an 'su' command, which is why I need root permissions. So far, only 1 person has donated, so there really isn't that much interest in Nook version. |
01-31-2012, 10:04 AM | #208 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jan 2012
Device: nook simple touch
|
Hi, i just found out about your launcher and it looks much cooler than the original nook interface. i'm trying to get a Nook Touch on ebay right now and as soon as i get it, i'll try your software. Maybe you should start a Thread on XDA if you need more help, advices and funds.
|
01-31-2012, 02:04 PM | #209 | |
Wannabe Connoisseur
Posts: 425
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
|
Quote:
Cheers, Simon. |
|
02-02-2012, 02:11 AM | #210 | |
Junior Member
Posts: 1
Karma: 10
Join Date: Dec 2010
Device: Pocketbook IQ, Nook Simple Touch
|
Quote:
Ron |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-T1 Recently Opened on Homescreen Hack for T1 | Kolenka | Sony Reader Dev Corner | 65 | 07-28-2014 06:27 PM |
Troubleshooting Recent personal documents show filename rather than document title on homescreen | Sean Whitton | Amazon Kindle | 28 | 09-06-2011 09:28 PM |
Sideloaded book on homescreen solution for Rooted NC | mad5427 | Nook Developer's Corner | 17 | 03-14-2011 08:20 AM |
I don't know what to put on my homescreen. | SCION | Nook Developer's Corner | 3 | 01-16-2011 01:09 AM |
Content PDF: Homescreen shows Filename instead of Title (Metadata) | bear4hunter | Amazon Kindle | 1 | 08-02-2010 12:35 AM |