maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Dropbox for N900? (https://talk.maemo.org/showthread.php?t=42457)

redi 2010-01-27 20:17

Dropbox for N900?
 
Is anyone working on getting Dropbox working on Maemo5? If not, there is a Ubuntu client atleast and it's, afaik, coded in Python, so would not be impossible to port I reckon? Found a thread about it dating back to pre-maemo 5 time ( http://talk.maemo.org/showthread.php?t=32334&page=2 ), but seems like it's dead. I'd love such functionality on my N900, but porting is way out of my level of expertise - so this is a polite 'I wish someone would do it' -poke on the matter. :)

acano 2010-01-27 20:24

Re: Dropbox for N900?
 
I was thinking about that. But I think that first would be also nice to port files.ovi.com.

Please, if some one opens such a project on garage. please, let me know.

maluka 2010-01-27 20:28

Re: Dropbox for N900?
 
files.ovi.com works on the N900

acano 2010-01-27 20:31

Re: Dropbox for N900?
 
thanks but I think only if you want to se files from another windows computer, but not in the oposit way. does not?

daddeddad 2010-01-27 20:46

Re: Dropbox for N900?
 
I would love to see dropbox on my n900 since I use it to sync my notes and stuff on all other devices. But when it comes to the linux-client I think there are two things to keep in mind.

- I think it is quite integrated in nautilus.:confused:
- It needs the closed source deamon, not compatible with the n900 arm-processor.

A more realistic scenario would be to port ubuntu one, I heard they are working on a windows client at the moment so it would be a good thing for windows users too.

But the ball is in the hands of the folks at dropbox. I do not think that it would be too much work for them, mostly compiling the deamon for the arm-processor. So if the community wants to work on this end I think it would be a speedy process.

But, I have no coding skills wse. :(

deter3 2010-01-28 01:39

Re: Dropbox for N900?
 
sam here , really wish dropbox can be ported to N900 .

MaxiKana 2010-01-28 07:02

Re: Dropbox for N900?
 
Bump for awesome!

plaban 2010-01-28 07:08

Re: Dropbox for N900?
 
It will be great.I use Dropbox regularly.

jedi 2010-01-28 09:25

Re: Dropbox for N900?
 
+1 for Dropbox support :)

jaxxstorm 2010-01-28 09:31

Re: Dropbox for N900?
 
Quote:

Originally Posted by redi (Post 498136)
Is anyone working on getting Dropbox working on Maemo5? If not, there is a Ubuntu client atleast and it's, afaik, coded in Python, so would not be impossible to port I reckon? Found a thread about it dating back to pre-maemo 5 time ( http://talk.maemo.org/showthread.php?t=32334&page=2 ), but seems like it's dead. I'd love such functionality on my N900, but porting is way out of my level of expertise - so this is a polite 'I wish someone would do it' -poke on the matter. :)


The mian problem with Dropbox's linux support is that it relies fairly heavily on Nautilus :mad:

gusch5 2010-01-28 09:32

Re: Dropbox for N900?
 
+1 for Dropbox support :)

2bli2 2010-01-28 11:00

Re: Dropbox for N900?
 
Quote:

Originally Posted by jaxxstorm (Post 499058)
The mian problem with Dropbox's linux support is that it relies fairly heavily on Nautilus :mad:

Writing a client which doesn't rely on Nautilus should be fairly trivial - the big problem is the Dropbox daemon (the part that actually does the syncing) which, as daddeddad mentions, is closed source and not available for ARM.

slavikko 2010-01-28 11:08

Re: Dropbox for N900?
 
I think one fairly good approach to getting this would be voting for dropbox to create the client here:
https://www.dropbox.com/votebox/80/maemo-linux-client

as mentioned in the previous thread about this:
http://talk.maemo.org/showpost.php?p...0&postcount=10

Midget010 2010-01-28 11:21

Re: Dropbox for N900?
 
+1 for dropbox support.

darlomrh 2010-01-29 19:04

Re: Dropbox for N900?
 
+1 dropbox.

As a side note, a work colleague mentioned that a dropbox client was coming to the iPhone.

Doesn't the N900 run the same processor as the iPhone?

RogerTHAcctant 2010-03-01 03:29

Re: Dropbox for N900?
 
I'm all for Dropbox

+1 for support

I actually prefer Gladinet, but if it's more difficult or impossible, I would be happy with drop box.

excelar8 2010-03-01 06:19

Re: Dropbox for N900?
 
i'd vote for this too, i use dropbox on a daily basis

borghal 2010-03-01 07:00

Re: Dropbox for N900?
 
voted @dropbox +1

jrinconr 2010-03-01 19:49

Re: Dropbox for N900?
 
+1 for dropbox support. :D

AlMehdi 2010-03-02 21:57

