yashsingh1/xdaforums huggingface dataset:
[Nook Color Themes and Apps] RoboRay:
I wonder if there's a way to store and retrieve the sync data with each user's Dropbox or something...
[Nook Color Themes and Apps] Delvorak:
I'd imagine that there is a way to do this, since programs like Titanium Backup support a dropbox interface.

If enough people think this would be a good feature to add, I can definitely look into it.

Scott
[Nook Color Themes and Apps] RoboRay:
I'm just thinking that using each person's Dropbox would get you off the hook for not only server space and bandwidth, but also any potential copyright liability for book copies made by users synchronizing their files.
[Nook Color Themes and Apps] Delvorak:
Valid points. I'll do some digging and see what it will take to implement the dropbox API in this app..

Thanks,

Scott
[Nook Color Themes and Apps] Delvorak:
Edit: Updated first post with useful information - added download link.

Updated to v1.0.10 to fix a problem when used with the latest FBReader beta. Same URL as before:

Edit: Download the app off the market ;)

Thanks,

Scott
[Nook Color Themes and Apps] wdl1908:
This is a great app this is the missing link in fbreader. I hope you continue to support and enhance it.

Now that my archos tablet is rooted i can really enjoy it. I used to read my books on my phone and occasionally I still do.

Thx for the great work.
[Nook Color Themes and Apps] madsquabbles:
This looks like a dang good app. Since getting my nc i've quit using my evo for reading. This sync will bring joy back to my bathroom bbreaks at work!
[Nook Color Themes and Apps] Delvorak:
Thanks for your kind words!

Since the last time I posted to this thread, I've added a dropbox interface to the program, and posted it to the Market (for Free of course!), so if you've downloaded the APK from the web, please re-install it from the market for the latest and greatest version.

Thanks again,

Scott
[Nook Color Themes and Apps] RoboRay:
Oh, great! I'm checking out the Dropbox syncing now. :)

Edit: Works great!

If I may make another suggestion, you should post about your app at the MobileRead forum. I think you'll pick up a lot of users there.

Also, I know that the Android version of FBReader is different from the PC versions, but syncing with the Linux and Windows versions would be the icing on the cake. MobileRead might be a good place to find others wanting to help develop that capability
[Nook Color Themes and Apps] wdl1908:
A suggestion for the next version.

Do not force the portrait mode for the listing. I use my tablet only in landscape mode because of the kick stand.

Again a great program.
[Nook Color Themes and Apps] Delvorak:
Thanks, I created a new thread on MobileRead for FBSync.

