
Search In
In the previous post HTML5 Audio element and its attributes i have explained about the HTML5 <audio> elements and its attributed. In this blog i will further explained the different methods associated with the audio element.
Methods :
1. loa
Here are some common commands used in selenium IDE
open - it is used to open a page using url.
waitForElementPresent - pause until the specified element present.
verifyTitle/assertTitle- compare the actual title of the page with expected value.
c
One of the building blocks of a cocos2d app is the “scene”.Now,the question arises,What scene is?A scene is specially a node that contains any other nodes visible and is responsible for everything's running on the screen, including ac
Here I have created and example of Touch Listener Image. In this example a image can pull left, right, up and down easily. It can be used to shift your mobile app icon left and right. For this in below code I have used MotionEvent() method. Below exa
An activity represents a single screen with user interface(UI) i.e.,a window with which you interact with your android phone.
It is a pre-defined class in Android and every android application which has a UI must inherit it to create a window.Using a
As we see in many website some text get rotated and other text come in its place this is known as text rotation. It is a very basic thought where we can display more than one word without taking much space by simply rotating an individual word
Hii,
While designing a web page our main motto is to design the web page beautiful and attractive with the help of CSS.
Here is one more option i.e to add a video in the background of a webpage to make it more attractive and beautiful.
Adding video
Hi we know that life cycle methods of a activity are onCreate() - onStart() - onResume() - onPause() - onStop() - onDestroy().
but what will be the transition of these life cycle methods when going from Activity A to B, below is the example to expla
AVPlayer sometimes restarts in the middle of playing a video and i'm not sure why. Also, as soon as the view is loaded it begins to play. I want the user to click play first and then let the player start playing.
Here is my code:
class
Application is in Forefround or background.
Here I write the code to know whether our application is in background or forground.
We use Application.ActivityLifecycleCallbacks interface and know status in onActivityResumed() and onActivityPaused() me