Re: Dropbox for N900?
 
yep.. me too wish for dropbox

biggzy 2010-03-17 11:30

Re: Dropbox for N900?
 
Would love a Dropbox app, i use it via the N900s browser at the mo to upload stuff to share mainly, works great but a dedicated app would be better.

x61 2010-03-23 22:41

Re: Dropbox for N900?
 
It really would great to have a dedicated app for this. I am sure someone is working on it somewhere...

rmerren 2010-03-24 02:56

Re: Dropbox for N900?
 
I love dropbox--I use it to share between my linux laptop and windows desktop--but I don't want the full implementation on my N900--I don't want all of my files constantly syncing on the phone. I would like to see some kind of selective interface that lets me browse, download, upload, etc.

My favorite use of dropbox, by the way, is that I keep a Keepass file on it. I can access all my username/password combos from either computer and keep it up to date as needed. And I download the file to my N900 using the dropbox web page so I always have the passwords on the go. There is a KeepassX app for the phone that works well, though it is not optimized for the small screen.

cesarcesar 2010-03-25 12:53

Re: Dropbox for N900?
 
+1,000,000 for dropbox!!

andygee 2010-03-26 14:42

Re: Dropbox for N900?
 
Another vote for Drop Box on the N900

Midget010 2010-03-26 16:33

Re: Dropbox for N900?
 
Is there any news of anyone developing anything? I'd really like an app for this :D

Frank Banul 2010-03-26 18:07

Re: Dropbox for N900?
 
As much as I like Dropbox, there's not currently a public API for access. The mobile website isn't bad though. And the full web site works as well.

One alternative would be to look at the Google Docs API since they've opened that up to any file type now.

Frank

paco758 2010-05-16 18:17

Re: Dropbox for N900?
 
1 Attachment(s)
It's not a solution, but I wrote a script that would just invoke rsync to sync the files in my Dropbox folder on my laptop to the same on the N900 and vice versa. It works fine as a stopgap on a Linux box.

Just make sure rsync is installed and this should work for you as well. If you have your Dropbox folder in a directory other than ~/Dropbox, just change that. It doesn't mess up any symlinks that you have in the Dropbox folder either because of the -k switch on the second rsync.

Here is the script:

Code:

#!/bin/bash

### Settings ###
DIRECTORY='/media/Nokia N900/'
REMOTE='/media/Nokia N900/.documents/Dropbox'
LOCAL=$HOME/Dropbox
ORIGINAL_IFS=$IFS
IFS=$'\n'

### Script ###

if [ -d "$DIRECTORY" ]; then
        rsync -vauLP $LOCAL/ $REMOTE
        rsync -vauKP $REMOTE/ $LOCAL
fi

Just name it whatever you want (ie - n900-dropbox-sync.sh) and make it executable (chmod +x).

I've also attached the script.

kyros 2010-06-21 15:10

Re: Dropbox for N900?
 
At the Dropbox Homepage there is a voting area for all registered users to collect votes for a feature request.
So here is the link to the vote for a Dropbox Maemo client: https://www.dropbox.com/votebox/80/maemo-linux-client

Please everyone who has a dropbox account go to this link and vote because there are only a few requesting votes left to trigger a freature request.

Dirkjl 2010-06-21 15:26

Re: Dropbox for N900?
 
Very good idea. I'm going to vote for this.

<Link removed. Sorry. No reflinks.>

kyros 2010-06-21 16:03

Re: Dropbox for N900?
 
Hey Dirkjl come on!

If you are posting your own referal code here in the board it#s just for collecting new 250 MB per each new registered user over your referal.
Please put this out - it's not the place here for such activities.

kyros 2010-06-29 15:54

Re: Dropbox for N900?
 
Quote:

Originally Posted by kyros (Post 723724)
At the Dropbox Homepage there is a voting area for all registered users to collect votes for a feature request.
So here is the link to the vote for a Dropbox Maemo client: https://www.dropbox.com/votebox/80/maemo-linux-client

Please everyone who has a dropbox account go to this link and vote because there are only a few requesting votes left to trigger a freature request.

Still some votes left until it's gonna be enough for a feature request.
Please if someone has a dropbox account log in to the voting page and vote for it so this can be finished successfully.

siriuz 2010-07-03 20:11

Re: Dropbox for N900?
 
https://www.dropbox.com/developers

it looks like dropbox has decided to release their API =)

dscobsct 2010-07-03 20:22

Re: Dropbox for N900?
 
now were talkin :)

TheSov 2010-07-04 07:02

Re: Dropbox for N900?
 
http://bitbucket.org/dropboxapi/dropbox-client-python who wants to get this party started?

jonnenau 2010-07-16 04:30

Re: Dropbox for N900?
 
