What is Back Stack and Why it’s Important

When you use an App on your Android Device I am sure you press the back button pretty often. Which in turn takes you to the previous Screen.

This happens because of the Back Stack which maintains a history of places you have visited.

Each visit is a transaction. So the back stack essentially keeps an eye on all the transactions. Using the back stack effectively can lead to to a good user experience.

A transaction can be moving from one Activity to another or from one Fragment to another. So if the user wants to go back to the previous Activity or Fragment
the Back Button will enable that action.

How this concept applies to our App we will discover in the next Article.

Read the Android Documentation to explore this further.

Ivan shares his lessons learnt as an Android App Developer

The growing popularity of Android platform inspires many to take up Android App Development. But few persist to become good at developing quality Apps.

Ivan is someone who has been able to do just that. In his blog he shares how each of his App was instrumental to make him better.

For instance he writes that the one App that inspired him was a two-hour project.

Originally developed to make me a millionaire, once 1,428,571 users purchased the app as Google takes 30 cents out of every dollar, The Dollar App was made to test my merchants account.

Little did I know that years later I will receive an email from a happy mom stating that it was the best dollar that she ever spent since her boy was smiling every time my app gave him a hug.

Like wise every App he created has a Story to tell. His tips and advice is quite valuable to anyone who is considering App Development.

You can read the rest of the Article here.

Image Courtesy – Toptal

Learn how Fragments communicate with each other via Activity

Now that you have two Fragments – a ListFragment and a Detail Fragment, its time for you to call the Detail Fragment from ListFragment.

Let’s understand the Fragment Communication concepts.

Continue reading “Learn how Fragments communicate with each other via Activity”

Emerging Technologies which can Solve Big Problems

MIT Technology Review just published 10 technologies which can solve some of the most challenging problems.

From Robots and Rockets to DNA App Store and more. These innovations can not just solve major problems but also create opportunities.

You can read about this exciting stuff here.

Speech Technology is set to make your Smartphone easy to use, thanks to Baidu

Advances being made by Baidu can make it easier to communicate with the machines around us.

Baidu is making advances in speech technology and is making voice interfaces more practical and useful, as reported by MIT Technology Review.

Imagine being able to perform day to day tasks on your Smartphone using your Voice. That can become a reality.

Baidu is making particularly impressive progress, especially with the accuracy of its voice recognition, and it has the scale to advance conversational interfaces even further.
The current players include the likes of Apple, Google and Microsoft.

Read the rest of this exciting article here.

Create a new App to understand Fragment Concepts – Part 3

Continuing from the last Article where you created a ListFragment, you are going to create a blank Fragment now.

The purpose of this Fragment will be to display the Employee Details, when a user will click on an Employee.

The Fragment will appear next to the ListFragment for now. So go ahead, watch the video and try it out.

Source Code : https://github.com/ankur-srivastava/EmployeeApp/tree/master/app/src/main

Create a new App to understand Fragment Concepts – Part 2

In Part 1 you created a new App from Scratch. Now its time to create two things

  1. ListFragment : To display List of Data.
  2. Employee Class : Which will provide us the data to be displayed.

Follow along the video to do this.

Source Code for the changes are available here