
Search In
Below example code will helps you to create Chronometer. For this firstly, In activity_main.xml layout I have added buttons and Chronometer layout. Now See MainActivity, here I have used start(), stop(), SystemClock.elapsedRealtime()), setFormat() me
In this blog we illustrate how to set the zoom-in and zoom-out the focus of camera in windows 8.1 phone app.
Foe zooming a camera we use a buit-in ZoomControl class inside the MediaCapture which controls the zooming of the camera.
For the zo
In Laravel 4.x we have many predefined function which will help us to solve basic requirement. For getting the current URL inside @if statement (blade) in Laravel 4? are very easy.Syntax and Example for getting the current URL is:
Syntax: The synt
Hello!
To call a shortcode via AJAX in WordPress, first we required a shortcode, so to create a shortcode in wordpress, we are going to use wordpress built-in shortcode API to create shortcode
// Create shortcode
The shortcode API call to register
Hello Reader's!
If you want to to encode an image with base64 then by using PHP you can do such. You can use the code as below:-
This method is very simple and commonly used:
function getDataURI($imagePath) {
$finfo = new finfo(FILEINFO_MIME_T
Hello readers, today I guide you "to import jQuery in Joomla"
This can be a rule which we all utilize to guarantee that only 1 content involving jQuery can be imported. The idea merely tests to see in the event jQuery is already been imported and i
In openerp first install the resource module and inherit the object of resource.calendar and If no calendar is provided, just return the previous day and day of a resource.calendar. If calendar resource is no given simply remove one day from the subm
If you want to getting current time instant from a seconds since the epoch floating-point value into a time-tuple, pass the floating-point value to a function .For example you can see below code.
#!/siva/bin/python
import time;
localtime =
Sometimes, we may need to scrap data from a website (It could be any live website, For Ex: https://www.amazon.com).
There are 3 steps involved while scrapping a website:-
1- Getting the HTML content of a website's page.
2- Parsi
When you design software or web pages, you need to deal with a variety of formats and languages. And many programming languages and language frameworks are used to make your work efficient and responsive.
Most of the time, you must convert o
