
Search In
I wanna create a library for sending a notification to my android app but i don't know how it works and what kind of data I should give to the function in the class. this is my code for sending a notification but I don't know how to put it in
Sometimes our requirement is to export/download the latest database from live/test server.
We can easily create the dump on our server and then copy paste it from server to your local machine using Win-Scp.
But the issue comes when the size o
Hi Friends,
Most of the large applications use SOAP for data transfer between two parties. So in rails we can also integrate SOAP support. For this there are multiple gems available. One of the mostly used gem is "savon". So here we will s
Array is used to keep collection of objects. Array in ruby can have any type of objects together. Using array in ruby:
>> a = []
>> arr = [1, 0, 7]
>> arr[2] # => 7
>> arr.size # => 3
>> arr = ["string", 5, 0.8,
This video tutorial describes how to capture an image using device camera.To captured an Image using device camera use to following code:-
private static int REQ_CAMERA = 1001;
Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE&a
Hello...
Sometimes we need to know the country code, IMEI number, subscriber of a phone.
Their is very simple solution, For this android gives facility to know it by providing TelephonyManager class.
TelephonyManager have many methods to get info
To delete records of more than one table we can use joins. Joins are used to combine two table. Here, we will use join to delete the records from more than one table.
Syntax:
DELETE T1, T2 FROM T1 INNER JOIN T2 ON T1.key = T2.key WHERE condition
Hello Friends,
If you are looking to implement routing in symfony2, like I have created a new controller like "listAction" in my controller file and now want to run this on browser. My controller file look like
<?php
namespace App\C
Custom Exception is user-defined exception. It is used to customize the exception according to the user requirement. Here In step one we have defined own exception . In step second Using the custome defined exception extends "Exception" cla
Google Map v3: Calculate Distance
How to calculate distance between two end points in google map v3?
Use the Haversine formula to calculate distance between two end points.
Note: you must add &libraries=geometry to your script source. This is
