13 November 2014

Make A Simple Camera App in Android

What we will do? -> We will make an application with a button which when pressed opens a camera. You can take a picture then it is saved in the sdcard. What we need? Eclipse ADT A mobile with a Camera and sdcard Step 1 : Create a new Project by going on File->New->Android Application Project. Step 2 : Give a Name to your Application like CameraApp. Then click on Next...till Finish.   Step 3: Make a...

Published By:
Yatin Kode
on 13.11.14

10 November 2014

Change the Title and icon of a particular page in the action bar

Today we will learn how to change the title in the action bar of a single page. If you have noticed the name of the page in title bar remains as the same name as that of the app. And if you try to change it from the xml layout .Its not possible. What we will do? -> We will make a demo application and change the image and the name(title) of the page from the action bar. What we need ?  An Android Project An image...

Published By:
Yatin Kode
on 10.11.14

29 October 2014

Import a pre-build application code into eclipse

Suppose we want to run a code on a pc which we have made  on another pc . What shall we do ???? What are we going to do ? -> We will run a previously existing android project on eclipse by importing it from any of the location . What we need ? ADT The project folder . Step 1: Find the location of the android project you want to run . Example: Here we will use a pre-existing project named videocamera into eclipse...

Published By:
Yatin Kode
on 29.10.14

2 October 2014

Run app in your mobile directly from Eclipse

You may get bored of the emulator often due to its long time processing.. Why bare it ? You can run the app you developed directly in your android mobile . What you need ? A Phone(Android Smartphone) A USB Cable USB Driver of your mobile (Download it from manufacturer's site) Step 1 : Connect your phone to the pc using the USB Cable. Note that your USB Debugging option from Settings-> Applications->Development...

Published By:
Yatin Kode
on 2.10.14

6 September 2014

Choose a Date in Android by using DatePicker

In this post we will make an application to choose a date and display it using a DatePicker . What are we going to do ? -> We will let the user choose a date from the DatePicker and display a Toast with the Day, Month and Year when the user clicks the OK button . What we need ? A LinearLayout (activity_main.xml) A TextView A DatePicker A Button A java class (MainActivity.java) Step 1 : Design the xml layout in activity_main.xml...

Published By:
Yatin Kode
on 6.9.14

Pages (16)Prev 89101112 Next