I didn't even realize there was a Windows version of FBReader.. I could probably create a windows client for FBSync, it looks like it's data structure is fairly similiar to the android app... I'll have to see if there's a high demand for this (personally I hate reading books on my PC (even with a laptop you are kind of tied down and it's cumbersome)).

The linux client would be difficult, I don't have any experience writing programs for Linux. I could learn though, if enough people express an interest.

Thank again,

Scott
[Nook Color Themes and Apps] Delvorak:
Valid request. Personally I hated having it rotate, so I set it to portrait only, but I always use my devices in portrait. It's a small change and not a big deal, so I'll make sure this gets into the next version i put out.

Thanks,

Scott
[Nook Color Themes and Apps] RoboRay:
I don't care much for reading on desktop or laptop computers either, but I first began using FBReader with my OLPC XO running Ubuntu. It makes a nice ereader with its screen flipped around backwards in tablet mode. I'd love to see a linux version. :)
[Nook Color Themes and Apps] madsquabbles:
but it so much easier to minimize a window than it is to hide phone when reading at work.;)
[Nook Color Themes and Apps] Delvorak:
Ah, but if you use Android Screencast (http://code.google.com/p/androidscreencast/), then your phone is just another screen on your computer....

Scott
[Nook Color Themes and Apps] madsquabbles:
is there a way to reset the db on your server side? i've been going through and trying to reedit some of my epubs and my db has nearly 400 books now! lots of them duplicates. other than make a new user how would i go about reseting it?
[Nook Color Themes and Apps] Delvorak:
I have a very crude web interface that you can log into and delete individual records... let me see if I can add a quick "Delete All" to it.. Ok, done.

I don't really want this out in the open, so I'll PM you the URL.

Scott
[Nook Color Themes and Apps] wdl1908:
Can you add that functionality to the program?

But another question would be better.

Why do the books that are not present stay in the DB on the device?
[Nook Color Themes and Apps] Delvorak:
Yes, I could add it to the device. I'd probably make it a menu item and require you to re-enter your pin # or something to ensure you don't do it by accident..

Are you talking about the FBReader database on your device, or the book position data that's stored on the web?

I can only suppose in regard to FBReader, since I didn't write it, but for FBSync, it never deletes data because you could have different books on different devices, or you may temporarily delete/move books on your devices, but if you decide to re-read them later, you may want it to save the position you were at.

Scott
[Nook Color Themes and Apps] wdl1908:
Well lets say 2 options to clear then 1 for the local DB and 1 for the web.

That should make it possible to keep the DB under control. I had a problem the first time i used it as the complete FBReader DB was copied over and i had only 2 books on there. it seems FBReader does not cleanup either.
[Nook Color Themes and Apps] Delvorak:
The only problem with 2 options, is that the clear local would only be useful if you'd never sync'd that device before. if you already synced, the data is now on the web, and it'll just sync back into the local db.

But, it could be useful in certain circumstances, if you wanted to reset everything... I'll add it to the next version.
[Nook Color Themes and Apps] danguyf:
I love the idea of this app. The first time I ran it I let it sit for a while, syncing. Since then, every time I run it I get an immediate, lengthy sqlite error saying that the db cannot be found. Has anyone else experienced this?
[Nook Color Themes and Apps] Delvorak:
Is your device rooted?

What device and rom are you using?

Someone else has reported a similiar issue on a Sprint EVO 4g, running Cyanogen 7. I haven't yet had time to install that rom on my evo to test it.

Thanks,

Scott
[Nook Color Themes and Apps] faceman66:
Just wanted to drop in and say thanks! I have loved fbReader for awhile now and since i got my nc, this is in my top 5 apps.

Great job!
[Nook Color Themes and Apps] danguyf:
That would help, wouldn't it! Sorry.

I am receiving the errors on an N1 running the latest CM7 nightlies. I just got my NC yesterday and will install it there this evening.
[Nook Color Themes and Apps] madsquabbles:
i sometimes get javascript errors. i just dismiss them and it works fine. they're something like can't close db, blah, blah (i'll be more specific next time lol).

it does seem fbreader is pretty sloppy with it's db. it doesn't seem to remove books from the db after deleting them, so you can end up with a gigantic list of books to sync if you constantly add/remove books.

this program is now my 2nd most used app on my devices - number one being fbreader.
[Nook Color Themes and Apps] Delvorak:
I found and fixed the problem that was causing the errors on the CM7 nightly rom's. A new version, 1.0.16, should be on the market shortly! Please let me know if this fixes the problem for you. I tested it on an Evo, not the nexus one, but I imagine the problem is the same.

It will also include the options to reset the web or local book data.

Scott
[Nook Color Themes and Apps] Delvorak:
I would very much like to see the errors that you are getting, I'd like to improve the app any way that I can. next time that you get the errors, could you possibly use aLogCat (Filtered for com.asd.fbsync), save it to file, and send the file to adkinssoftwaredesign at gmail dot com ? Also if you could include which device and ROM you are using (a link to the ROM would be great) that would help a great deal.

Thanks!

Scott
[Nook Color Themes and Apps] tahngarth:
Feature Request

So here's my endgame. I tend to read most at night, and I know I'll frequently forget to sync after my reading session. With that in mind is there any chance you could either make a Tasker interface so that timed sync's can occur, or anything other crazy thing that can be done with Tasker. Or simply making an app that directly calls the sync activity, so instead of two clicks, the app starts, syncs, closes.

In the meantime, i have a question. When exactly does FBSync do a force close on FBReader. Right now I'm using a Tasker shortcut so that FBSync is started, then FBReader. Thus when I close out of FBReader, FBSync is already there, making it harder to forget.

Thanks for the awesome app. This has definitely made things much, much simpler.
[Nook Color Themes and Apps] Delvorak:
Hrm. I've never attempted to interface with Tasker.. Is it like Locale in that it accepts plug ins? I can look into this, but I'm not sure a timed sync is the ideal solution, since the sync kills the fbreader process (so it could kill it while you are reading a book).

I might be able to add an "auto-sync" mode... Seperate launchable icon that would launch the app, sync, then quit... I'll look into it.

It kills FBReader as soon as it gets to the "Downloading" part of the sync (so the second part, after the "upload", but before the dropbox). The reason why it does this is to force FBReader to re-read it's database, to see the new books/book positions.

It never kills the application unless you initiate the sync.

Thanks a lot, I appreciate the praise and ideas!

Scott
[Nook Color Themes and Apps] tahngarth:
It's very similar to Locale, but a bit more flexible and the developer has seemed very approachable. It has a plugin architecture, and it may actually accept Locale plugins iirc.

Thanks for the info on when it kills FBReader, that methodology will work great with how I'm doing it now.
[Nook Color Themes and Apps] danguyf:
You are a prince! The new version works flawlessly on CM7.
[Nook Color Themes and Apps] wdl1908:
HELP the sync server seems to be unresolvable.

sync.splitmatrix.net

I hope this is only a glitch and not permanent as the application is very usefull.
[Nook Color Themes and Apps] Delvorak:
It certainly isn't intentional. I'm in contact with my host and they are trying to figure out what's wrong. Hopefully it's something minor that they can fix quickly.

Thanks a lot for bringing this to my attention!

Scott
[Nook Color Themes and Apps] Delvorak:
The company that hosts my DNS for splitmatrix.net is experiencing a denial of service attack, and they are working to recover as quickly as they can. Hopefully they will rectify the situation soon.

I'm sorry for the inconvenience.

Scott
[Nook Color Themes and Apps] wdl1908:
Would you consider posting the source for the server side program?
[Nook Color Themes and Apps] wdl1908:
Thanks for the quick reply. It's working again.
[Nook Color Themes and Apps] d0g:
Is there any way to get this to work with the non-color Nook?
[Nook Color Themes and Apps] roustabout:
Yeah, I'd love to host my own sync server on my lan. I have a synology diskstation that's always spinning, so it'd be a nice thing to add to that. The devices I'm synching between are a color nook and a simple touch, so internet synch isn't as important to me as to many, and I could synch files a lot faster to a local box.

That said, I'm just being careful with Calibre and thank you so much for putting this together!
[Nook Color Themes and Apps] wdl1908:
Help

sync.splitmatrix.net is down or unreachable. Is it the server or some upstream provider that is not working?

These are the last 2 hops that respond.

14 Steadfast.car4.Chicago1.Level3.net (4.71.102.202) 101.373 ms 101.934 ms 101.346 ms

15 ip78.208-100-32.static.steadfast.net (208.100.32.78) 102.049 ms 105.251 ms 104.906 ms
[Nook Color Themes and Apps] wdl1908:
Never mind it solved itself.
[Nook Color Themes and Apps] ular_king:
This is a great software...it works great on my Motorola Atrix but on my NookColor CM7 nightlies it force close when i click the sync button. It works the first time when i install it but after reading some books and i went back to FBSync to Sync the bookmarks it force close. Please help.
[Nook Color Themes and Apps] Delvorak:
I do appear to be having problems with my web host. I'm looking into it, sorry for the inconvenience!

Scott
[Nook Color Themes and Apps] Delvorak:
Can you use aLogCat filtered for "com.asd" (no quotes) to get a log of what's causing the force close, and post it here?

Thanks,

Scott
[Nook Color Themes and Apps] Delvorak:
I don't have a Nook, only a NookColor. If it's a rootable Android device, and you can install third-party software on it, there's no reason why it shouldn't work.

Sorry for the delay in responding, I haven't checked this thread in quite a while.

Scott
[Nook Color Themes and Apps] Delvorak:
Let me see what will be involved in getting it together and altering FBSync to allow you to specify your own host... I don't have a lot of free time to work on it, but I'll try to get something together soon.

Scott
[Nook Color Themes and Apps] Delvorak:
FBSync v1.0.17

I apologize for the long delay in responding.

I'm about to release v1.0.17 of FBSync, which will allow you to specify an alternate URL to sync your book data to.

In the Settings (Menu, Settings), there is a new option "Alternate Sync URL" where you can enter your own URL. Leave it blank if you want to use my server.

If you want to use your own, you will need the file attached to this post. I wouldn't recommend trying to set up your own server unless you are pretty comfortable with web servers, php, and mySql.

Sync.zip contains a .SQL script, and several .PHP files that are required to set up your own sync server.

The primary thing that you need to set up your own Sync server is a HTTP Web server that supports mySql and PHP.

On your server, create a new mySql database (name doesn't matter, just make sure there's a user attached to it that has insert/update/delete rights), then run the sql code in the sync.sql to create the two tables that are needed.

Edit the common.php file and replace the '' values in this block:

$dbhost = 'localhost';
$dbuser = ''; // Fill out the database user name here
$dbpass = ''; // Fill out the database user password here
$dbname = ''; // Fill out the database name here

with the correct values for your server. $dbhost can probably remain 'localhost'.

Then create a directory on your web server that is accessible from your devices, and put the 5 PHP files into it.

Launch FBSync, hit Menu, Settings, click the "Alternate Sync URL", and type in the URL that points to the directory you put those PHP files in (ex; http://sync.splitmatrix.net/alternate_sync ). You must start it with http://, and it should not end in a /.

After you enter the URL, save out of it, back out to the main FBSync window, and click the Sync button. If you set up everything correctly, it should sync to your server now instead of mine.

If you run into any problems, I'll do my best to monitor this thread and try to help, or you can email me at adkinssoftwaredesign at gmail dot com.

Thanks,

Scott
[Nook Color Themes and Apps] ular_king:
Hi Scott,

It looks like the latest version resolves the force close on nookcolor... thanks buddy!
[Nook Color Themes and Apps] samnob:
Is this free software?

Hey thanks so much for sharing this Scott.

I set up the server side stuff and am excited to use this, but then realized that I can't find the .17 version of the client software outside of the market.

I don't use the google market place, due to it's licensing.

Is fbsync open source or free software?

If so would you consider sharing it with the folks over at fdroid?

f-droid.org/forums/topic/about-this-forum/

Or maybe at least update the apk file that's available at sync.splitmatrix.net/apk/

Thanks.
[Nook Color Themes and Apps] Delvorak:
FBSync is completely free, but it's not open source.

I uploaded v1.0.18 to

http://sync.splitmatrix.net/apk/fbsync1018.apk

This is an as yet unpublished version that should fix the problem people are having with FBSync on Honeycomb devices. I can't confirm yet that it fixes the honeycomb problem (anyone want to try it and tell me?), but I know it works properly on Gingerbread.

I'll check out fdroid.

Thanks,

Scott

EDIT: I've updated the original post with the current information.
[Nook Color Themes and Apps] Delvorak:
I just released a new version of FBSync on the market (v1.0.19) that should fix the problems FBSync has on honeycomb devices.

I have confirmation that it is working on an Acer Iconia A500 tablet.

Scott
[Nook Color Themes and Apps] yozh:
Hey great app. Thank you very much. I do have 1 question. Is there anyway to sync to the PC?

(Sorry if this was asked before)
[Nook Color Themes and Apps] Delvorak:
There currently isn't a way to sync on the pc, and I don't have plans to write one.

Scott
[Nook Color Themes and Apps] Aaron Camp:
add some functionality

I just found this app the other night and LOVE it.

I read on a tablet (acer icona 500) and a phone (evo 4g) so this is great. I have not used fbreader in a long time, but I have switched back just to use this app!!

That being said, I think there is a chance to use the code you already have written for a new app that LOTS of people would pay money for.

I would LOVE to have an app that would allow me to configure a folder on my SD card to sync up to dropbox....exactly like the dropbox sync you already have.

Just put a wrapper around that code that would let me specify a folder, and BAM, your done.

Also, you could add a widget that does autosync for that folder.

Basically up until i found your app, I was using Kindle reader on my 2 devices, and manually copying the prc and mbp files to and from dropbox.

In any case, an app that you can specify a folder on the SD card to sync with dropbox, and a widget that does the sync would be something I would be willing to pay for.

Thanks
[Nook Color Themes and Apps] Delvorak:
Thanks, I'm glad that you find my application useful!

Your idea does sound like it would be a nice app to have. I can't promise anything, but I'll try to find the time to look into it.

Scott
[Nook Color Themes and Apps] dimcus:
First of all, thank you very much for this program! It really makes life easier.

I have a little question: could you clarify, please, what exactly dropbox interface should do? For me it just creates empty /FBSync folder and that's all. Am I missing something in program settings?
[Nook Color Themes and Apps] Delvorak:
If you have the dropbox interface enabled, when you sync in FBSync it will automatically upload any books that you have opened with FBReader. Once uploaded, syncing on other devices will automatically download any missing books.

If you have have opened some books in FBReader, and it still isn't uploading them to dropbox, please contact me privately and we'll try to figure out the problem.

Scott
[Nook Color Themes and Apps] karmacop:
Auto Sync

Hi Scott

I've just started using FBSync as I've recently bought an Asus Transformer and needed to sync my reading possition from my GalaxyS. Software is working brilliantly but I have a feature request.

Would it be possible to set up some sort of automaic sync functionality, or maybe a method to trigger a sync when FBReader is closed on your device?

I know an automatic sync would be difficultt as it has to kill the FBR process, but i think if there is a way to accomplish this it would be very useful.

Thanks.

Josh
[Nook Color Themes and Apps] leskerr:
A cry for help!

I have used FBSync reasonably successfully for 6 months, syncing between phone and Nook Color. I was getting some errors, but my books were syncing, and I didn't realise the developer was on XDA!

I am now on a new phone, Xperia Ray, and I am not comfortable with rooting it just yet. I appreciate that FBSync needs root. Is there anything I can do manually to enable me to sync my books on FBReader? E.g. copy files to/from Dropbox (bearing in mind I don't have root on the Ray). In the good old Windows 3.1 days, it would just be a matter of copying a .ini file! Is there an equivalent for FBReader?

regards

Les
[Nook Color Themes and Apps] Delvorak:
Unfortunately the fbreader settings are stored in the data partition, and the only way to alter those settings is with root. I could alter my program to allow syncing books with dropbox without syncing with fbreader...but there isn't much point when there are plenty of other programs that already do that.

Scott
[Nook Color Themes and Apps] Delvorak:
Thanks for your interest.

A number of people have expressed a desire for an automatic sync, but I haven't had time to work on it yet. I hope to be able to soon, but I cant make any promises.

Scott
[Nook Color Themes and Apps] DiamondGeeza:
Hi Scott,

Great little app, another vote for autosync :)

but this is to say, today the connection to your server seems to be unwell, I get invalid account and a long list of oracle errors on both my devices.
[Nook Color Themes and Apps] leskerr:
Thanks for the reply Scott, I suspected this was the case.

I guess I'll be patient, I'm waiting for an OTA update for my X-Ray before rooting.

Really useful app, and autosync would make it a killer!

Best Wishes

Les
[Nook Color Themes and Apps] muchelaguito:
having issue with sync in the last 24 hours

Hi Delvorak

I have been using your app for months without problems, but since yesterday I'm having this issue where I'm unable to sync anymore. Every time I click on sync button, on any of my devices I get a status of Invalid Account, followed by a pop up window giving me apache errors. My account name is muchelaguito@gmail.com

I won't post here my PIN for obvious reasons.

BTW, I forgot to mention this:

I'm using rooted samsung vibrant runing MIUI and Viewsonic G-tab, running HC. Nothing have changed on my devices. I also tried changing the account info to a new email account and failed just the same.
[Nook Color Themes and Apps] DiamondGeeza:
glad its not just me :)
[Nook Color Themes and Apps] muchelaguito:
I guess he may be having issues with his server hosting. AFAIK he uses a friend's server for it.
[Nook Color Themes and Apps] DiamondGeeza:
I looked at the DIY server instructions but not sure if WHS2011 supports php out of the box.
[Nook Color Themes and Apps] muchelaguito:
no idea either. I'm kinda waiting to hear back from the developer. :)
[Nook Color Themes and Apps] DiamondGeeza:
Author details lost on sync

If I download a book from my calibre library to one device and allow it to sync via dropbox the author details are lost on the second device, all books appear in one big group
[Nook Color Themes and Apps] sudaltsov:
This is really great tool! Would it be possible to get synchronization for the desktop versions of FBReader as well? Win/Lin/MacOS?
[Nook Color Themes and Apps] bbilko:
Fantastic tool, all it needs to make it perfect is either a tasker option to trigger an auto sync, or auto sync on FBreader close.

I'd happily pay for either function!
[Nook Color Themes and Apps] endolith:
Sync the data to Dropbox. Then we don't need any server.
[Nook Color Themes and Apps] muchelaguito:
+1 to that. Dropbox please. And if possible, a way to sync with the fbreader for pc. I would pay for those extra features.