Hey there I know this is real newbie of me. I just don’t know anything regarding this program, but I am trying to make an extremely simple application and I could have it finished if I just new the absolute basics. Maybe someone here could help me out, im sure it would be easy as pie.
I am basically trying to connect to a server on the local network through the APP. On the local network. The page I myself want to load would be http://192.168.0.102/addons/remote/?noMenu=1. Problem is, not everyone who I will be letting use this app will have their server at 192.168.0.102. If I set that as the default, obviously people with a different IP would fail. If I was writing the program for my own use I could simply use that button to go to that URL directly but I figure it might be useful to some other people too, so I am trying to make it user friendly as well, without making them change their server IP’s and what not.
I am trying to make a user input text box where the user can type in the IP of the server and underneath that text box, I created a button with the “go to url” option selected. What I am trying to do is store the input into a variable and when I click the button it does:
http://SERVERIP_THAT_USER_WROTE/addons/remote/?noMenu=1 -> Once they click GO underneath, it will use the built in browser to pull up the page and voila it will work.
This is how it looks, don’t laugh, once I figure out the code I will make it look badass. I attached the photo.
If theres anyone that could show me how to pass the variable from textField1 into the URL when I click the button underneath, the App would be complete and a LOT of people would be happy. Thanks so much dudes. I will be honest, besides for this, I will probably not be creating any iPhone applications ever again lol, it’s just not in my nature.
Thanks again and have a good day (:
Attachments:
You must be
logged in to view attached files.