
Search In
Function Templates:-Templates are used to achieve the generic programming. By using function template the code will be independent to any data type.
A template is used to create generic class or a function. By using function templates we have used t
If you need to monitor your android device activities and you want to identify the current opened application name in that case you can simply create the method given below in your utility class. And call it whenever you want to get the current open
This blog is about Navigation of application activities. When an Activity is opened with Deep Linking then pressing back button close application instead of working in normal backstack flow.
If you are not familiar with Deep Linking then please chec
How to use variable argument
Using variable argument in java method can be very important tool . As we can give multiple no of inputs to the methods using variable argument.
The rules to define variable-length parameters in a method defini
When you works in Wordpress the loop is the main part of your template to show the post to the user, using the loop you defines how you want to show the content to your user, Lets take a look how you can show the posts in index.php in WP site , in i
Enable Contact US Page
Contact Us page is a core module of Drupal 7, provided with the fresh copy of Drupal installation.
You need to enable the contact module to make it work.
Go to the module page
Search for contact module, and enab
1)Suppose need to pass value from MainActivity to SubActivity.We will first make xml of both Activity:
activity_main.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools
If you are looking to create BadgeCount view in android toolbar, here is the way to code it:-
Step 1:- Create badgeCount layout file say badgecount.xml :-
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:la
join() method in Java Thread : The join() method of a Thread class allows the current thread to wait until the thread in which it is called will die. Sometime a question is asked in the interviews that How can we make sure main() is the last thread t
This tutorial explain how we can Play YouTube video within Fragment.
1. Create simple Fragment class extending Fragment.
2. Implement YouTubePlayer.OnInitializedListener to Fragment and override its methods.
3. Create FrameLayout in Layout
