Synodroid: Manage your downloads with your android handset

Post your questions about using our Download Station here.

Synodroid: Manage your downloads with your android handset

Postby etaix » Fri Apr 09, 2010 5:34 pm

Hello everybody,

First sorry for my English...

I'm currently developping a native application for Android phone: "Synodroid-DS" which will be able to manage your downloads using your android mobile phone.
This application is free and without any Ads.

Before launching it to the Google Market, I'm looking for beta-testers. If you are interested, please send me a PM specifying:
- The version of your Android SDK
- The version of your Disk Station Manager
If you have some knowledge in programmation it's better (but not a requirement) !

My tests have been done with:
- Android 1.5
- DSM 2.2

This first version is only in English (French will be available soon). But as English is not my mother language, I'm also looking for people who can correct my mistakes and also looking for translators (Spanish, Italian, ...)

The features currently implemented:
- Torrent / NZB / FTP / HTTP monitoring
- Configuration of one or more servers
- HTTP / HTTPS connection
- Available actions on files are : pause, resume, delete
- Add torrent file directly from the integrated browser by clicking on a ".torrent" link (ongoing)

The features coming soon
- Display details on a file and edit file parameters (which part have to be downloaded or not, transfert parameters, ...)
- Find a torrent

In the future:
- Any idea are welcome ...

If you are an Android developper and if you want to help, just send me a PM.

Edit 2010/07/13: Synodroid is now available on Google Market !
Image
market://search?q=pname:org.jared.synodroid.ds

Here is some screenshots:
Image
Image
Image
Image


Thanks to everyone who will contribute.
A+
Eric Taix
Last edited by etaix on Thu Jul 15, 2010 9:57 am, edited 4 times in total.
etaix
Novice
Novice
 
Posts: 45
Joined: Wed Sep 03, 2008 8:30 pm

Re: Synodroid-DS

Postby etaix » Mon Apr 12, 2010 1:01 am

Instead of sending me a PM, here is a link to download the first beta release:
http://www.4shared.com/file/erQKHTTu/SynoDroid.html
Adding a torrent feature has been added tonight !
Next feature will be the torrent's detail form.

if you don't know how to install an apk file on your phone, just have a look to Internet or if you really don't find any tutorial then reply to this post.

Please let me know what are you thinking about this application. What is missing ? Issues, ...

Thanks and enjoy.
Eric
Last edited by etaix on Tue Apr 13, 2010 9:57 am, edited 1 time in total.
etaix
Novice
Novice
 
Posts: 45
Joined: Wed Sep 03, 2008 8:30 pm

Re: Synodroid-DS

Postby molassen » Mon Apr 12, 2010 9:49 am

Nice work Eric.
I will test your application soon. I have a HTC Tatoo - Android 1.67.405.6 and DSM 2.3-1141

