23 January 2015

Installing Phonegap for Android without command-line

PhoneGap is used to make Android,iOS,Windows etc. Apps using html or css. We will learn to install PhoneGap in adt-bundle to develop android app using html, javascript and css. What will we do? We will make PhoneGap application in adt-bundle. What we will need? Java jdk adt-bundle for windows. Apache Ant PhoneGap 2.2.0 Step 1: Download Java jdk from here .If you already have it no need to re-install. Step 2 : Download...

Published By:
Yatin Kode
on 23.1.15

20 January 2015

Zoom Controls for Android

What we will do ? -> We will choose an image and apply zoom-in and zoom-out function on it. What we will need? ImageView(with Image) Zoom Controls Java Code in MainActivity.java Step 1: Create a new Project by clicking on File->New->Android Application Project. Step 2 : Give a name to the application (ZoomDemo) and also a package name(mia).Then click on Next ..Next and then click Finish. Step 3 :...

Published By:
Vijay Mukhiya
on 20.1.15

15 January 2015

ScrollView-Large number of items in single page.

What if you have to fit a large story in a page or fit 20-30 buttons, check-boxes in a page? Use a ScrollView to fit it there. What we will do? -> We will prepare an application with a page with lot of items and which scrolls down. What we will need? Adding ScrollView in activity_main.xml along with existing items. Others remain same. Step 1 : Create a new Project. Click on File->New_>Android Application Project. Step...

Published By:
Yatin Kode
on 15.1.15

8 January 2015

Use WebView to make Online apps in Android

 What will we do? -> We will make an app which will open google.com directly. What will we need? WebView Changes in MainActivity.java Changes in AndroidManifest.xml Step 1 : Create a New Android Application by clicking on File->New->Android Application Project. Step 2 : Give a name to your Application(WebDemo) and a suitable package name of your choice. Then Click on Next...till Finish. Step 3 : Drag...

Published By:
Yatin Kode
on 8.1.15

1 January 2015

RadioButton with RadioGroup in Android

Have you ever seen a traffic signal. Its color changes(red, yellow, green) in few seconds one by one. It takes only one color at a time if its working properly. What we will do? -> We will make a mini traffic signal in our phone with using radio buttons. Right now we are not concentrating on the timing of the color change. What we need? A LinearLayout. 3 RadioButtons  Step 1 : Create a New Android Application...

Published By:
Yatin Kode
on 1.1.15

Pages (16)Prev 678910 Next