Quantcast
Channel: CoderzHeaven » IP
Browsing all 3 articles
Browse latest View live

Detect when the ANDROID Screen Goes Off ?

This is the main Java file that extends activity. Create a file named ScreenON_OFF_ACTIVITY.java and place the below code in it. package com.pack; import android.app.Activity; import...

View Article



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. package com.pack; import java.io.IOException; import...

View Article

Localhost for Android Emulator and iPhone Simulator.

If you are trying to access a file (PHP or java) residing in your server in your own machine, then you have to use a specific IP to access it. If it is public, then use the other System’s IP 1. If it...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images