[android-developers] Creating data files as compiled (binary) xml

2012-12-06 Thread Simon Giddings
I am developing a tablet application where I want my data files to be 
stored as compiled xml.
The application will not, itself, be creating these files.
These files will be added at a later stage - the user will be able to 
purchase them separately.

So, my question is, how can I create the compiled xml in a format which I 
can then read within my application ?
Is this even possible, or will I need to create my own compiler ?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Creating data files as compiled (binary) xml

2012-12-06 Thread Mark Murphy
On Thu, Dec 6, 2012 at 11:27 AM, Simon Giddings mr.s.giddi...@gmail.com wrote:
 I am developing a tablet application where I want my data files to be stored
 as compiled xml.

Why?

Furthermore, what do you consider compiled xml to be?

If you are referring to the binary XML format created by the build
process for XML resources, you would have to root around in the source
code to find both the compiler and their version of the
XmlPullParser that reads it in, and modify those to suit your needs.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in DC: http://marakana.com/training/android/

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Creating data files as compiled (binary) xml

2012-12-06 Thread Simon Giddings
Hi Mark,

Why - to create my data files - sheet music data - and distribute them in 
a fairly protected manner.
Yes, I am indeed referring to the xml binary format used by the build 
process.

On Thursday, 6 December 2012 17:33:40 UTC+1, Mark Murphy (a Commons Guy) 
wrote:

 On Thu, Dec 6, 2012 at 11:27 AM, Simon Giddings 
 mr.s.g...@gmail.comjavascript: 
 wrote: 
  I am developing a tablet application where I want my data files to be 
 stored 
  as compiled xml. 

 Why? 

 Furthermore, what do you consider compiled xml to be? 

 If you are referring to the binary XML format created by the build 
 process for XML resources, you would have to root around in the source 
 code to find both the compiler and their version of the 
 XmlPullParser that reads it in, and modify those to suit your needs. 

 -- 
 Mark Murphy (a Commons Guy) 
 http://commonsware.com | http://github.com/commonsguy 
 http://commonsware.com/blog | http://twitter.com/commonsguy 

 Android Training in DC: http://marakana.com/training/android/ 


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en