Reputation: 12566
I'm trying to use this tutorial on Restlet for Android, and can't get the sample application, linked to at the bottom of my link's page to run.
There are major issues in a file called IContactService.java
, located at /src/org.restlet.example.android.service
, but the file has the following header, so I'm not sure how to resolve them:
/*
* This file is auto-generated. DO NOT MODIFY.
* Original file: /mnt/sda5/data/workspace/android/androidRestlet/src/org/restlet/example/android/service/IContactService.aidl
*/
Does anyone have any experience getting Restlet to work with Android? Or, are there any better frameworks / tutorials out there?
Upvotes: 2
Views: 4198
Reputation: 10793
Use Restlet framework, it has "Edition for Android" version.
Upvotes: 0
Reputation: 11
Sorry for the late response, I also had problems with the tutorial you mentioned, so my approach was to start with a basic Android tutorial (actually from a printed book - Apress's Beginning Android 4 and then I was able to incorporate the Restlet parts by following Manning's Restlet in Action (available as a PDF now with the printed copy coming in a few months). I have "something" "working" now :).
RB
Upvotes: 1
Reputation: 1168
Try this REST client instead, I've used it a lot - by far the best one for Android development.
http://www.springsource.org/spring-android
Upvotes: 3