How to access a remote php file from ANDROID?
For working on the localhost use 10.0.2.2 and for remote use the IP or domain name of the server. The following code does this.
For working on the localhost use 10.0.2.2 and for remote use the IP or domain name of the server. The following code does this.
First, just show an image inside a toast: This method just displays a text toast: And this method displays a Toast that contains both an image and text:
Playing a video file is simple in android. This post will help you. Put your video in res/raw folder. If no raw folder present then create a new folder inside res. The main. xml file. Please leave your comments if this post was useful.