Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8854055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T13:47:46+00:00 2026-06-14T13:47:46+00:00

I am writing android app – the client and java server. I am using

  • 0

I am writing android app – the client and java server. I am using restlet library. When I am running an app on my phone I get following errors in logcat:
11-19 13:43:53.665: E/dalvikvm(10130): Could not find class 'java.beans.XMLDecoder', referenced from method org.restlet.representation.ObjectRepresentation.<init>

I suppose I have to change object serialization method (I would prefer to use Java native serialization, as it’s like that on the server) but I have no idea how to do it.

The code in android app:

ClientResource cr = new ClientResource(
    "http://192.168.1.102:8182/speedLimit"
);

resource = cr.wrap(SpeedLimitsResource.class);
coords.setLatitude(55);
coords.setLongtitude(16.5);
pack = resource.retrieve(coords);

pack and coords are instances of Transport classes shared between the client and server. They implement Serializable, they are in the same package.

How can I make it work?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T13:47:47+00:00Added an answer on June 14, 2026 at 1:47 pm

    Make sure you use android edition for restlet: http://www.restlet.org/downloads/stable

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing an android app that sends an image to a server running a
Im writing an android app that connects to my own Jersey rest client. HTTP
I'm writing an Android app for work that shows the status of our phone
I am writing an Android app that talks to a server. The server has
I am writing an Android App in which I am using Spinner Control. I
I am writing an Android app which logs into my company's server (SSL) and
I'm writing an android app just to get familiar with the OS and API.
I am writing an Android app that talks to a Google App Engine server.
I am writing an android app using the GPS location provider in a Service
I'm writing an Android app using the NDK and NativeActivity. My app depends on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.