I would lige to see Percent Completed and ETA if possible :)
Kind regards
Morten lassen, Denmark, http://blog.mola.dk
[DS-209+II|RAID1 @ 2x1.5Tb WD15EADS|DSM 4.2 beta
User avatar
molassen
Novice
Novice
 
Posts: 43
Joined: Tue Sep 22, 2009 8:04 pm

Re: Synodroid-DS

Postby etaix » Mon Apr 12, 2010 2:03 pm

Hi,

The ETA is displayed when your task is in "downloading state" (green down arrow). Unfortunately on my screenshot all tasks are in "seeding state" (orange up arrow).
I don't know if it's possible to show the percent completed of a file in the progress bar. I'll have a look.

The progress bar shows the downloaded percentage. Also I would like to show the uploaded percentage when a task is in seeding state. But with Synology's API I'll have to send a request for each task which is -I think - a bit consuming for the network ! Perhaps I can add an option in the server's parameters ?

PS: In the parameters you can setup the DSM's version. Even if you can choose between DSM 2.2 and DSM 2.3, I'm not sure that DSM 2.3 will work (I didn't test). I think that Synology didn't change their APIs between the 2.2 and 2.3. So try with DSM 2.3 and if it doesn't work, use DSM 2.2
etaix
Novice
Novice
 
Posts: 45
Joined: Wed Sep 03, 2008 8:30 pm

Re: Synodroid-DS

Postby molassen » Mon Apr 12, 2010 10:40 pm

I'm getting an error when i try to install your program "Syndroid-DS could not be installed on this phone" (translated from danish).
Kind regards
Morten lassen, Denmark, http://blog.mola.dk
[DS-209+II|RAID1 @ 2x1.5Tb WD15EADS|DSM 4.2 beta
User avatar
molassen
Novice
Novice
 
Posts: 43
Joined: Tue Sep 22, 2009 8:04 pm

Re: Synodroid-DS

Postby etaix » Tue Apr 13, 2010 9:59 am

Sorry I made a mistake: I forgot to sign the application. I edited the post where you can find the package.
Please download it again and try to install it. It should work now !
etaix
Novice
Novice
 
Posts: 45
Joined: Wed Sep 03, 2008 8:30 pm

Re: Synodroid-DS

Postby molassen » Tue Apr 13, 2010 1:48 pm

Install worked fine now but the "Connect To" dialog show nothing and the Servers section in the Preference menu is empty so I cant add new servers.
Kind regards
Morten lassen, Denmark, http://blog.mola.dk
[DS-209+II|RAID1 @ 2x1.5Tb WD15EADS|DSM 4.2 beta
User avatar
molassen
Novice
Novice
 
Posts: 43
Joined: Tue Sep 22, 2009 8:04 pm

Re: Synodroid-DS

Postby etaix » Tue Apr 13, 2010 3:05 pm

In the Preferences screen use the menu and then tap "Add a server". A new server will be created so tap again on this server and configure every parameters (because currently I don't setup default value).
Also don't forget to setup the "Sort task" value in the main preferences screen.
etaix
Novice
Novice
 
Posts: 45
Joined: Wed Sep 03, 2008 8:30 pm

Re: Synodroid-DS

Postby molassen » Tue Apr 13, 2010 9:42 pm

Sorry - got it. But I have installed my own selfgenerated SSL certificate so your program can't connect as my android hasnt my root certificate. I can try to disable SSL to se if it work, but it will only by temporaily.
Kind regards
Morten lassen, Denmark, http://blog.mola.dk
[DS-209+II|RAID1 @ 2x1.5Tb WD15EADS|DSM 4.2 beta
User avatar
molassen
Novice
Novice
 
Posts: 43
Joined: Tue Sep 22, 2009 8:04 pm

Re: Synodroid-DS

Postby etaix » Wed Apr 14, 2010 8:47 am

Sorry But I didn't understand your problem : do you have any error message ?
Synology's NAS are installed with a self signed certificate with a wrong common name (a browser can't validate that the server is the real one) - Of course you can install your own certificate, self signed or not, to match your server's name.
As by default the certificate is self signed with a wrong CN, and because I didn't find on the web any way to accept a self signed certificate with "HttpUrlConnection" API on android, I had to developp a "TrustAlwaysHttpConnection" (it is the only way I found on the web to have a workaround on this issue - this is a common problem for developpers on Android and there's a lot of threads on internet talking about this problem).

What does it mean ?
It means that even if your certificate is self signed or with a wrong CN, the connection will be accepted! In fact the data exchange is encrypted but Synodroid is unable to know if its really connected with the right server. So it should work! Please if you can explain me how you generate your certificate I could test it on my own server.

PS: On my own server I use the default certificate provided with my server. On Synodroid, I just have to setup on "Connection parameters", the "Protocol parameter" to HTTPS and it works!
etaix
Novice
Novice
 
Posts: 45
Joined: Wed Sep 03, 2008 8:30 pm

Re: Synodroid-DS

Postby molassen » Wed Apr 14, 2010 9:17 am

etaix wrote:Sorry But I didn't understand your problem : do you have any error message ?


It can't connect - either https or http, wan or lan. It says connecting and nothing happens. The url is exactly the same I use in my Android browser and I works fine there.
Kind regards
Morten lassen, Denmark, http://blog.mola.dk
[DS-209+II|RAID1 @ 2x1.5Tb WD15EADS|DSM 4.2 beta
User avatar
molassen
Novice
Novice
 
Posts: 43
Joined: Tue Sep 22, 2009 8:04 pm

Re: Synodroid-DS

Postby etaix » Wed Apr 14, 2010 10:30 am

Did you set every parameters on the server's preference ?
Did you set DSM 2.3 or DSM 2.2 ? As I told you I'm not sure that I've implemented a DSM 2.3 protocol! It was for a test purpose (I have to remove it or just use the same protocol handler)

If you can send me your URL in a private email, I'll be able to test it with a wrong user/password and normally I'll will receive a "Wrong user or password" message.
etaix
Novice
Novice
 
Posts: 45
Joined: Wed Sep 03, 2008 8:30 pm

Re: Synodroid-DS

Postby etaix » Wed Apr 14, 2010 10:42 am

For sure the DSM 2.3 protocol is not yet implemented !!!
Code
Code: Select all
        public final static DSMHandlerFactory getFactory(DSMVersion versionP, SynoServer serverP) {
                DSMHandlerFactory result = null;
                // Depending on DSM version
                switch (versionP) {
                  case VERSION2_2:
                        return new DSHandlerDSM22Factory(serverP);
                }
                return result;
        }


If you use DSM 2.3, the code will return a null reference which will generate a null pointer. Even if the application does not crash, none message is displayed and the connection dialog is not closed!
I just tested on my own server this usecase, and I've got the same symptom... infinite connection => Sorry, please use DSM 2.2
etaix
Novice
Novice
 
Posts: 45
Joined: Wed Sep 03, 2008 8:30 pm

Re: Synodroid-DS

Postby molassen » Wed Apr 14, 2010 10:07 pm

DSM 2.2 did the trick :) I even can connect using HTTPS with my own certificate.
Kind regards
Morten lassen, Denmark, http://blog.mola.dk
[DS-209+II|RAID1 @ 2x1.5Tb WD15EADS|DSM 4.2 beta
User avatar
molassen
Novice
Novice
 
Posts: 43
Joined: Tue Sep 22, 2009 8:04 pm

Re: Synodroid-DS

Postby jordis » Thu Apr 15, 2010 9:54 pm

Hi etaix
When I try to install you app, I get a security warning (the usual one) saying that your application wants to have access to:
- Network communication (full Internet access)
- Storage (modify/delete SD card contents)
- Phone calls (read phone state and identity)

While I can understand the two first things, I'm not sure about the third: Phone calls (read phone state and identity)
Why would your application want to have access to phone calls?

salut
jordi s
jordis
Novice
Novice
 
Posts: 41
Joined: Fri Jul 31, 2009 9:41 pm

Next

Return to Download Station

Who is online

Users browsing this forum: theshepherds and 5 guests