Which web host are you using?
Taifun
Which web host are you using?
Taifun
Your url works in a webviewer, so I am guessing the web component needs to send some headers in order for it to work. I have tested with a user-agent but that didn't help. Will go off and look for other headers that might help.
Thank you,
Yes I wasn't really aware of the Webviewer, when I built the app,(only found it yesterday) if I was I probably would've used it instead. Now the only concern I would have with using the Webviewer would be if if if the is no WiFi available at the time, so as a backup I'd create either a CSV file or something to be uploaded later
Try this as an alternative:
though not sure why it does not return the first part of the message (the sql statement) ?
This seems to be working, I will change the rest of my code to work with your solution and update you soon.
Not that I pretend to fully understand all of it, but what did you change?
Didn't really change anything, just used a webviewer to run the url, and a javascript to return the body of the page.
Can you provide this url, I can do a bit more testing with that, and maybe show the php file so we can see the "inner workings" (hide any credentials)
Hi TIMA12,
I've been quiet, but busy over the last few days,
Your solution worked thank you, even though I dont understand the RunjavaScript
Working with Webview introduced another problem. Do I post it here or start again?
post here
The run javascript simply grabs the html body content and returns it to the app.
Since you've introduced me to Webviewer, I'm using it to display webpages in my app.
The web pages are to be viewed on a tablet and or a monitor, so they have been written to be responsive. This works in a browser but not in the app.
I need this feature to remove a large logo from the tables screen, but make it available in the monitor.
Right now I don't know if it is a limitation in Webviewer, or my lack of knowledge.
The pages are php and they use this section of a css page to hide the logo
@media (min-width: 767px) {
/* Hide the image on tablets */
#optionalstuff {
display: none;
}
}
You would need to specify the image that needs to be hidden in the media query:
<img id="logo" src="mybiglogo.jpg" />
@media only screen and (max-width: 767px) {
#logo {
display:none;
}
}
This is designed computer (big screen) first not mobile first