Do we really need of tester for small projects ?

Often client demand to not hire tester for small projects generally because of limited time and project cost and say to development team to perform testing themselves to save time and budget. This decision may deliver project on time but could no...

Keyboard Shortcuts for MS Word and MS Excel

Below are some general keyboard shortcuts which you can use while working on a MS Word and MS Excel. S.No ...

How to make HTTP Basic Authorization Header

For making API's call more secure we need to implement HTTP Basic Authorization Header. In order to set the authorization, first we need to encode the secret key or API key like this:- public static String getB64Auth(String key) { St...

Use of JPA(Java Persistence API) to implement ORM

JPA:- Java Persistence API is a collection of classes and methods to persist or store data into the database Using the JAVA API. The Below code will show you how you can work with JPA. First we make the POJO. Employee.java package...

Round or Circular ImageView in iOS

You may have seen several mobile applications with round or circular image view. It is mostly used while displaying User's profile pic or in a tabular representation of images. You can do it very easily without using third party classes or Librar...

Help me Inserting Alarm and Notification

please help me inserting alarm and notofication for my uploaded file to be presented tommorrow for my defense pls :(

Odoo PayUmoney integration

Serpent Consulting Services Pvt Ltd. proudly presents the module which integrates PayUmoney with Odoo. PayUmoney is a popular Indian payment gateway. PayUMoney offers electronic payment service to your website through its various partnerships wit...

How to Optimize Image for Website

HiIn my previous blog: How to Do a Perfect On-Page SEO of Your Website: Part 1, I have explained How to do perfect On-page optimization. In continuation my previous blog, Now I am explaining image optimization in SEO, which is a very important fa...

Spelling Checker in Android

Android provides a special feature for checking spelling and it is easy to implement in your App. Android provides SpellCheckerSessionListener listener that handles spelling checker. For spelling checker, we have to implement SpellChe...

Custom Fonts in Android

Android gives us the facility to customize our strings font. For this we need to keep .ttf files of the specific font in assets/fonts folder. We can easily download ttf from internet that we want to apply. Then we use Typeface class t...

suggestions for my android app

hello guys, i m creating an android activity in which i want to scroll a group of images(any number) on the click of a manual button.Kindly suggest me any useful libraries in this regard.

Compression in Apache and improving page speed

Apache provides mod_deflate module to compress the response prior to sending it to client by attaching the DEFLATE output filter in filter chain. Following is a simple sample configuration for compressing selected text-based content types : ...

How to resolve Severe Assertion Error in openerp

To resolve Severe Assertion Error in openerp follow these step given below After getting sever assertion error then first : Step1- In pgAdmin run the following query: update ir_module_module set state = 'installed' where state = 'to install'...

Type of "properties of object" in JavaScript

In this tutorial we will learn about the properties of an object in JavaScript, classification of the properties, attributes of properties.There are 3 kinds of properties an object in JavaScript have: 1: Data Property: In this property of ...

How to debug javascript

JavaScript Debugging Debugging is very complex for users to writing a JavaScript code without a debugger in web page. Javascript code might contain syntax errors, or logical errors, which are difficult to find out. Note : Javascript e...

Object in JavaScript

This tutorial will help a user to learn what is an object in JavaScript. How null is not an object though it show that null is an object.How function is an object. An object in JavaScript is a set of key:value pairs. Every pair is called a pro...

Checkbox checked an unchecked in jquery and javascript

Hello guys, If you want to check and unchecked the checkbox in javascript and jquery use the below code. For example : Checkbox: <input type="checkbox" id="checkboxid" class ='checkboxclass'> Checked and unchecked to checkbo...

Check a string with special characters in ios

If you want to check any NSString containing special characters then check this out. -(BOOL)specialCharacter:(NSString*)username{ NSCharacterSet *invalidCharSet = [[NSCharacterSet characterSetWithCharactersInString:@"ABCDEFGHIJKLMNOPQRSTU...

Email Validation in iOS

While creating any Login or Registration UI in iOS we ask user to enter their email id. To avoid wrong data entry we can validate entered data by using a simple validation method. Below method will return you a BOOL value. Here it is:- -(BOOL...

How to use predicate in ios

In iOS we can use Predicates in order to get fast response. Mostly iOS developers use Predicates in search functionality to filter it as user types in search bar textfield. Let suppose you have an array named as youDataArray which contains s...

How to take a screenshot of an iPhone screen in iOS

Some times we don't get a correct screenshot of an iOS device. Specially when we apply some transform or animation. If you are applying affine transform or 3dTransform to an object and hoping for a perfect screenshot with same transform value the...

How to save image in to gallery in iOS

If you want to save any UIImage to iPhone or iPad gallery, just use below code to achieve it. These lines of code will write image file to your gallery. You just have to pass UIImage as param to it. UIImageWriteToSavedPhotosAlbum(yourUIImage,...

Reset any transform in iOS

In iOS when we apply transform methods to any UIView element like UIIMageView, UIView and all those UI Elements which inherits UIView properties. After applying transform to these views they get change and holds new transform values. In that case...

How to get device token in iOS

For iOS push notification services functionality we need a device token (a unique device id generated by device OS for Push Messages communications) on which we can receive push notification messages. To generate the device token we have to add U...

How to change Mailing templates in Liferay

You are independent to write your own template and put it in portal-ext.properties file. The default one can be seen by following the mentioned path. However same variable can be used in custom templates too. Update below properties as your ...

HOW TO ADD MAGENTO ARROW LEFT AND RIGHT TO VIEW PRODUCT

hello, can somebody help me, how to add arrow left and right to this product view? do i need to use extension? if so, what extension do i need to use? or do i need to add hard code ? please help me, thanks in advance

Copying Text from Listview

hi how to copy text from listview.

Liferay Translating messages to multiple languages

Liferay support many languages as you need. All language specific text and storing are done by pulling out in language.properties files. Whenever a page loads, detect the language by liferay and pull up the corresponding language file then disp...

Mailing templates in Liferay

Hello Friends, The Below code will show How you can send the mail using the mailing template in liferay. view.jsp <%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %> <%@ taglib uri="http://liferay.com/tld/aui" pre...

Selenium WebDriver Browser (Get) Commands:-

Selenium Webdriver is a automation testing tool which is used for testing the web applications. Opening and closing a browser is the very first test step in Selenium which a tester would like to do. The 'Commands' refers to what Selenium has to d...

How to get iOS device type and version

If you need login device type, model and version of an iOS device, then use below code. You'll have to import below file first then:- // #import `<`sys/utsname.h> NSString* deviceName() { struct utsname systemInfo; uname...

Facebook Login in Parse

Parse provides simple Facebook login where it saves Access Token and limited user info. Inside your viewcontroller where you have implemented PFLogInViewControllerDelegate, PFSignUpViewControllerDelegate delegates just call Facebook request as m...

Simple way to change status bar

If you need to change the color or appearance of the Status Bar of iOS then follow simple steps. in your code file where you had created or initialized UINavigationController just write few line of code there. Find similar line as mentioned...

How to configure Android WebView to encrypt cookies?

This has been raised as a security concern blocking the release of my Cordova application on Android 4.4 KitKat Using a SQLIte browser on a rooted device, the application session id cookie is being written in plain text into a SQLite table nam...

Zoomable List view

How to increase font sizes of list view items containing more than one textviews. on pinch - zoom gesture android? There is nothing such list view found on internet

Trigger in MySQL

Here, I have created a small database for a book store application. In which two tables are required:- book:- Stores a unique book ID, the title, content, and a deleted flag. audit_book:- Stores a set of historical changes with a record ID, t...

html() and text() functions in Jquery

Hello Readers, html(): It returns the entire content inside of specific html element inside the div. As in example given below, how can we use the jquery html() function. Here, we consider the div tag and inside the div we take text ...

Invoking functions in Javascript

This tutorial will help to understand the different ways of invoking functions in Javascript. The another term we use for invoking function is "calling a function". Functions can be invoked in different ways as below: Let us create a file Invoke...

In Wordpress, How user can fill pdf forms online and after that do online signature and send?

Hi In Wordpress, How user can fill pdf forms online and after that do online signature and send? Thanks in Advance.

Define Service Entities in liferay 6.2

Hello guys, Entities are the heart of a service which are defined in the service.xml in the liferay portlet. It represents the map between the model objects in Java and the fields/column and tables in your database. Once your entities are defi...

How to change default theme of profile page in Liferay

Hello guys, In the liferay portal, some of private and public layouts portal properties are disabled. So we need to define these properties as below. layout.user.private.layouts.enabled=false layout.user.private.layouts.auto.create=false...

Extract value from JSONArray in Javascript

Hello Guys, I will explain that how to extract values from JSONArray String in Javascript. For example we have this jsonarray string below: var jsonarraystr ='[{ "city": "Jaipur", "state": "Rajasthan", ...

Include GIF in Android Game.

Hello guys,does anyone know how to include gifs in an Android Game? Thank you!

Create Json Array in Liferay

Hello guys, JSON is a collection of name/value pairs, and it's in various languages, JSON is like as an object, record, struct, dictionary, hash table, keyed list, or associative array. JSON is an ordered list of values and in many languages, ...

How to change thumbnail size of file in Liferay

Hello Guys, We need to resize the thumbnail of file according to our requirements or for maintaining aspect ratio of an image. Now we can resize the thumbnail of file using portal properties which we will define in the portal -ext.properties f...

Android Version Names

Each version of Android is having a specific code name since Android version 1.5. These name are English alphabetically and a confectionery theme based (usually , sugary foods). And these names belongs to one or more version names. Below is the...

Communication between Fragments

Here I will explain how we can communicate between two fragments in an Activity. There are many situations where we have to communicate two fragments like we have to pass data between fragments in some events. Here I will communicate through Inte...

Add Dynamic Layout in Android

Generally we add layout from xml but sometimes we need to add layout using java. Here I am adding linear layout from java file. I am creating LinearLayout class which is provided by Android and add params on it. We have methods to set orientation...

HashSet in Java

Here I am writing a way to implement Hashset. HashSet creates hashtable to store the data. As it implements Set interface so it doesnt contains duplicate elements. It also extends AbstractSet class. We can implement HashSet by using different...

Enumeration Interface in Java

Enumeration is used to retrieve or traverse all the elements of particular collection of objects. Its not considered for collections but we can use it for legacy like Vectors. To use it we need to import - Java.util.Enumeration Below is the ...
1 225 292