31 March 2015

Code for MediaController with VideoView in Android

What we will make ? We will play a video with MediaController . What we will need ? VideoView in activity_main.xml Adding Code with MediaController in MainActivity.java Step 1 : Create a New Android Application . Go to File->New->Android Application Project. Step 2 : Give a name to your App (MediaControllerDemo) and a package name (mia) as shown below. Click Next continuously then click Finish. Step...

Published By:
Unknown
on 31.3.15

24 March 2015

Simple VideoView tutorial in Android

What we will do ? -> We will make an app which has a VideoView and Buttons to play and stop the video. What we will need ? VideoView and Buttons in activity_main.xml Code Additions in MainActivity.java Step 1 : Create a New Application Project. Go to File->New->Android Application Project. Step 2 : Give a name (VideoDemo) to your Application and a suitable package name (mia). Then click on Next continuously,...

Published By:
Unknown
on 24.3.15

23 March 2015

Star Rating in Android

What we will do ? -> We will create an application with five stars. As we select stars we will get the numbers associated with it. What we will need ? LinearLayout and Rating Bar in activity_main.xml Additions in MainActivity.java Step 1 : Create a new Application. Go to File->New->Android Application Project. Step 2 : Give a Name(RatingDemo) and a package name(mia) to your Application. Click Next continuously...

Published By:
Unknown
on 23.3.15

10 February 2015

Pinch Zoom tutorial in Android

What we will do? -> We will make an app with an image which when pinched, gets zoomed. What we will need? Changes in activity_main.xml An image (here we will use the default image in the project i.e. ic_launcher) Adding code in MainActivity.java Step 1 : Create a New Android Project by clicking on File->New->Android Application Project. Step 2 : Give a name(PinchZoom) and package name(mia) to your application....

Published By:
Yatin Kode
on 10.2.15

29 January 2015

Creating Phonegap Application

Let us start from the point we ended making our path variables. We downloaded the phonegap 2.2.0 folder for the website. Step 1 : Open the phonegap folder inside it go to lib->android->bin and copy the link. Step 2 : Open Command prompt and go to the copied link by typing the command below . Since I have my phonegap folder on my Desktop my link would be. cd C:\Users\Surendra\Desktop\phonegap-phonegap-8a3aa47\lib\android\bin Then...

Published By:
Unknown
on 29.1.15

Pages (16)Prev 56789 Next