Friday 25 July 2014

PopupMenu in Android API 8+

Popup menu is available from API 11. If we want to use it in API 9 we have to use android-support-v7-appcompat library.

Make HTTPS / HTTP Request in Android


In this tutorial we will learn how to make HTTP and HTTPS Request. For HTTPS Request we must have signed Certificate. Here I will show the demo of HTTPS but you can use this code for HTTP also.

Sunday 20 July 2014

Music Player with Notification and Lock Screen Controls


In this tutorial we will learn how to make a simple music player with play, pause, next, previous controls with controlling music from notification and Lock-screen. Audio files present in SD card will be played.

Sunday 6 July 2014

Build all types of Notifications in Android


The notification system allows your app to keep the user informed about events, such as new chat message, playing song. Think of notifications as a news channel that alerts the user to important events as they happen while user is not paying attention.

Wednesday 2 July 2014

Make your own Crash Reporter


Whenever app crashes it's better to get the information about the crash, so that we can fix it and give user better experience. After googling and taking reference I write down the below code.