
Search In
Cordova provides a plugin to play sounds in your mobile application. It can record an audio file and also play back audio file on the device.
Installing the plugin:
cordova plugin add cordova-plugin-media
It has a Media constructor. You ca
Hi,
I am trying to hit a MVC web API for deleting the record but i am getting the error that no resource found. I am able to hit the API using PostMan and fiddler but i am unable to hit it using Rest Clinet. Here is my code
var request = new RestRe
Hello Reader's!, If you have a condition in which you need to return two or more variable from function like below:-
functions()
{
//you calculation for result
return $a, $b;
}
Now you will face the error. But you can use the array function t
Hello Reader's!, If you have a zip file and you need to execute unzip the file using PHP, Then you can use the PHP liberary code below:-
// Lets say you have zip file in the same folder of php file.
$file = 'file.zip';
// get the absolute path to $
I have posted python script for e-mail sending in python project code is given below.
import smtplib
sender = 'from@findnerd.com'
receivers = ['to@todomain.com']
message = """From: From Person
To: To Person
Subject: SMTP e-mail test
This is a te
While writing programs we always have a chance of exception to occur that needs to be handled in our program.
For exception handling we use the try catch blocks and finally blocks.
throw: A program throws exception when it occurs.
Hi Friends,
Thanks for viewing my previous blogs, hope you liked them. As we were previously talking about validations starting with Format validations in Rails, lets continue with that with a new validation helper numericality. As its name represen
Printing hello without using main method:
We can use static block to print something without using main method as static block executes as soon as the class is loaded. To ignore exception "System.exit(0);" is used which terminates th
If you need to delete or flush all the data that exist in core data entity then use this method. Just pass the name of the Entity as a param to this method.
-(void)flushEntity:(NSString*)entityName{
NSFetchRequest *fetchAllObjects = [[NSFetchRe
Ajax :
It is s process of getting or reteriving the content without refreshing the whole page.
We can do this using javascript and JQuery.
There are different method for ajax call in javascript and jquery.
Javascript :
<script>
func
