
Search In
Hello Readers,
In order to share text or links from the application, you may use UIActivityViewController . This is an easy way to share from within the application.
NSString *textToShare = @"text you would like to share"
NSURL *ourAppS
Hello,
We need current date in many situations.
Here I am writing different ways to get current date in java.
1. Get current date using java.util.Date.
Date currentDate = Date();
System.out.println(“Current date : ”+currentDate);
O/P:
Current date:
Hi Readers,
This Post is just a brief introduction about “How we can implement Autolayout Contraints through coding”.
Now,Before moving ahead with the topic let us have a brief about AutoLayout.
WHAT IS AUTOLAYOUT...??
Auto Layout is a way to def
Choose the version of ruby you want to install for example : 2.2.3
After choosing the right version of ruby first step is to install some dependencies :
sudo apt-get update
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev li
If you need to save state of an activity then you have to @override onSaveInstanceState(Bundle savedInstanceState) method of activity and put some states values that you want change to the Bundle parameter as below:
@Override
public void onSaveIns
The java by default sorting is based on either number or string. If we try to sort a alphaneumeric it will be treated as an string so the sorting will come something like:
1abc
11abc
2abc
instead of
1abc
2abc
11abc
So in such cases we can use our
In rails we can apply limit and offset to arrays in different ways.
1> Using "slice" method.
slice takes 2 arguments, the first one being the "starting_index" & the second one is the "number_of_elements".
syntax :-
arrayobj.slice(o
Exceptions are the abnormal conditions which generated at the time any runtime error occurred.
To handle these exception is known as exception handling. The exception handling is done to maintain the normal flow of the program. In java there are diff
Different Types Of Challenges In Cloud Testing:-
There are more challenges in the time of cloud testing. Few challenges are mentioned as below:-
Short notice period
Data Migration
Data Security and Privacy
Enterprise application Integration
Simulat
I want to create dynamic routes to controller from mysql database.We have the available following table for this.
id name route
--------------------
0 About about
1 Contact contact
2 Blog blog
Now
