title: Using JAXB with Google Android
body: <p>I need to parse the java-objects which are passed through xml.
  I want to use for these purposes JAXB framework, because I have pre-annotated (using JAXB) java-class.</p>
  
  <p>Is this possible in principle?</p>
  
  <pre><code>InputStream input = entity.getContent();
  JAXBContext jc = JAXBContext.newInstance(new Class[] {Response.LoginResponse.class});
  Unmarshaller un = jc.createUnmarshaller();
  LoginResponse response = (LoginResponse)un.unmarshal(input);
  </code></pre>
  
  <p>in line 4, I have a warning: "unable to resolve static method 282 JAXBContext ... "
  and then VM crashes</p>
  
  <p>Any ideas on how to solve this problem?</p>