May 2012

Broadcast Receiver: Two ways to implement part-2

Read Time < 1 minute In the previous tutorial, we discussed how to implement/register broadcast receiver inside an activity. Broadcast receiver is a standalone application component which means it will continue running even when other application component are not running. That’s why we unregister broadcast receiver in onPause on the activity.Second way of using broadcast receiver is to register it …

Broadcast Receiver: Two ways to implement part-2 Read More »

Broadcast Receiver: Two ways to implement part-1

Read Time 2 minutes I got confused while learning about the broadcast receiver after browsing around the web. Some people register it inside activities while other register it in manifest. The purpose of this tutorial is to explain both ways and the use-cases when to use which implementation. Broadcast receiver is an application component like activity and service. Its …

Broadcast Receiver: Two ways to implement part-1 Read More »

A complete Contentprovider

Read Time 6 minutes MyContentProvider Much have been written about contentproviders and there are various tutorials and examples available. I walk through many of those tutorials during my learning of custom contentprovider. However none of those tutorial gave me complete and clean implementation details.Aim of this post is to show you a complete [all necessary function implementation] and clean …

A complete Contentprovider Read More »

https:// what it is ?

Read Time 2 minutes Https is way of securing http(web) traffic. There are many versions of establishing encrypted http connection but we will discuss here only the simplest one, used by most of the web sites running on https. Examples of these can by encrypted.google.com , gmail.com etc. Whenever there is an https (encrypted connection) you will notice https:// …

https:// what it is ? Read More »