I'm aiming to connect to a Raspberry Pi from my Android phone over WiFi (WiFi direct isn't supported in my phone). I just need to forward character based commands to an Arduino board and maybe send a video stream back from Raspberry Pi to the phone as a further goal.
I did some searching online and found applications using the URLConnection
to pass the IP and the port while the Raspberry Pi server is running, but are there any other ways? What is the best one for video streaming (my future goal)?