Deploy on Android with XML file
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Deploy on Android with XML file
<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>
<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
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!
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
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
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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Deploy on Android with XML file
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?
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
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
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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Deploy on Android with XML file
The other guy thinks you are right! 
Try this at the end: xxoxpcx7ixsvwv3 / naviapp.zip
Greets.

Try this at the end: xxoxpcx7ixsvwv3 / naviapp.zip
Greets.
Re: Deploy on Android with XML file
OK...
http://dl.dropbox.com/s/xxoxpcx7ixsvwv3/naviapp.zip
I'm trying and will report back when I know more.
Mark
http://dl.dropbox.com/s/xxoxpcx7ixsvwv3/naviapp.zip
I'm trying and will report back when I know more.
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: Deploy on Android with XML file
What a helpfull community. I think I made the right choice to start with LiveCode. 

Re: Deploy on Android with XML file
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
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
Thanks for all the help.
I already made a workaround. I instead used a datagrid which works fine!
But still weird that the XML file someway didn't work.
I already made a workaround. I instead used a datagrid which works fine!

But still weird that the XML file someway didn't work.
Re: Deploy on Android with XML file
Hi,
I've tried it one more time with the new stack. It still crashes.
Best,
Mark
I've tried it one more time with the new stack. It still crashes.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode