
Search In
Hello Guys
Liferay provide startup funcationality to deploy theme. portlet and hooks etc.
You can utilize the StartupAction. It is merely an Event of liferay, which is get triggered on startup of a plugin in liferay portal. This method will only g
In the below example I have created Display spinner in Popup Window. Here I have created a popup.xml layout. In popup layot i have added TextView, ImageView, Spinner and button. And in activity_main.xml layout I have added a button to open spinner po
RESTful web services
A RESTful web accommodations are predicated on HTTP methods and the concept of REST. A RESTFul web service defines the base URI for the accommodations, the fortified MIME-types and operations like POST, GET, etc.
JAX-RS annotat
In the below example I have created vector drawable function. For this first I have created vectordrawable.xml, animvectordrawable.xml , anim/rotation.xml and path_morph.xml layout. In activity_main.xml layout I have added TextView and ImageView. An
For implementing paging in Repeaters we will first create a stored procedure in which we will define the row number for every record and this will allow to iterate the records into the temp table and the page size which will define the upper bound
These are the following Useful Properties and the events of the Calendar control:
DayNameFormat: style of the days of the week.
Possible values are FirstLetter, FirstTwoLetters, Full, Short, and Shortest.
NextMont
Follow the steps mentioned below to get your location latitude and longitude
1) Create a class and name it LocationManger.java and impliment GoogleApiClient.ConnectionCallbacks, GoogleApiClient.OnConnectionFailedListener, LocationListener in the cl
In the below example I have created a demo page for user input. Here when user will enter name and phone number then user name and number will show on same page. Here I have created first Relative layout then in relative layout added Edit
To create ListView in your android app follow the steps mentioned below:-
1) Define ListView in your xml file where you wish to show list view.
activity_main.xml
<LinearLayout
xmlns:tools="http://schemas.android.com/tools"
For changing the image on swipe can be done by implementing the ViewPager in your android app.
For implementation of ViewPager we need to follow the steps mentioned below:-
1) Create ViewPager tag in your xml file .
activity_main.xml
<Relativ