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

Search In

Uses of Java 8 predicates in android to filter data

Predicates basically used in ios to query over model class data but from java 8 its available in android or java this function returns true or false value based on condition like P: Y? {true, false} that predicates on. Example : We have a model clas

How to resolve casting error in my Java program

I am trying to get data from a database using 3 Jcomboboxes and then put the data in a Jtable and i am getting a empID=(int)employees[selectedIndex-1][1];  public void updateTable()     {          int selectedIndex=employeeCmb.getSelectedIndex

How to validate the characters of the strings to the characters typing via mobile keyboard?

Hey guys i am working on the prototype like this: https://www.youtube.com/watch?v=aGwqi5wK5ZA how can i validate the characters like in this game. And if he types wrong he is not allowed to type, Like if I need to type"Hello" , and user press 'e'

How to Save Data in Android

In below example I have created a save data app code in android. In this save data we can save our data and then load the back-up. In this I have also described how to make save data. public class MainActivity extends Activity { EditText editT

How to block enter button for submitting the form using Javascript

Hello Reader! If you want your html form that block the pressing action of enter button and accept only submit button then you can see how its working in the example below :- $("FormSubmit").bind("keypress", function (e) { if (e.keyCode == 13) {

serialize object

This is required to serialize an object or data while sending over the network. you can use following code to serialize your object and return its encoded bytes like this : public static String serialize(Serializable obj) throws IOException {

Deserialize object

This is required to deserialize an object or data while recieving data over the network. you can use following code to deserialize your object and return its encoded bytes like this : public static Object deserialize(String str) throws IOExceptio

How to implement push notifications in phonegap application.

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

Foreach in reverse order

We can use array_reverse function to invert the values of array.This way we can allow them to get reverse order. Ex : - $data = Array( 'ProductA', 'ProductB', 'ProductC', 'ProductD', 'ProductE' ); foreach ( array_reverse($data) as $valu

Hello

When You Should Choose Manual vs. Automated Software Testing QA analysts and IT firms are often confronted with the same question when testing a software project — whether to go with manual software testing options or to try out new automated techni

1 … 11 … 389
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: