
Search In
In PHP if we want to replace all underscore connected letters to upper case then we can use the php function called "preg_replace_callback" .
For example if we have string "kp_o_zmq_k" then the output becomes "kpOZmqK".
Hello Readers,
In this post we will discuss to get the current address, city name, state and country name from latitude/longitude value with the help of Cordova geolocation API and Google API.
To get the address from latitude/longitude values we n
DECODE function:
DECODE function works similar to if-else statement or case statement. DECODE compares expression to each search value one by one and returns the result of that search which is equal to the expression. If there is no match than defau
This blog is about how to show Popup for enable Location setting.
1. Add below dependency to app gradle file.
compile 'com.google.android.gms:play-services:9.6.1'
2. Implement GoogleApiClient.ConnectionCallbacks, GoogleApiClient.OnConnectionFaile
Wordpress themes includes different files for different purpose like single.php for showing the single post. We make the changes in search.php to modify the look and feel of the search results. You can see this file in default wordpress themes and we
How to select video from gallery through intent?
Step 1: Declare the variables on the activity from where you want to hit the intent
int SELECT_VIDEO_REQUEST=100;
String selectedVideoPath;
Step 2: Selecting Video from gallery by intent hit
pu
By using Java API Geocoder, it is easy to get geographical information of any location. The response will be in JSON or XML format.
Write the following example to get Latitude/Longitude from Zip code:
String postCode = "07001"; // you can use addre
Making a group by query in traditional database like MySQL,MySQL etc in quite easy but when its come to NoSQL like MongoDb we have to twist it a bit to get result we want :
There are two ways in which you can do group by in MongoDb :
a) Using group
The adapter model handles the functionality for our shipping module. This is where all the calculations happen and where everything will be coded. The coding written in model is to handle the shipping methods and the rates returned to the user for ch
to login using facebook in iPhone sdk please use the code below.
install the pods for facebook using
pod "FBSDKCoreKit";
pod "FBSDKLoginKit";
pod "FBSDKShareKit";
pod "FBSDKMessengerShareKit"
import FBSDKLoginKit
import FBSDKC
