That's a good thing to do, but he'll have to rewrite his code. It
would be wise to test that his existing code is working as a baseline,
and check it in to revision control, and write a few unit tests,
before doing that.
Unless his code is trivial, of course. Or his head gets too bloody
from pound
No idea off the top of my head, other than that something you think is
true probably isn't. Not exactly a helpful observation...
But why not try instead of , and verify that
you're getting that. They're equivalent, but going to even simpler XML
may lead you to discover the problem by getting you
Sure. Design some XML language -- the one Google used for layouts
would work but is rather complex and not focused on your particular
problem -- and I think you'd have to reimplement it to use non-
compressed XML. There's probably no need to give the server the
ability to design completely arbitrar
Put it back in res/xml/. Use getResources().getXml() to get an
XmlPullParser on the file.
On Thu, Jul 1, 2010 at 2:47 PM, RespeckKnuckles (John Licato)
wrote:
> Just in case the element was the problem, I tried this xml
> code instead:
>
>
>
>
> and still didn't work.
>
> On Jul 1, 12:46 pm, "
Just in case the element was the problem, I tried this xml
code instead:
and still didn't work.
On Jul 1, 12:46 pm, "RespeckKnuckles (John Licato)"
wrote:
> Hey guys,
>
> I put the xml file into the res/raw directory and it works better, but
> still not working completely. Here is the code I
Hey guys,
I put the xml file into the res/raw directory and it works better, but
still not working completely. Here is the code I'm using:
InputStream toParse =
getResources().openRawResource(R.raw.test); //
file is in res/raw/test.xml
DocumentBuil
Hi John,
Can copy here code to know how you are reading fron input stream.
Thanks in advance.
On Jul 1, 12:36 am, "RespeckKnuckles (John Licato)"
wrote:
> Hey guys,
>
> I have some xml files with a custom format (based on the scxml
> specifications) that I want my program to read. I've alre
I'm not sure if i understand the question correctly. My need is
slightly different for dynamic screen generation.
Hi All,
I'm dealing with a problem you guys might not have faced earlier.
I'm having a use-case in my Android application where the actual
screen that i want to show to user is not s
Don't put it in the xml/ directory. That does indeed get compiled into
a binary format, and you'd need to use the corresponding API for
reading it.
(Or you could recode to use that API, and gain efficiency and space --
but first, you'd like to test the code you've already written, right?)
So put
9 matches
Mail list logo