Compiling the 2cloud Android app

6 views
Skip to first unread message

Steltek

unread,
Jul 17, 2011, 8:31:38 AM7/17/11
to 2clou...@googlegroups.com
Hello,

I'm currently trying to compile the 2cloud Android app to try some OAuth hacks I found on the net (registering an intent for a bogus protocol like 2cloudoauth://callback and using that...) but I find that I can't even get the vanilla app to run. It compiles fine, but immediately force closes when launched (both in the debugger/emulator and on my phone).

What I've done:
1. Download the 2cloud app code from Github (https://github.com/2cloud/android2cloud/tree/rewrite)
2. Create a new project in Eclipse (from source directory, pointing the directory to the extracted sources and selecting the Android 1.6 SDK as target)
3. Include the two signpost jars from the lib directory in the build path.

There must be something I'm missing or have done wrong. Anybody got an idea?

- Michel

Paddy Foran

unread,
Jul 18, 2011, 1:15:27 AM7/18/11
to 2clou...@googlegroups.com
Hi Michel,

Sorry, this is my fault. The Github is not up to date with the latest software. That exists only on my laptop. The reason I haven't committed it to Github yet is because the source code contains our OAuth Consumer Secret and the Private Key for our Android Market account. I've been avoiding committing code with these in it, because that presents a security risk.

I'll be removing them from the code tonight and pushing it to Github, probably within the next hour or so. I'll update this thread when I push it live. Sorry for the confusion and the Open-Source-Fail.

Thanks,
Paddy

Steltek

unread,
Jul 18, 2011, 3:46:15 AM7/18/11
to 2clou...@googlegroups.com
Ah, that explains it. It's understandable that you don't want the OAuth credentials in there. If you do have some time to spare, and I know you usually don't, it might come in handy to write a release script that sifts out these things before initiating a commit. (That's usually what I do once I had to remove credentials manually a few times. ;) )

Anyway, at least I know why the thing won't run and can let off the 'I must be crazy' theory.

- Michel
Reply all
Reply to author
Forward
0 new messages