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…
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 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…
How To Remove and Replace String within a String.
// Here We Deleting Something NSString *content = @”i am a good boy”; NSCharacterSet *deleteString = [NSCharacterSet characterSetWithCharactersInString:@”good”]; content = [[content componentsSeparatedByCharactersInSet:…
How to Get System Informations Using Javascript
//Application Code Name var codeName = navigator.appCodeName; //Application Name var appName = navigator.appName; //Application Version var appName = navigator.appVersion; //User Language and Language var language = getLanguage(); function getLanguage()…
What is Object Oriented Programming( OOP ) Concept ?
Object Oriented Programming Object-oriented programming (OOP) is a programming paradigm that uses “Objects “and their interactions to design applications and computer programs. There are different types of OOPs are used, they are Object Class Data…
How to Create Table in Sql Server ?
Tables are used to store data in the database. Tables are uniquely named within a database and schema. Each table contains one or more columns. And each column has an associated data type that defines the kind of data it can store e.g., numbers, strings,…
How to Generate SHA1 Cryptography in C# and VB.Net
Generate SHA1 Cryptography This part has been copied directly from Wikipedia SHA-1 is a cryptographic hash function designed by the United States National Security Agency and published by the United States NIST as a U.S. Federal Information Processing…
How to INSERT data from Stored Procedure to Table ?
How to INSERT data from Stored Procedure to Table ? CREATE PROCEDURE GetDBNames AS SELECT name, database_id FROM sys.databases GO We can execute this stored procedure using the following script. EXEC GetDBNames Now let us see two different scenarios…
Generate New GUID (uniqueidentifier) in SQL Server
What is new GUID? The New-GUID cmdlet creates a random globally unique identifier (GUID). If you need a unique ID in a script, you can create a GUID, as needed. What is Uniqueidentifier datatype in SQL Server? The globally unique identifier (GUID) data…