Thursday , November 21 2024

Android

Learn the basics of Android and Java programming. This class is designed for students who are new to programming and want to build Android apps.

How To Make Circular Imageview In Android

In this tutorial we are going to learn to make circular ImageView in android. The default ImageView in android is rectangle so there are situations where we will like to create a circular ImageView in android. In this tutorial we will create a custom class to round a Imageview. And you …

Read More »

Context Menu In Android

This tutorial explains about creating Context menu in Android.A context menu provides actions that affect a specific item or context frame in the UI. Context Menu appears when user long press on a View like ListView, GridView etc.It doesn’t support item shortcuts and icons. Android Context Menu Example activity_main.xml Drag …

Read More »

Android RecycleView Example

Google’s upcoming operating system named Android L looks very promising. It is highly focused on rich user experience and what they called it as material design. In this example we will take a look at the new UI widget called RecyclerView. RecyclerView is more advanced and flexible and efficient version …

Read More »

Android Downloading File by Showing Progress Bar

When our application does a task that takes a considerable amount of time, it is common sense to show the progress of the task to the user. This is a good User Experience practice. In this tutorial i will be discussing the implementation of a process-progress dialog. As an example, …

Read More »

Android Simple Graphics Example

The android.graphics.Canvas can be used to draw graphics in android. It provides methods to draw oval, rectangle, picture, text, line etc. The android.graphics.Paint class is used with canvas to draw objects. It holds the information of color and style. In this example, we are going to display 2D graphics in …

Read More »

Android Screen Orientation Example

The screenOrientation is the attribute of activity element. The orientation of android activity can be portrait, landscape, sensor, unspecified etc. You need to define it in the AndroidManifest.xml file. For example: <activity android:name="com.example.screenorientation.MainActivity" android:label="@string/app_name" android:screenOrientation="landscape" > The common values for screenOrientation attribute are as follows: Value Description unspecified It is …

Read More »

Android Camera Tutorial

Camera is mainly used to capture picture and video. We can control the camera by using methods of camera api. Android provides the facility to work on camera by 2 ways: 1) By Camera Intent 2) By Camera API Understanding basic classes of Camera Intent and API There are mainly …

Read More »

Android Analog clock and Digital clock example

The android.widget.AnalogClock and android.widget.DigitalClock classes provides the functionality to display analog and digital clocks. Android analog and digital clocks are used to show time in android application. Android AnalogClock is the subclass of View class.Android DigitalClock is the subclass of TextView class. Since Android API level 17, it is deprecated. …

Read More »

Android Custom Fonts Tutorial

In android, you can define your own custom fonts for the strings in your application. You just need to download the required font from the internet, and then place it in assets/fonts folder. After putting fonts in the assets folder under fonts folder, you can access it in your java …

Read More »

Android Speech To Text Tutorial

Android comes with an inbuilt feature speech to text through which you can provide speech input to your app. With this you can add some of the cool features to your app like adding voice navigation(Helpful when you are targeting disabled people), filling a form with voice input etc., In …

Read More »