AuthExample Android App created for the tutorial posted on lucatironi.github.io.
In this three-part tutorial you'll learn how to build an authentication API that can allow external users to register, login and logout through JSON requests, with Ruby On Rails.
The second part of the tutorial will let you code an Android app that uses the JSON authentication API developed in the previous tutorial.
I wanted to add some more features to the Android app and its Rails backend. Now the user can create and complete tasks just like in a real ToDo mobile application.
- Clone or download the project
- Import it in your Eclipse's workspace: "File > Import > Existing Android Code Into Workspace"
- Browse for the directory and check "Copy projects into workspace"
- Download ActionBarSherlock
- Extract the zip file and import it as a library: "File > New > Other ... > Android Project from Existing Code"
- Navigate the ActionBarSherlock directory and select the "actionbarsherlock" dir.
- Ignore the warning/error that may arise and right-click on the new project and select "Refactor > Rename" and rename the project "ABS" (or whatever you like).
- Right-click on the AuthExample project and select "Properties": click on the "Android" section and add the just added ABS library in the "Library" sub-section.