Android Custom Dialog Box, Custom Alert Dialog, Create your own custom xml for custom dialog in layout folder like below. Step 1
Monthly Archives: December 2015
WordPress – How to increase media library upload file size limit
This article is about How to Set Maximum Upload File Size in wordpress: We can increase upload file size limit in wordpress. Follow the steps to maximize the wordpress media libary upload file size limit. Open .htaccess file and add thse lines in .htaccess
Sending Email in Android without using the default / built-in app
It is very easy to programmatically send email without using default email application in android. We can send email by using gmail, hotmail, yahoo or your domain email like info@wisdomitsol.com
iPhone – Programmatically call navigation controller back button | root view
We can call navigation controller back button programmatically from any button click or any where in the screen. There is very simple code to go back in previous i-Phone screen.
iPhone – Remove status bar programmatically not from all screens
We can remove status bar by programmatically from specific screens. Just override prefersStatusBarHidden function and return yes where you want to hide the status bar.
Saving Activity state on Android when change orientation
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. Solution 1:
How to Backup and Restore MYSQL Database from Commando Line (cmd)
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)
Remove my-sql bin | PURGE BINARY LOGS | old files
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.
ios – NSInternalInconsistencyException IPhone
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
ios – can’t drag and drop item by ctrl+drag xcode
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.