API not working in a standalone
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
API not working in a standalone
Dear All,
I've got an API that calls as expected when part of the IDE but as soon as I build it as a Standalone the API no longer calls.
Even having 'internet' selected in the Inclusions of the Standalone Builder as Richard suggested viewtopic.php?f=7&t=35299&start=15#p201067 has not enabled the API in the standalone.
As a test I also built Richard's sample API stack viewtopic.php?f=7&t=35299#p201058 as a standalone but I think the API is also not calling as a Standalone.
I was just wondering whether its a missing setting issue or something else that I'm overlooking.
Thanks for any help,
Kind regards,
Glenn
I've got an API that calls as expected when part of the IDE but as soon as I build it as a Standalone the API no longer calls.
Even having 'internet' selected in the Inclusions of the Standalone Builder as Richard suggested viewtopic.php?f=7&t=35299&start=15#p201067 has not enabled the API in the standalone.
As a test I also built Richard's sample API stack viewtopic.php?f=7&t=35299#p201058 as a standalone but I think the API is also not calling as a Standalone.
I was just wondering whether its a missing setting issue or something else that I'm overlooking.
Thanks for any help,
Kind regards,
Glenn
Re: API not working in a standalone
Hi.
If the IDE stack works and the standalone does not, it has to be an inclusion. Do you load these manually, or let the builder do it? I load mine manually, though to be fair, I rarely need very many.
Craig
If the IDE stack works and the standalone does not, it has to be an inclusion. Do you load these manually, or let the builder do it? I load mine manually, though to be fair, I rarely need very many.
Craig
Re: API not working in a standalone
Hi Craig,
I initially included 'internet' but to no avail, so I think included everything JSON but again nil, so I then included everything(!) but still no luck...
Not sure what to do next!
Thanks,
Glenn
I initially included 'internet' but to no avail, so I think included everything JSON but again nil, so I then included everything(!) but still no luck...
Not sure what to do next!
Thanks,
Glenn
Re: API not working in a standalone
Glenn.
Do you load these manually, or let the builder do it?
Craig
Do you load these manually, or let the builder do it?
Craig
Re: API not working in a standalone
I tried both Craig, initially letting the Builder do it, and when this didn't work I manually included internet etc. Glenn
Re: API not working in a standalone
Hi Glen,
I tried the sample stack from Richard in the linked forum post, and selectively tried what inclusions were required to get it running.
Try these as your base inclusions
JSON Library
Internet
mergJSON
If any of these were not included the generated exe would not function correctly.
Let us know how you get on.
I tried the sample stack from Richard in the linked forum post, and selectively tried what inclusions were required to get it running.
Try these as your base inclusions
JSON Library
Internet
mergJSON
If any of these were not included the generated exe would not function correctly.
Let us know how you get on.
Andy .... LC CLASSIC ROCKS!
Re: API not working in a standalone
What platform are you building for? Android needs a second internet setting.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: API not working in a standalone
I'm building for Android. Not sure how to access the 2nd internet setting?
Re: API not working in a standalone
In the Android pane in standalone settings there's an Internet permission you need to check. That's in addition to the Inclusions. I fell into the same trap on my first Android build, and the person who helped me said he did too. 

Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com