- This topic has 2 replies, 2 voices, and was last updated 11 years, 10 months ago by davidg.
-
AuthorPosts
-
davidgMemberHi,
This is my scenario, I have a device that I can access on a local wifi network (or over the internet if I open up a port on my router). When I type in the IP address of this device in a browser it displays a webpage showing data on the device. I know this part works great but I want to know if I can use MobiOne to make an app that can access that data and display it in custom format that I set up? Basically there are editable parameters that I would want to be able to edit from inside the app without simply displaying the devices built in webpages.
Here’s my three main questions:
1) Can this be done?
2) How would I set this up through the app designer?
3) Do I need to modify the webpage code of my device?Thanks,
David
support-michaelKeymasterHi David,
OK. So you have a website that will return data (local or remote is irrelevant). You want to develop a mobile app that will query this website.
Question: what is the format of the data, e.g., a formatted html page, xml doc, json, …?
With MobiOne you can layout a UI and then submit a form (basic http form submit via GET or POST) or make custom webservice calls via javascript.
>3) Do I need to modify the webpage code of my device?
I’m not clear on this question. What is the “my device” context you are referring?Based on your feedback will follow up with more details.
davidgMember@support-wayne wrote:
Question: what is the format of the data, e.g., a formatted html page, xml doc, json, …?
>3) Do I need to modify the webpage code of my device?
I’m not clear on this question. What is the “my device” context you are referring?The Format is HTML. I have attached a copy of the HTML page and the javascript file as well. The device I am referring to has an embedded web server that has a webpage. This webpage makes AJAX requests to monitor and control the hardware (I think I said that right). As you can see I can download the HTML and JScript pages and modify them if that is needed.
@support-wayne wrote:
With MobiOne you can layout a UI and then submit a form (basic http form submit via GET or POST) or make custom webservice calls via javascript.
Are these two different methods? Is there an advantage to one way over the other?
Attachments:
You must be logged in to view attached files. -
AuthorPosts