2009/5/6 Jim Ancona <[email protected]>: > I think Android includes a version of Apache HttpClient 4. It's > possible that is causing a conflict with Abdera. I've also been > meaning to give this a try. When I do, I'll report back. > > Jim
I can confirm that it does; specifically this ABI: http://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/4_0_API_FREEZE/ Cheers, James > > On Tue, May 5, 2009 at 8:09 PM, <[email protected]> wrote: >> Haven't tried to port abdera to a mobile java platform but its something I >> want to do. Not sure what's causing the issue you're seeing. - james >> Sent from my Verizon Wireless BlackBerry >> >> -----Original Message----- >> From: lookman sanni <[email protected]> >> >> Date: Wed, 6 May 2009 01:59:58 >> To: <[email protected]> >> Subject: Porting Abdera onto Android 1.0 >> >> >> Hi folks!. >> I'm encountering some issues while trying to built an atom feed and post it >> from an android app. I'm doin it this way: >> >>> Abdera abdera = new Abdera(); >>> AbderaClient client = new AbderaClient(abdera); >>> Entry entry = abdera.newEntry(); >>> entry.setContent("<entry xmlns='http://www.w3.org/2005/Atom'>" + >>> "<title>item</title>" + >>> "<content type='text/xml'>" + >>> "<Item xmlns='http://services/'>" + >>> "<name xmlns=''>" + item.getName()+ "</name>" + >>> "<price xmlns=''>" +item.getPrice()+"</price>" + >>> "</Item></content></entry>"); >>> ClientResponse resp = client.post(ServiceURI,entry); >> >> >> And i always get the following error: >> >>> java.lang.VerifyError: org.apache.abdera.protocol.client.AbderaClient >> >> >> I even tried to comment the Abdera Client initialisation and and the >> client.post lines, but all i got is a null pointer error. Did someone face >> such issues so far? >> Thx; >> -- >> Lookman SANNI; >> >> >
