
Search In
As we know that in almost all web applications there is a set of code which has to be executed often in many places.
Now suppose we have a header and footer which has to be used all over the project.
Now if we would write this code
Unlike in website the session are useful for handling users data from one page to another, The API requires a secret token to do the same.
The secret information like email, user type, balance need to be get passed from one request to another
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" prefix="aui"
Hello Reader!
If you want to read a Excel file in PHP then you can learn the library code below
read('excel_file.xls'); // reads and stores the excel file data
// Test to see the excel data stored in $sheets property
var_export($excel->sheets
1)In your XML,make a ListView:
<ListView
android:id="@+id/mylist"
android:layout_width="match_parent"
android:layout_height="match_parent"></ListView>
2)Go to menu.xml and add a Search Button:
<item android:id="@+id/a
1)Suppose we have a Button and a TextView in XML:
activity_main.xml
<Button
android:id="@+id/btnGet"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="GET IMAGES" />
<TextView
androi
Here I have created change backgraund color View app. when we select any radio button then it will change the backgraund color. In the below example i have use four radio button on diffrent colour id. You can use the below code to change backgraund c
Hello Guys
Here, I write blog for sort JSONArray using alphanumeric string.
Create JSONArray below :
JSONObject jsonObjupdate = JSONFactoryUtil.createJSONObject();
JSONArray jsonArrayupdate=JSONFactoryUtil.createJSONArray();
RSS simply means Really Simple syndication, this is a xml document which is created by a website.
You need to parse this xml file and show the information:-
Here is the code that can help you :-
Step 1:-Declare the variable of which you want to ext
In many application we need to hide the title bar of Activity/Fragment Activity. For this we need to add following line in onCreate() method before calling setContentView()
requestWindowFeature(Window.FEATURE_NO_TITLE);
Example:-
public class Mai
