
Search In
If user pass errors and data then we use Error-first callbacks .There are two argument in callbacks. first argument is always an error object which is for to check if something went wrong. and we use additional argument along with this parameter fo
Using Google Cloud Messaging (GCM) we can send push notification from web server to the android devices that are registered.
This is how the process works:
1.Android device sends sender id to GCM server for registration.
2.GCM Server returns regist
I have created a restful web service using this tutorial http://www.tutecentral.com/restful-api-for-android-part-1/
after running this i got an auto generated java file which contains the following code
public class RestAPI {
private final String
Building a website for your business from scratch can be confusing. Most businesses start as small ventures with local clients and expand from there. No matter what stage of development you may be in, a website is always a good idea – but where
If you want to track the location using phonegap App, you can simply checkout this steps.
1. After creating a project for example "test", you can add a plugin using terminal
cordova plugin add org.apache.cordova.geolocation
After installing the
Validation using Spring's Validator:- In Spring we can Validate the form value or do server side validation using the validator Interface. In the Following Example Code I am using the validator interface to validate the login form.
LoginControlle
"A potentially dangerous Request.Form value was detected from the client "
If the "ValidateRequest" is set to true and someone tries to submit HTML content (Example:<a> Hello </a>) to the server, this error occurs as AS
If two tables are connected through pointers, we can get data from both the tables using "include" key.
For example- There are two tables "Task" and "Task_Detail" and a pointer of Task_Detail is added as a column in table Task with name "detail". Us
Hii,
File Validator is a function used when we want to restrict the type of file uploaded.
Using File validator we can easily get file Info for each file uploaded.
If uploaded file is not as per the required format a validator function&nbs
Often it is required to integrate the iPhone's camera in the app to take pictures and photos to be used by the app. This is made possible by UIImagePickerController.
The UIImagePickerController gives the programmer the capability to integrate the ph
