• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

android how to achieve XMLEncoder and XMLDecoder functionality

Hi All,


In Java "XMLEncoder" functionality is to write entire data into a object format.

In Java "XMLDecoder" functionality it to read data in a object format.


But, In Android XMLEncoder and XMLDecoder functionality not supported. Is there any alternative for that XMLEncoder and XMLDecoder classes in Android.

Here I used XMLSerializer and XMLPullParser functions for that construction XML and parsing XML. But these Interfaces supports for to write/read the data i.e hard-coded only. I want to write/read data in a Object format.


Please help me. I need Urgent.


Thanks,
mikethelearner.
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones