
Search In
Here we will learn how to resolve the error that we come across while updating MySQL 5.5 to MySQL 5.7 on ubuntu 14.04.
After the upgradating, I was trying to login my CakePHP application, but every time I was trying to login I was facing the warning
Android provide us the facility to know the call state. Android gives this feature by providing Telephonymanager class. We need to implement PhoneStateListener interface that has one method onCallStateChanged().
Below is the example.
public class
1)Suppose we have a Button and a TextView in XML:
activity_main.xml
<Button
android:id="@+id/btnGet"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="GET IMAGES" />
<TextView
androi
Since we know that the "Splash Screen" just appears for the few seconds as the app get start so we need to add the time for how much second the splash screen would be shown, so to add Splash screen in Android app follow the steps men
Here I have created Toast with alertDialog code function, according to below code both function runs in same time and display same time when we clicked listview item. In the below code I have explain how to make toast with AlertDialog function in and
Here I have created Popup function , Popup function can be used to display menu item list, anchor text and listitem etc. In the below example when we clicked on menu button the popup will be open and if we click outside the popup it will disappears.
Step1: Add dependency MPAndroidChart and jitpack maven repository in your build.gradle
repositories {
maven {
url "https://jitpack.io"
}
}
dependencies{
compile 'com.github.PhilJay:MPAndroidChart:v2.1.6'
}
Step2: Adding com.g
How to ask for multiple permission in android at once. I m using below code but it is asking one permission at once, and when I close the app and relaunch it then it asks for next permission. How to get rid of this prob,,,,,,, any help
Thanx i
After creating a ViewPager (as I also described here ViewPager) we need to catch the changing of slides event.
To do this we have a listener OnPageChangeListener i.e, ViewPager.OnPageChangeListener that invokes whenever we chance the page or increme
At times, we make apps which use camera feature but that app can also be used on non camera devices for other features. There we have to apply a check on using the camera feature, that is as follows:
PackageManager packageManager = activity.getPacka
