I have to create an app which should work like this:
- as it starts it shows a view with a text field and a button
- user writes something into the text field and taps the button
- the app sends the string to a php script using a POST request
- the php script returns a JSON formatted data to the app
- the app changes the view and show a table with the results received
I can do almost all of this, my only problem are the views.
Which kind of project do I have to use? Navigation or Windows based?
If I use a navigation-based project it shows the table as 1st view, isn't it?
I need to show the text field and the button instead.
If I'm going wrong, how do I show at first the text field and button view and then switch to the table as I receive the results?
- as it starts it shows a view with a text field and a button
- user writes something into the text field and taps the button
- the app sends the string to a php script using a POST request
- the php script returns a JSON formatted data to the app
- the app changes the view and show a table with the results received
I can do almost all of this, my only problem are the views.
Which kind of project do I have to use? Navigation or Windows based?
If I use a navigation-based project it shows the table as 1st view, isn't it?
I need to show the text field and the button instead.
If I'm going wrong, how do I show at first the text field and button view and then switch to the table as I receive the results?