Me I guess :) Didn't really notice erquest from these forums. But I did find a vote from dropboxes site about people requesting it for maemo 5. We'll took me a bit under two weeks and I have a quite ready client now.

Latest screenshot:
http://dl.dropbox.com/u/3589544/Drop...-16-7-2010.png

What the dropbox API does not provide:
Note that dropbox does not synch automatically on mobile devices. The mobile API can be abused like this but they will ban you out. This means when you push 100mb from your PC to dropbox. You wont be syncing that to your mobile hard drive once using a mobile dropbox client. This would be grazy as people have 2-100gb storage in their dropbox accounts and your drive on the phone would end quickly.

What the dropbox API does provide:
Nice way of building your ui view with metadata fetches about folders and items. You make these metadata requests as the user navigates deeper into his folder hierarchy. Once you want something to your device, you can simply fetch it.

DropN900 client capabilities:
  • Web auth with the maemo os browser. You only give your email and password to the dropbox website, not the app, it wont be stored anywhere. I recieve a access token and store that, which I can reuse on next sessions so you wont have to login but once. Of course when you want you can reset auth and login with another accounts.
  • Upload and download files.
  • Rename and delete files/folders.
  • Create new folders.
  • Image file thumbnail preview, loading animations and showing results for actions whether they succeeded or failed.
  • Threaded networking (non-bloking) so you'll have a smooth user experience while network I/O is happening. This is done with normal python threading.Thread:s. This had to be done as the dropbox python API was blocking, so every time i waited for a web response my ui freezed.

Restrictions, but might be temporary:
My app has a "sandbox" level access to dropbox. This means once you accept that my app can use your account data (in the first login via my app). Your dropbox root will get a new folder "DropN900". My app/you have free roam in this folder.

I have requested the full "dropbox" access level so I could provide the same as the dropbox made PC and mobile clients do. I can now already fetch metadata and give you listings from the root but there is little point if you cant interact with the files. Lets see how long they will take to answer my request and if they grant me it. It's already a handy app even with only sandbox access.

Can you get it?
Sure. This is my first real N900 app and would like to share it. But there are few things left on blocking this.

#1 I'm waiting for a response from dropbox how I can make my app key/secret hidden. They are now in a config file as they want (the api code reads this and sets up the lib). Anyways, this might not be a problem with iPhone (not sure) but on the N900 anyone can travel to my app folder with a terminal and read my keys. This could potentially lead to people using my keys and pose as my applications, making API calls with my app credentials. Lets see what they tell me. I guess it might be safe to leave it for people to see, if someone uses them they still have to make the user login and grant access to the app that would be using my keys. I guess they might have figured it like that. But as far as i understand these keys should be kept private :P I cant hide it to compiled code either as its python, or tell me if im wrong as I am no python expert.

#2 I will have to dive into python packaging to get this into the extras-devel repos. I have my main app and then python deps that I need. Please let me know if you can help with the deps :) I tried to do this once already with PyPackager, but meamo web helper said my .changes file was a fail.

Python 2.5 deps are:
- poster http://pypi.python.org/pypi/poster/0.6.0
- oauth http://pypi.python.org/pypi/oauth/1.0.1
- dropbox-client-python https://www.dropbox.com/static/devel...on-BETA.tar.gz

Technical details:
- python
- PyQt4 for UI
- dropbox REST API is HTTP GET/POST + json

Source code:
http://github.com/jonnenauha/DropN900

Please note, I am not a python expert. I code C++ for a living and am not an expert in that either :) If you have notes about the code please fill me in. Also read the readme.txt should explain many things and has my contact info for irc/email. I'll read this forum of course too.

Happy syncing as dropbox folks would say,
Jonne Nauha

filologen 2010-07-16 08:05

Re: Dropbox for N900?
 
Jonne, this is really a great initiative! Looking forward to try this in the weekend:-)

jonnenau 2010-07-16 14:23

Re: Dropbox for N900?
 
As said what I have in github is not enough to run the app due to the app keys not being there, even if you would manually get all the deps. So there is no sane way to run this app yet.

I already got some email about py packaging help. Lets see how it goes, but I'm going to holiday for 4 days to enjoy the country side. After this i'll make my app public for all to test :)

raily 2010-07-20 19:39

Re: Dropbox for N900?
 
I would love to see this in extras-devel repository. If you can package a deb file then you can upload it to the repo. Then you will get a lot of feedback on bugs an features...

andrewfblack 2010-07-20 19:45

Re: Dropbox for N900?
 
take a look at py2deb or pypackager all you do is drop you source in a folder on your N900 then modify a small script run one command and bam! a brand new source package to upload to extras.

Edit: Look here for more info. http://khertan.net


All times are GMT. The time now is 21:41.

vBulletin® Version 3.8.8