
Search In
Map and List are the two commonly used data structures
Here I am writing way to convert Map to List.
Basically Map holds two things are key and value on the other hand list holds only values.
Both Map and List allow duplicate data.
Below is the ex
The date picker is used to pick date for textfield. It is placed in textFieldDidBeginEditing (a delegate method of UITextField), so that the keyboard is replaced with date picker as soon as you enter into textfield. updateTextField will set the valu
Hi,
In my previous post I have explained about “How to Export MySQL table data to CSV File using PHP”.
Now in this tutorial I am going to explain how to import CSV data file into mysql. Suppose that we have a CSV file with 3-4 entry, we can
Here I am getting image path from Native data
Here IMAGEPATH is the path of image from Camera.
ByteArrayOutputStream stream1 = new ByteArrayOutputStream();
// Compress image to lower quality scale 1 - 100
bitmap1.compress(
I am writing way to add and use date Picker Material design library to our project.
First of all we need to add library to our build.gradle file
dependencies {
compile 'com.wdullaer:materialdatetimepicker:1.5.4'
}
Then we need to implements OnDate
It is very easy to read data from Parse database, just create a query using PFQuery class over class name (table name) and request for data.
For example - There is one table "Post" with column names : title, message, postTime. Now get data from tabl
Here I am writing code to load url on WebView.
We need to create WebView client where we get the event of page finished.
Then simply showing ProgressDialog and dismiss it on onPageFinished().
WebView myWebView ;
myWebView = (WebView)findVie
Use of classes and objects in ruby id different to other languages . And tell how to declare and define function in ruby and how to call the functions .
Example : In below example i am creating a program of simple arithmetic program .
class Arith
There are several posting time formats available, social sites are using their own styles of post time display. But the logic behind each posting is same, basically it depnds upon the date and time difference. Here is the function to calculate the di
You can also get the data i.e title, description, thumbnail_url, etc from the Youtube video url by using following script. Remember you need to put the YOUR_GOOGLE_DEVELOPMENT_KEY which you can generate by creating account in Google Developer Console
