Search found 14 matches

by elmotheelk
Mon Aug 23, 2010 4:32 pm
Forum: Web Interface
Topic: Java remote access and manipulations [Development]
Replies: 7
Views: 5988

Re: Java remote access and manipulations [Development]

You need the Apache Http client to make http calls to the Transmission server. That's available from apache.org. I'm not stating that you can use my class without removing some code our dependencies, but it shouldn't be too much. You'll at least need the Task classes.

A task can be executed with ...
by elmotheelk
Mon Aug 23, 2010 6:27 am
Forum: Web Interface
Topic: Java remote access and manipulations [Development]
Replies: 7
Views: 5988

Re: Java remote access and manipulations [Development]

Yes, some, like the callback interface and the tasks. Take a look at it and if you want some sample code on how too call Transmission functions, let me know.
by elmotheelk
Sun Aug 22, 2010 9:54 am
Forum: Web Interface
Topic: Java remote access and manipulations [Development]
Replies: 7
Views: 5988

Re: Java remote access and manipulations [Development]

I'm the developer of Transdroid, an Android application that connects to Transmission. Since this is written in Java, you might be just fine with using my code to connect. It is available online: http://code.google.com/p/transdroid and http://code.google.com/p/transdroid/source/browse/trunk/src/org ...
by elmotheelk
Tue Jun 16, 2009 12:31 pm
Forum: Web Interface
Topic: [Solved] Adding .torrent data via a metainfo RPC
Replies: 1
Views: 4937

Re: Adding .torrent data via a metainfo RPC

Well, I should have known: the moment I decide to post a support request, I just fix it. Oh well: the problem WAS with the base64 encoding algorithm I used. I change now use this Java class instead, which works fine. Sorry to bother you.

On the bright side: transmission will be the first torrent ...
by elmotheelk
Tue Jun 16, 2009 11:59 am
Forum: Web Interface
Topic: [Solved] Adding .torrent data via a metainfo RPC
Replies: 1
Views: 4937

[Solved] Adding .torrent data via a metainfo RPC

For my Transmission Android client (called Transdroid), I am using the RPC JSON-API. I am trying to add a new feature, allowing to upload the contents of a local .torrent file to the server daemon. (This is used for example on website that have password-protected .torrent files. When you send such ...
by elmotheelk
Tue Jun 16, 2009 11:40 am
Forum: Web Interface
Topic: [Solved] RPC via Java POST request
Replies: 5
Views: 11629

Re: [Solved] RPC via Java POST request

It'll be REALLY cool if you could post a message here
About a working Android remote client? Well, it is available for some time now in the Android Market. Also, see the website at http://transdroid.wordpress.com

I do have an issue at this moment related to adding torrents by base64-encoded ...
by elmotheelk
Tue May 12, 2009 12:36 pm
Forum: General
Topic: Transdroid: An Android RPC client (beta testers wanted!)
Replies: 10
Views: 15952

Re: Transdroid: An Android RPC client (beta testers wanted!)

Hi neokira,

Actually, I just received a similar error... definitely something to take a look at. Are you downloading all files of this torrent?

I'm a bit confused over the different fields in the RPC protocol. downloadedEver, haveUnchecked, haveValid, corruptEver, sizeWhenDone, totalSize ...
by elmotheelk
Tue May 12, 2009 5:56 am
Forum: General
Topic: Transdroid: An Android RPC client (beta testers wanted!)
Replies: 10
Views: 15952

Re: Transdroid: An Android RPC client (beta testers wanted!)

Hi,

Good to hear it works for you. I use Transmission 1.52 (and 1.60) myself on my Ubuntu Jaunty 9.04 machines and my Dutch T-Mobile G1. I will probably translate the app in the future, so maybe then you'll hear from me.

Thanks,
Eric
by elmotheelk
Mon Apr 27, 2009 10:34 pm
Forum: General
Topic: Transdroid: An Android RPC client (beta testers wanted!)
Replies: 10
Views: 15952

Re: Transdroid: An Android RPC client (beta testers wanted!)

Well, I think that bug is fixed. As well as some others. THe new version, which should be much more solid, is available on the new website: http://transdroid.wordpress.com/download/

Want to give it a try?
by elmotheelk
Sun Apr 26, 2009 3:44 pm
Forum: General
Topic: Transdroid: An Android RPC client (beta testers wanted!)
Replies: 10
Views: 15952

Re: Transdroid: An Android RPC client (beta testers wanted!)

Thanks for testing. That's definitely a copy-and-paste bug. I will take care of that.

Currently I am rebuilding the program a bit, but I will write here again when the new version appears.

Thanks again.
by elmotheelk
Thu Apr 23, 2009 1:39 pm
Forum: General
Topic: Transdroid: An Android RPC client (beta testers wanted!)
Replies: 10
Views: 15952

Transdroid: An Android RPC client (beta testers wanted!)

I love Transmission and I love my T-Mobile G1 (Google Android-powered phone), so what could be better than a Transmission client on an Android phone?

Meet Transdroid . (Yeah, the name isn't very original.) It is a native Android app that I am developing, open-source of course. It aims to allow full ...
by elmotheelk
Wed Apr 15, 2009 1:00 pm
Forum: Web Interface
Topic: [Solved] RPC via Java POST request
Replies: 5
Views: 11629

Re: RPC via Java POST request

I solved it!

The problem is that I had to send the JSON object as a stream, not as a name/value pair as used in a BasicHttpEntity. So to stream the JSON string to the server, I needed to use a StringEntity. Here is the fixed code:

// Setup request using POST
httpclient = new DefaultHttpClient ...
by elmotheelk
Sat Apr 11, 2009 2:04 pm
Forum: Web Interface
Topic: [Solved] RPC via Java POST request
Replies: 5
Views: 11629

Re: RPC via Java POST request

Thanks for that tip,

I've looked at the transmission-remote --debug command and it's certainly useful to see what is actually returned. However, in my version (I use the Launchpad PPA 1.51 version) I don't see the request, only the response.

I was thinking, do I need to set some specific encoding ...
by elmotheelk
Sat Apr 11, 2009 12:48 am
Forum: Web Interface
Topic: [Solved] RPC via Java POST request
Replies: 5
Views: 11629

[Solved] RPC via Java POST request

Hi all,

I'm developing a Transmission client based on the RPC protocol. I'm using web POST's with JSON data to communicate. However, I keep getting:
{
"arguments": {},
"result": "no method name"
}

I'm confused, since I am sure I'm sending a name/value pair for both the method and the arguments ...