In Android application when we change the orientation of device then our activity is recreated and some time we face the NullPointerException. To handle NullPointerException or other exceptions we can save current state and retrive the values or tell in AndroidManifest.xml that don’t destroy this activity.
We can backup and restore large my sql database using cmd.
- Open cmd
- Go to directory where my sql is installed in my cause (C:\wamp\bin\mysql\mysql5.5.16\bin)
The purpose of MY SQL Binary files is to data recovery. For big database my sql binary files eat lot of disk space so If you have backed up your data and want to remove my-sql binary log files follow the procedure. Continue reading “Remove my-sql bin | PURGE BINARY LOGS | old files”
If you are facing NSInternalInconsistencyException in IOS development.
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "..." nib but the view outlet was not set.
Follow the solution for Continue reading “ios – NSInternalInconsistencyException IPhone”
If you are unable to drag & drop item like button reference as outlet into your related class then check the solution for this problem in following lines. Continue reading “ios – can’t drag and drop item by ctrl+drag xcode”
Terminating app due to uncaught exception ‘NSUnknownKeyException‘, reason: ‘[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key your_property_name.
How to read text file in c#:
In c sharp it is very easy to read a complete text file Continue reading “C# read text file | Best way to read file c sharp”
We mostly face a content path problem if we maintain your inner pages, master pages and may be images in different directores (folders). Due to this problem we are unable to see images on web browser. Continue reading “aspx master page or inner page image problem”
For better performance we can use multithreading in our programm. We use thread for heavy processes like load data from database or during use of Internet, otherwise you will feel hanged your User Interface. Continue reading “C# Multithreading Example Tutorial”
This example will describe how to check Internet connection in asp.net using c sharp language. During code we mostly check if user is connected with remote server or not. Continue reading “Check Internet Connection c#”