
Search In
Here I am writing code to create transparent button with border.
First create xml file transparent_button.xml for selector where I am describing the properties of button like border width, color etc
<!--?xml version="1.0" encoding="utf-8"?-->
It is very easy to retrieve image file from parse.com.
For example the image file name profilePicture is save on User class and I am going to retrieve the image below.
ImageView profilePic = (ImageView)findViewById(R.id.image_profile);
ParseFile
When I implement this. I catch this event multiple time.
Would you please provide solution.
private EditText mDateOfBirth;
mDateOfBirth = (EditText) findViewById(R.id.sign_up_date_of_birth);
mDateOfBirth.setOnTouchListener(new View.OnTouchListen
If you want to get thumbnail image from the recorded video in iOS then you can cut a small frame from that video to generate an image. You just need to send video output URL to below method as a parameter. This method willl return you NSData. Later y
Passing date to the function and returning the time passed or elapsed when it was commented/posted. It is very useful when you have comment section in your website and you want to show how earlier comment was posted.
/**
* Creating the date differ
Hi All,
To add image as background image in JPanel ,JLabel is used for example:-
setLayout(new BorderLayout());
try {
image = ImageIO.read(new File("D:\\New folder (2)\\fish.jpg"));
} catch (IO
Suppose you have an html code like this.
<input type="button" id="btn-press" value="Submit!">
<div id="egText></div>
If now you want to add some text into this div,you need to attach an event handler and You should move var inpu
Hello Readers,
By this blog, I am sharing some common functional test scenarios for the mobile devices. I hope these will help in the time of functional testing on the devices.
Some of these scenarios are mentioned below:-
Verify that all the neces
What is wordwrap() Function in php ?
wordwrap() Function wrap a string into incipient lines when it reaches a concrete length.
So,basicaly use of wordwrap() wraps a string into new lines. wordwrap() include space also.
You can take reference fo
What is use of time() Function in php ?
Php time() function basically use for returns a current unix timestamp. In which, you can utilize the date() function to format it to your desiderata.
You can see below example of time() function.
<
