Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 04-06-2015, 08:38 PM   #31
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Do not use bash or sh, just use the uploader script itself -- ./dropbox_uploader.sh

As per standard unix script design, it includes a shebang that points at the bundled bash binary.
This is necessary because unix does not include the currentdir in your PATH -- so when you used "bash" it resolved to /usr/bin/bash which is part of busybox which breaks hard.

Also note -- awkward typing unless you make the config files from a computer. usbnetwork+ssh should work, so should running on a linux PC then copying over to the Kindle.

brianinmaine -- why must users create an app? You can publicly release one so people only need to authenticate an account.

Last edited by eschwartz; 04-06-2015 at 08:42 PM.
eschwartz is offline   Reply With Quote
Old 04-06-2015, 09:23 PM   #32
serwera
Junior Member
serwera began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2015
Device: Kindle Paperwhite 1st gen
Hi,

Thanks for your reply @eschwartz, I finally used "./ " instead of "bash .... " and it worked

One more question though, this way I can download added files from dropbox folder, but when I remove an item of course it doesnt "SYNC" and remove the same file from Kindle too.

Anybody managed to do that? ( sync bidirectionally? )

Thanks a lot
serwera is offline   Reply With Quote
Advert
Old 04-07-2015, 12:39 AM   #33
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 457
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
You could add that function yourself? This is all just a few scripts pretty easy to modify to your liking... Try some ideas and let us know exactly where the problem is?

Good luck! It's fun playing!

Also, I included a version of bash in the bin directory of the extension - maybe I got the path wrong there or something? It was a static compile from this site somewhere...

Last edited by brianinmaine; 04-07-2015 at 12:42 AM.
brianinmaine is offline   Reply With Quote
Old 04-07-2015, 04:19 PM   #34
serwera
Junior Member
serwera began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2015
Device: Kindle Paperwhite 1st gen
Thanks a lot Brian, I am not into programming for a lllooong time but i will give it a shot and let you know

At the moment I can at least download from dropbox which makes my life much easier.
serwera is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre, Kindle for PC, Kindle for Android + Dropbox Staked Library Management 7 02-07-2012 10:49 AM
Dolphin - Dropbox - PassDroid Integration MikeGolf Kindle Fire 0 12-23-2011 03:16 PM
Calibre2OPDS, Dropbox and Kindle nickinev Amazon Kindle 9 10-12-2010 02:12 AM
Troubleshooting Kindle DX and Dropbox bchowdhr Amazon Kindle 40 07-15-2010 04:27 PM


All times are GMT -4. The time now is 11:26 AM.


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