Android Tutorial IPInfo - B4A Library source code

Sometimes, we need certain things to be done but there are not APIs available, so what we do? we create our own.

I always emphasize that we need to use our imagination and be resourceful, the following code is just a basic example on how to accomplish that.

This class has a simple function, get info based on the IP and also perform a speed test, as you will see in the attached source code, I'm using several resources but packaging everything into a nice class.

Features:

- Get external IP, latitude and longitude, ISP, and more.
- Country information based on IP.
- Speed test.

You can modify, improve, extend this code as you wish.

Have fun.
 

Attachments

  • IPInfo_Lib_Source_Code.zip
    13.8 KB · Views: 596
Last edited:

victormedranop

Well-Known Member
Licensed User
Longtime User
I Dominican republic we cant use IP location. because their location is always on the carrier.
it's a shame.

victor
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…