Android Staggered and Horizontal RecyclerView

In my earlier tutorials of RecyclerView we had learn how to use RecyclerView to create ListView and GridView items. Today we are going to create Staggered GridView and Horizontal RecyclerView. Staggered GridView Staggered GridView is nothing but GridView with random grid sizes that look nice in app. To achieve this we need  StaggeredGridLayoutManager and the syntax […]

read more

Android StartActivityForResult

In Android we can pass data from one activity to another via Intent using startActivity(). The syntax for this is shown below :

Similarly we can get data from our other activity that is opened by an activity like SecondActivity from MainActivity and we need some message from SecondActivity back again to MainActivity so for this […]

read more

Android Image Slider Using ViewPager

You have seen many Android apps with sliding images with circle page indicator at top. Today we are going to learn the same thing for our app. Before proceeding we need a superb library called ViewPagerIndicator-Library that we can get from Github created by JakeWhartom. Just download it and import the library into your project. […]

read more

Android Swipe Gesture

The Android SDK supports a variety of gestures you can detect, allowing you to tailor the ways in which users interact with your applications. In this tutorial, we will look at the framework that allows developers to add gesture detection to a simple application, working through the process of supporting the fling gesture and outlining […]

read more

Android Text To Speech

Android allows you convert your Text into Voice. Not only you can convert it but it also allows you to speak text in variety of different languages. Android provides TextToSpeech class for this purpose. In order to use this class, you can implement TextToSpeech.OnInitListener this listener to your class and it will automatically add the below method to your […]

read more

Android Gallery Image Picker

Android supports seamless integration of applications and content providers. Lot many things are handy provided to developers, which helps in reducing the code and consumes less time to integrate different features to app. For example, if we have an application that allow user to change his profile picture. In this requirement user will be welling […]

read more