
Search In
Sometime the email is sending on local machine but not on the server machine it gives the error "The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required"
To resolve th
Please follow these simple step to register your app on facebook
Open Developer account from your Facebook.
Select "Create App" you'll be directed to a page where number of options will be available at the top bar.
One can reach there by just click
Follow the below code to set region from CLLocation arrayHere routess is an array containing CLLocation.
-(void) setRegionForMap {
MKCoordinateRegion region;
CLLocationDegrees maxLat = -90;
CLLocationDegrees maxLon = -180;
CLLocati
Using the following code we can calculate the distance between two CLLocationCoordinate2D.
#define MILE_FROM_MERTER(dist) (dist*0.00062137119)
+(double)calculateDistance:(CLLocationCoordinate2D) f to: (CLLocationCoordinate2D) t
{
// CLLocation
If we have latitude and longitude with us and we need to get location name out of that from google api then we need to do the following code;
public function findlocation($lat,$long){
$url_data = 'http://maps.googleapis.com/maps/api/geoc
Run sql queries using SQL tag in JSP
We can run SQL queries directly in JSP page using "sql" tag.
Suppose we have a 'postgres' database, with below credentials:
db:'test'
user: root
password: 123
table name: user which have a column 'userName'.
Be
If you want to display a PDF file in your android application which is located at the remote server then you have to follow the instructions given below.
Add this web-view in your xml file.
<WebView
android:id="@+id/webView"
android:layo
V-model stands for Verification and Validation model. In this model testing of the product is planned in parallel with a corresponding phase of development. There are various phases of the V-model.
Phases of the V-model are as follows:
Requirement
Protocols are powerful functionality provided by iOS. These are set of behavior that is expected from an object to behave/respond in a given situation.
Protocols are set of methods and properties. One can define protocol as:
@protocol protocolName
The Self and Super Keyword in IOS are important and one should know why and how they are used in objective c.
One should always access the instance variables directly from or within an initialization method. Because at the time when property is set o
