Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Error:A potentially dangerous Request.Form value was detected from the client

"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

How to make custom toast in android.

In the below example I have created a custom toast Function in Android, the toast will open in center of the screen. Here I have used a image, image shown below contains a toast at the bottom of the screen. For more see the below code, in which I hav

Singleton Design Pattern

Singleton Pattern It restricts object of class to be created only once throught the application and provides global point of access to it. It also comes under creational pattern like Factory pattern as it allows one of the best way to create object.

How to make Radial Gradient in android

Using below Layout code you can create a Radial Gradient, Here I have created a Gradient.xml layout by using shape and gradient property. By using GradientDrawer we can make smooth transition between two or three colors in liner, radial or sweep pat

How to make Call State in android

Hello friend's If you want to create a Call State function in Android see the below code example. Here I have used TelephonyManger method to get the information of call state And I have used PhoneStateListener. In AndroidManifest.xml I have added P

How to save Past search and browsing activity in Google

Hi Guy, There are so many online activity 'We write online', 'Edit online' and save our data online. In meanwhile we have huge worries about our personal data. All of us have fear about the data security and privacy.   Actually Google trac

How to make Sensor in android

If you want to create Sensor function you can use my below example code. The android platform supports three categories of sensors. 1st Motion Sensors, 2nd Environmental sensors and 3rd is Position sensors. In the below code I have used SensorEventLi

How make Spelling Checker function in android.

In the below code I have used SpellCheckerListener interface and ovrride its method. Here I have created SpellCheckerListener class to check the spelling errors. See the below code it will clearly described how to make Spelling Checker function. pub

How to make Progress Dialog with spinning wheel in android

In the below example I have created Progress Dialog with spinning wheel code function. Here I have used ProgressDialog function and I have used onClick method in the MainActivity class. And In Activity_main.xml I have added a button. See the below co

How to make ON/OFF switch button in android.

In the below code first I have added a Switch button in main layout. Here I have created two-state toggle switch that can select between two options. The user may drag the thumb back and forth to choose the selected option. In MainActivity I have use

1 35 106
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: