android - How do I have an app interact with a server inside an intranet? -


i'm start development on app designed communicate information server (hosting web interface , storing data) inside intranet. i've had large deal of programming experience i'm wholly new mobile app development, whole thing learning experience me.

i guess have more 1 question:

  • if intranet offers wifi, easy enough see server existing on same intranet?
  • assuming phone , server part of same intranet network, general mechanisms available me have them communicate?
  • if intranet not available through wifi, what's best option? (maybe force wifi setting router?)

p.s. i'm final year undergrad developing app+web-app real organisation, gentle me :)

1) if intranet offers wifi, you're go, http request routed correct local boxes.

2) http requests, treat you'd treat external site.

3) if don't have wifi, consider setting vpn , in app guide user through setting vpn. or, set external server (outside intranet) acts proxy intranet server, requiring sort of auth before forwards requests you. acting gate keeper.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -