Creating Grouped Table Views In Swift

Let’s start creating new project in Xcode. We well start with Single View Application Template. In Xcode go File->New-Project in menu and choose Single View Application template. Fill in Product Name. Then choose where your Xcode project will be stored. Now in ViewController.swift class change base class from UIViewController to UITableViewController. In Main.storyboard remove existing […]

Read More...

Android Lollipop – JobScheduler API

Thanks to google that he has introduced Job Scheduling API in its latest version Android Lollipop. Sometimes we may face the situation where we want to run a particular task later on some specific condition (known as scheduling). We can do this using the JobScheduler APIs provided by Android 5.0 onward now. In this tutorial, I will explain […]

Read More...

Activity And Fragments – How They Communicate

Android developers must know what is activity, what is fragments and why and how to use them. But many of them feel it difficult when it comes to the communication between an activity and a fragment. Today in this tutorial I will be showing you how an activity and a fragment communicates. I got so […]

Read More...

Send Email On Button Click – Without Launching Email Chooser

Sending email in Android is always very easy. We just need to call the email intent and create email chooser and that is it. As soon as you run the app and try to send email you will be asked to select the email application by which you wish to send email such as yahoo, […]

Read More...

AutoScroll TextView With Spinner

AutoScroll TextView can be added to Spinner, ListView or any other component as required or as needed. This tutorial will allow us to scroll text inside a TextView in a spinner. Generally, textview will marque the text only when it is focused. By using the below code, the textview will automatically scroll even without focus […]

Read More...

SlidingPaneLayout Example

In this tutorial, I will explain how to use SlidingPaneLayout. It’s an interesting component which can be used whenever we want a multi-pane horizontal layout in our app. It is divided in two different parts: left side: The master pane which usually contains a list of values. right side: The detail pane which usaully contains […]

Read More...

Customized Toast Messages

Sometimes when you show toast messages in your code you might not want the default length SHORT or LONG to display the toast. Sometimes we need to customize the duration of toast as per our requirements. Today in this example I will show how to customize Toast to display it for longer duration, by using […]

Read More...

ScreenCrack Application

Today in this tutorial we will make a small app to have some fun. Can you imagine how you will feel if your mobile screen cracks? Or, How much fun it will be to see your friend’s face when his/her mobile screen cracks while running application you shared with them. Let us create an android […]

Read More...

Recycler And CardView Combined In Android L

RecyclerView and CardView are 2 very important and new features introduced in Android L version (An early version Android Lollipop). The RecyclerView is a more advanced and more flexible version of the ListView. On the other hand CardView is a new component which is not an “upgrade” to any existing component. Today in this tutorial, […]

Read More...

Google Cast Sender App In Android

You must have heard about the chrome cast, a product launched by Google to share your small phone or tablet or laptop screen with TV. Google has sold millions of Chromecasts and Android TV until now. Knowing how to build an app that supports casting should be the dream/aim of every Android developer. Today in […]

Read More...
1 3 4 5 6 7 67