SnackBar Vs Toast

After Material Design was introduced in Android, lot many changes happened to Android UI components. Few of the existing components were enhanced and few new components were introduced for stunning UI experience.

Today we are going to discuss about one such new UI component: ‘SnackBars’ – You might have heard or seen in Apps at the bottom, which is introduced as a quick alternative for Toast.

In this post, following will be discussed:

  1. What is Toast?
  2. What is SnackBar?
  3. Difference between SnackBar and Toast.
  4. Usages of SnackBar and Toast
Read More

Introduction to Android Fragments

Hello readers, It’s been long time posting new tutorial in my Android Tutorial Blog. I was totally occupied with personal work (Marriage and other stuffs) and also recently moved to USA for onsite assignment so I couldn’t engage myself much into blogging.

Going forward, I am planning to publish one or two tutorials every week. Keep watching this space for more interesting Android tutorials and provide your love and support as you gave before.

In this post, we are going to discuss about Android Fragments – A vague and bit tough to understand topic in Android programming world.

I divided Fragment topic into three different posts as given below (Hope this will help you to get to know much about Fragment and its implementation):

Read More

How to Position Toast in Android Application?

In this post, I am going to discuss about how to position toast message in Android applications.

What is Toast?

A toast provides simple feedback about an operation as a simple popup message. It is usually be displayed at the bottom of the Application.

What are we going to develop?

The application which we are going to develop will help you to create toast messages in different positions by altering Gravity and also by taking custom X-offset and Y-offset values.

Read More

How to Receive Simple Data from Other Apps?

In this post, I am going to discuss about receiving simple data from other Android applications installed in your device using Intent.

What is Intent?

Intents are system messages, running around the inside of the device, notifying applications of various events, from hardware state changes (e.g.,an SD card was inserted), to incoming data (e.g., an SMS message arrived),to application events (e.g., your activity was launched from the device’s main menu).

What are we going to develop?

The application which we are going to develop will handle the incoming text or image and display them accordingly.

Read More

How to Send Simple Data to Other Apps?

In this post, I am going to discuss about sending/sharing simple data to other Android applications installed in your device using Intent.

What is Intent?

Intents are system messages, running around the inside of the device, notifying applications of various events, from hardware state changes (e.g.,an SD card was inserted), to incoming data (e.g., an SMS message arrived),to application events (e.g., your activity was launched from the device’s main menu).

What are we going to develop?

The application which we are going to develop will have couple of buttons. You can send text or images to other applications on clicking those button.

Read More
Page 1 of 712345...Last »

Pin It on Pinterest