Local broadcast events with LocalBroadcastManager in Android

By | March 2, 2016

LocalBroadcastManager is Helper to register for and send broadcasts of Intents to local objects within your process. This is has a number of advantages over sending global broadcasts with sendBroadcast(Intent): You know that the data you are broadcasting won’t leave your app, so don’t need to worry about leaking private data. It is not possible… Read More »

Swipe Refresh ListView using ListFragment and SwipeRefreshListFragment in Android

By | February 29, 2016

This demo shows How to use Swipe to Refresh in ListViews and ListViewFragments. You can download the complete Android Studio Source Code at the end of the Post. 1. Using ListFragment 2. Using SwipeRefreshListFragment You can download the complete Android Studio Source Code from here. You can send your valuable comments @coderzheaven@gmail.com.

Contacts Demo in Swift 2 – Showing Contacts Picker, Load Contacts in Custom TableView, Add New Contact, Update Contact, Delete Contact, Search Contact

By | February 21, 2016

In Today’s post I will show you How to do below things in Swift 2… 1. Show Contact Picker using System In-Built UI & Pick a Contact 2. Load all Contacts in a TableView 3. Search a Contact 4. Add a New Contact 5. Update a Contact 6. Delete a Contact Before using the contacts… Read More »

SnackBar and Floating Button Demo in Android

By | January 21, 2017

Snackbar is a UI element used for user feedback, just like a Toast except they provide action to interact with. Snackbar will be displayed at the bottom of the screen and can be swiped off in order to dismiss them. Floating Button sits on the top of your layout and provides a way for a… Read More »

Adding Notifications, Reading Notifications, Getting number of notifications in Android M.

By | March 21, 2016

This demo will show how to 1. Create and add a new Notification, 2. How many notifications are active in the current Application? 3. Delegate method for Notification Deletion. For Adding a Notification we can use the following snippet. For reading the number of currently Active notifications we can use To know when a Notification… Read More »

Uploading Image to Server – Android Eclipse Version.

By | January 15, 2017

Hi all, In today’s tutorial I will show you how to send an image to server using POST method in ANDROID. If you are working in Android studio, then checkout the article here. Uploading an image to server is a basic requirement in many of our application. Sending data to server which is using a… Read More »

Missing iOS Distribution signing identity for … Xcode can request one for you/This Certificate has an Invalid Issuer – iOS Issue Solved

By | February 25, 2016

To Solve this 1. Download https://developer.apple.com/certificationauthority/AppleWWDRCA.cer 2. Double-click to install to Keychain. 3. Then in Keychain, Select View -> “Show Expired Certificates” in Keychain app. 4. It will list all the expired certifcates. 5. Delete “Apple Worldwide Developer Relations Certificate Authority certificates” from “login” tab 6. And also delete it from “System” tab. 7. Now… Read More »

MapKit Demo Swift – Annotation, Custom Annotation, Custom Annotation with Button, Search, Showing Directions – Apple Maps iOS

By | February 14, 2016

Hi all, In this Demo I will show How to implement Apple ‘s MapKit on iOS. This demo will show following this. 1. Show Annotation in Maps. 2. Show Custom Annotation in Maps. 3. Show Custom Annotation with Custom Button in Maps. 4. Pin Point to location from Search. 5. Showing Route/Direction between two location… Read More »

Google Maps – iOS, Location tracking, Custom Markers, Multiple Markers StreetView, CameraView, IndoorView, Showing Route in Maps etc…

By | February 14, 2016

You know for using Google Maps,we need an API Key. You can check Google Maps for Android here… So for that we need to register in Google Developer Console.     Once you get your API Key. we can start with Integrating Google Maps in our app. I am going to show how we can… Read More »

CardView Demo in Android L

By | February 11, 2016

Here is a simple CardView Demo in Android. This demo shows how you can apply Corner radius and Shadow in Android L. Here is the Activity. This is the Fragment that adds the CardView. The Layout for the Activity. Fragment for placing CardView. You can download the complete Android Studio Source Code from here..  

Custom Transitions in ANDROID.

By | February 9, 2016

Here we are going to create custom transitions for a fragment. We will create transitions using Java classes by extending the Transition Class in Android. ChangeColor.java is the java class that extends transition. ChangeColor.java CustomTransitionFragment is the Fragment to which we are going to apply the transition. The MainActivity that adds the fragment. Download the… Read More »

Display Route between two places in Google Maps V2

By | February 14, 2016

Hi all… Yet another post on Google Maps.. In this demo I will show you how to show a route between two places in Google Maps V2.     Hope you have gone through my previous posts before. If not please check here. You need to set up Maps Correctly for it to load. Lets… Read More »

Create Custom Notification in Android.

By | January 31, 2016

This demo explains how you can create a Custom Notification in Android old and New versions. The notification appears expanded in Versions > 16. Let’s jump into the code… Below is the MainActivity that creates the notification. You can download the complete Android Studio Source Code from here.. Send your comments to coderzheaven@gmail.com

ActionBarActivity deprecated..

By | January 28, 2016

ActionBarActivity is now deprecated.. Check out what Google says about using AppCombat. The AppCompat Support Library started with humble, but important beginnings: a single consistent Action Bar for all API 7 and higher devices. In revision 21, it took on new responsibility: bringing material color palette, widget tinting, Toolbar support, and more to all API… Read More »

How will you create a static library in iOS?

By | September 27, 2015

What is a Static library? A static library or statically-linked library is a set of routines, external functions and variables which are resolved in a caller at compile-time and copied into a target application by a compiler, linker, or binder, producing an object file and a stand-alone executable. This executable and the process of compiling… Read More »

Starting with Material Design in Android – Volume 1

By | September 19, 2015

1. To create apps with material design: Review the material design specification. Apply the material theme to your app. Create your layouts following material design guidelines. Specify the elevation of your views to cast shadows. Use system widgets for lists and cards. Customize the animations in your app. 2. Apply the Material Theme To apply… Read More »

Show Download Progress in NotificationBar in Android with Notification Event Listeners

By | August 30, 2015

Below Sample code shows you how to download images from a url with progress in the notification bar. “NLService” Class is the actual Notification Listener class that can hear events in your notification. But before everything you need to be sure that, you have enabled notification access for your app. Make sure you add the… Read More »

NSNotificationCenter Example in Swift

By | July 15, 2015

Here is a simple demo on how to use “NSNotificationCenter” in swift. NSNotificationCenter is particularly useful when there are multiple class or struct instances that need to take action based on something that happens elsewhere in your application. To Register the notification… we will call Now to trigger the notification… The “notificationKey” should be unique… Read More »

Simple Core Data tutorial in iOS

By | July 15, 2015

In this tutorial we will be making a simple application to save a person details using Core Data. Here we will have two models or it can be said as Database tables – Model1 and Model2. Below are the basic things about Core Data… Core Data Stack The key objects of the stack are the… Read More »