• Graphics Class in Java

     Graphics Class in Java Guys you can draw lines, shapes, characters, and images to the screen inside  your applet. Most of the graphics operations in Java are methods defined in the Graphics class. You don’t have to create an instance of Graphics in order to draw something in your applet; in your applet’s paint() method , you are […]

    Posted in: Java

  • Methods to Change SQL Server Password

    There are many situations that people forgot the SA password shortly after installing the MS SQL Server. This article shows you the methods to help you change forgotten SA password for your SQL Server 2000/2005/2008/2012/2014 database installation.You can use any of below methods to change SQL Server Password. You can also download any third party […]

    Posted in: SQL

  • Java 8 features into Android Development

    Java 8 features into Android Development Tools will be demonstrated, specifically aiming at Eclipse IDE. However, steps which will be described throughout this guide might also be adapted to Google’s new uprising development environment, Android Studio. It is based on the community edition of popular IntelliJ Idea IDE by JetBrains and it has recently been […]

    Posted in: Android

  • Android Session Management Tutorial

    Android Session Management Creating Android Session or login page fuctionality and save user data as like in session. After loging user will redirect to login screen and after back button click do not show login page. With shared preferences to save and get user data globally through out the application Ways to save data globally […]

    Posted in: Android

  • Play video in Android with example

    In this tutorial explain that how to play video in android. Taking a video(3gp) file inside application raw folder and playing in on activity. The file structure is given as below:  AndroidVideoPlayer.java Create a file in src as androidvideoplayer.java and use given code. Using VideoView class to load video from various sources , takes care […]

    Posted in: Android

  • Creating Android Layout

    Android layout is a class that handles arranging the way its children appear on the screen.  Anything that is a View can be a child of a layout. All of the layouts inherit from ViewGroup so you can nest layouts.  You could also create your own custom layout by making a class that inherits from […]

    Posted in: Android

  • Use of the volatile variable in java

    Volatile in Java First, you have to understand a little something about the Java memory model.The best way I can think of to describe it is if you imagine it this way pointed as below : Each thread in Java takes place in a separate memory space (this is clearly untrue, so bear with me […]

    Posted in: Java

  • Lambda Expressions in Java

    Java is a first-class object-oriented language. With the exception of primitive data types, everything in Java is an object. Even an array is an Object. Every class creates instances that are objects. There is no way of defining just a function / method which stays in Java all by itself. There is no way of […]

    Posted in: Java

  • Resource Optimization with Java SE 7

    The typical Java application manipulates several types of resources such as files, streams, sockets, and database connections. Such resource optimization must be handled with great care, because they acquire system resources for their operations. Thus, you need to ensure that they get freed even in case of errors. Indeed, incorrect resource management is a common […]

    Posted in: Java

  • Android AlarmManager

    By the help of Android AlarmManager in android, you can schedule your application to run at a specific time in the future. It works whether your phone is running or not. The Android AlarmManager holds a CPU wake lock that provides guarantee not to sleep the phone until broadcast is handled. Android AlarmManager Example Code […]

    Posted in: Android