Page 2 of 2

Re: Deploy on Android with XML file

Posted: Fri Nov 23, 2012 12:12 am
by Bernard
<Clubs>

<Achilles1894 club="Achilles 1894" Adres="M.L. Kingweg 11" Plaats="Assen" Telefoonnummer="0592-315710">

</Clubs>

looks wrong. I don't bother with xml these days, but shouldn't it be like this:

<Clubs>

<Achilles1894 club="Achilles 1894" Adres="M.L. Kingweg 11" Plaats="Assen" Telefoonummer="0592-315710"></Achilles1894>

</Clubs>

Re: Deploy on Android with XML file

Posted: Fri Nov 23, 2012 12:25 pm
by eddje16
Hi Bernard,

I think you are right. I changed the XML.

However when I emulate the app, it doesn't give me an error, but crashes when I push the button in the app.

The zip file is available on the previous page, may be someone can look at it again?

Thanks!

Re: Deploy on Android with XML file

Posted: Fri Nov 23, 2012 12:30 pm
by Mark
Hi,

When I tested your app on my Android tablet, I made sure that the XML was correct. I even added an XML header. It still crashed.

Kind regards,

Mark

Re: Deploy on Android with XML file

Posted: Fri Nov 23, 2012 12:55 pm
by eddje16
Hi Mark,

Thanks for checking, but it doesnt give me the solution! :(

I also added some screenshots from my standalone settings in the zip file. May be there is something wrong in there?

Re: Deploy on Android with XML file

Posted: Fri Nov 23, 2012 3:06 pm
by Mark
Klaus

I'm posting the original link, which doesn't open the Dropbox website.

http://dl.dropbox.com/s/mzgh30s9p91adhk/voetbalnavi.zip

The other guy... your zip file seems corrupt.

Kind regards,

Mark

Re: Deploy on Android with XML file

Posted: Fri Nov 23, 2012 4:52 pm
by eddje16
The other guy thinks you are right! ;)

Try this at the end: xxoxpcx7ixsvwv3 / naviapp.zip

Greets.

Re: Deploy on Android with XML file

Posted: Fri Nov 23, 2012 6:00 pm
by Mark
OK...

http://dl.dropbox.com/s/xxoxpcx7ixsvwv3/naviapp.zip

I'm trying and will report back when I know more.

Mark

Re: Deploy on Android with XML file

Posted: Fri Nov 23, 2012 6:12 pm
by eddje16
What a helpfull community. I think I made the right choice to start with LiveCode. :)

Re: Deploy on Android with XML file

Posted: Mon Nov 26, 2012 12:37 pm
by eddje16
Bump..

Re: Deploy on Android with XML file

Posted: Thu Nov 29, 2012 8:40 am
by Bernard
My understanding of this thread, is that others have reproduced your problem with the XML file causing a crash on your Android device.

It may be you need to contact Runrev support about this (it could be a bug if it is reproducible).

However, can I just check. Do you really need to be reading/writing XML? Or would some other format work to save/interact with your data? You do have other options. LiveCode is very good at processing structured textual data (using lines, commas, tabs, or even more obscure ASCII characters). You can also simply store data in a stack file. Or write it to a sqlite database on Android. Or you could store it as a JSON file, and use a JSON reader/writer provided by one of the other LiveCode users.

Bernard

Re: Deploy on Android with XML file

Posted: Tue Dec 04, 2012 2:59 pm
by eddje16
Thanks for all the help.

I already made a workaround. I instead used a datagrid which works fine! :D

But still weird that the XML file someway didn't work.

Re: Deploy on Android with XML file

Posted: Wed Dec 05, 2012 1:31 pm
by Mark
Hi,

I've tried it one more time with the new stack. It still crashes.

Best,

Mark