I want to connect the mobile application to the database(mysql). Every time i use the application i have to change the IP address from the android studio. Is there any method that i IP changes automatically? I am new at Android Studio, so please help me..

You left out a critical piece of the question. Where is that database? If it's on the handheld you could try 127.0.0.1. But that would be me guessing what you meant or needed here.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.