Hello all.. This is a simple code snippet to enable WI-FI in android programatically in android. Note : Make sure to add the permissions in the manifest file. These are the permissions. Please leave your valuable comments on this post.
Hello everyone, this is a simple example showing how to remove a view in android that is created using your xml file. This is the xml file that contains a TextView Here is the java code for removing this view After running this program you will not see the TextView that was in your layout file. Please leave… Read More »
Hello all.. In today’s tutorial I will show you how to open the wifisettings in android programatically. This code comes handy when the user have not enabled the wifi and you want the user to enable it for your application to work. Here is the code for that. Here is the layout xml- main.xml
Hello everyone today i will show you how to create a splash screen in android. This is one of the simplest ways to create a splash screen however there are another ways to create the splash screen. Lets look at the code. We need two layouts one for the splash screen and another for the first screen that… Read More »
Hello everyone, Today I will give you a simple tip on how to keep your screen on While your application is running in android. In Real devices the problem is you will loose some of the values in your variable when your device goes to sleep mode. To prevent this what we can do is to prevent the… Read More »