
Search In
1. import coreLocation in your controller.
import CoreLocation
2. Add this function to your view controller.
func getLocationFromPostalCode(postalCode : String){
let geocoder = CLGeocoder()
geocoder.geocodeAddressString(
While writing insert or update queries in the SQL server, we need to use the predefined functions of the SQL to get the current inserted or the updated record in the table.
For this we use the function called the scope identity for getting t
We can easily get active user's UserDetails in Spring Security. Spring Security provides "org.springframework.security.core.Authentication" which provides the required API for retrieving the logged in user details. The methods of this class are getAu
The Below code will show you how you can create the service in Liferay and how you can call that services using javascript.
For this, First you have to create service builder(service.xml) to build service using ant build-service command.
service.
Service Behavior
The [Service Behavior] attribute is used to apply behavior at the service level. It allows you to control things such as:
Concurrency
Throttling
Transaction
Session Management
Thread Behavior
Ping
Ping is used to check the response from other terminals in the network. It will give you details related to the network you rare in and its status with request.
Ping returns different responses depending on the computer in question. Th
While developing the MVC applications you need to provide validations that mainly work on the client end.
public class EmployeeModel
{
public int EmpId { get; set; }
[Required(ErrorMessage = "First Name is required")]
This Blog is about RAM detail that Total Ram size your Android Device and used Ram size in your Android Device.
From API level 16 Android gives properties to get Ram information.
In this tutorial I will explain to get RAM size for below API
You can also get the data i.e title, description, thumbnail_url, etc from the Youtube video url by using following script. Remember you need to put the YOUR_GOOGLE_DEVELOPMENT_KEY which you can generate by creating account in Google Developer Console
There are n number of situation where we want to pass parameter in URL and use that parameter in our controller.That can be easily explain by using example:
There are few steps which I have implemented that are:
Step 1:First we will define our rou
