Drupoid

Embed Size (px)

Citation preview

Posting images to a Drupal site from your mobile phone.

Run into an interesting blog post

Bare-bones but working prototype. Not in the Android market, you have to 'build' the app yourself.

I want to try this, so lets see how far we can get with this

The code needed is on Github.com

Android app to send pictures
Drupal module to receive and store said pictures as content items.

Drupal part is easy

Install the module, fill out some settings.

Now, to turn this code from github into a working, installable Android app

Application source code lives on Github. Download it.

Specific tools are needed to turn the source code into an Android app you can install on yer phone:

Eclipse
Android SDK
ADT plugin for Eclipse to use that SDK

Download, install Eclipse IDE

http://www.eclipse.org/downloads

Install extra libraries, plugins, whatnot

Not only the SDK, but also the ADT plugin, sure!

http://developer.android.com/sdk/index.html

http://developer.android.com/sdk/eclipse-adt.html

http://developer.android.com/sdk/eclipse-adt.html

Explains how to set things up within Eclipse

With everything in place, import the source code as a project in Eclipse

Look up how to 'build' this thing

Building and running: http://developer.android.com/guide/developing/building/index.html

Publishinghttp://developer.android.com/guide/publishing/app-signing.html#ExportWizard

A lot going on in the right-click menu

My phone won't even mount on OS X anymore, so Dropbox to the rescue.

It installed! I got it working!

The UI was really bare-bones!

Discussed this a bit with the developer over IRC.

He asked me to put my suggestions in an issue on github.

I did.

One day later the suggestions were implemented.

http://realize.be/posting-images-android-drupal

https://github.com/swentel/Drupoid

http://developer.android.com/sdk/eclipse-adt.html#installing

http://developer.android.com/guide/publishing/app-signing.html#ExportWizard


---

Posted with Drupoid:

http://www.yoroy.com/fragments

---

Enjoy!

Roy Scholten

@royscholten

www.yoroy.com