
Search In
To shuffle(randomize) an array in javascript, there is an algorithm called Fisher-Yates devised and Don Knuth popularized algorithm.
Below is the code for using it:-
Arr.prototype.shuffle = function() {
var input = this;
for (var i = input
Mobile Testing: Testing is the core features of the mobile like Call, message, notification, audio features etc.
Mobile application testing is a process for its functionality, usability and consistency by which application software developed for han
How to make a progress bar in Unity3D Game
Calling LoadLevelAsync like TheDarkVoid suggested will start the loading process. You could put it in a coroutine so other parts of the game can keep running. It returns an AsyncOperation.
Example:
var s
Consider you have two arrays like the below:
1) $arr1 = Array
(
[0] => 2
[1] => 2
[2] => 2
[3] => 3
[4] => 3
)
2) $arr2 = Array
(
[0] => 28
[1] => 48
[2] => 21
[3] => 160
[4] =
Note- Facebook provides 25 latest message conversation.
To get Facebook chat messages in Android, following steps are used:
Define the 'read_mailbox' property as below:
private static final List PERMISSIONS = Arrays.asList("read_mailbox");
Write
To drag and drop a movie clip we use two function:
1.startDrag()
2.stopDrag().
startDrag(): is used to drag a specified movieClip. MovieClip remain draggage until explicitly
stopped by making call to stopDrag().one movieclip is dragged at a time.
Functions of Resource Selection by RMS.
RMS means “Resource Management System”.RMS plays an important role in the resource Selection Process. This is a very important resource selection process by resource management system through matching finger
We have a feature called TextToSpeech and is available for Android 1.6 and higher. Usind TTS we can build an app that speaks the text of various languages.
Below are the steps to do so:
Simply create an xml layout that includes an input filed wit
In OpenERP we can create many2one and one2many relationships between models very easily by creating many2one and one2many fields. You just need to declare a field in _columns and then using this field normally in the rest programming and views as we
In this tutorial, I'll be making a UI with a start/stop recording button. I am using MediaRecording class to record the audio.
After making the layout, Call the method below on click of the mike button in the respective class:
MediaRecorder recorde
