.htaccess Tips and Tricks
.htaccess is the most useful file when you are developing PHP website and working with PHP and Apache. The directory level configuration of Apache server software is provided via .htaccess (Hypertext access) files. The htaccess rules falls in four…
Method for Email validation in Android application
The Android developer must check if the email address entered by the user is valid or not, as the email address is stored on server and we may need the email address to send some information like password or any other important information via email to…
Getting Unique Device ID of an Android Smartphone
Sometimes it is required during Android application development to get the unique id of the Android based smartphone device. This is necessary in cases when the user wants to track the unique device installations of the application. This is also useful…
How to prevent SQL Injection in iOS apps?
SQL Injection Application Security is a primary concern of every mobile application developer whether it is iPhone app, iPad app, Universal app in iOS, Android app, Blackberry app, Windows Phone app or tablet app. And most of the vulnerability attacks…
How To Manage NSMutableDictionary And NSMutableArray
//create the dictionary NSMutableDictionary *dictionary = [[NSMutableDictionary alloc] init]; //add keyed data [dictionary setObject:@”Object One” forKey:@”1″]; [dictionary setObject:@”Object Two”…
Why my Android emulator is very slow
Try Android x86. It’s much faster than the Google Android emulator. Follow these steps: 1-Install VirtualBox. 2-Download the ISO file that you need. 3-Create a virtual machine as Linux 2.6/Other Linux, 512 Mb RAM, HD 2 GB. Network: PCnet-Fast III,…
How to Backup Contacts and SMS Messages using command line in Android
Backup Contacts and SMS The messages are available via the Telephony and contacts via the Contacts provider. The data is stored in SQLite databases in the following locations: /data/data/com.android.providers.telephony/databases/mmssms.db…
How to Set up Android Device Manager to lock and wipe your phone
Android Device Manager Google makes remotely managing and wiping your device easy and effective Back at the beginning of August Google unveiled a new service called “Android Device Manager” that let you locate and remotely wipe your phones…
What is activity life cycle in Android,Explain
activity life cycle in Android onCreate() : Called when the activity is first created. This is where you should do all of your normal static set up: create views, bind data to lists, etc. This method also provides you with a Bundle containing the…
How to catch a Nan?
How to catch a Nan? NaN is not equal to any value, including NaN, use this property instead of the equal-to operator (==) or not-equal-to operator (!=) to test whether a value is or is not NaN. Nan represents Not a number When it happens to get a…