
Search In
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
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
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'
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
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) {
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 {
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
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
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
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
