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.

Saturday, 28 June 2014

Copy Database Into SD Card From Android Application


In my last Database(Tutorial 1) I described you how to insert thousands of data in database. In emulator you can easily fetch the database with the help of DDMS, but from actual device you can't fetch database from DDMS. So with reference to my last Database(Tutorial 1) tutorial I will show you how to copy Database into SD Card in actual device.

Sunday, 22 June 2014

SQLITE DATABASE- INSERT THOUSANDS OF DATA IN SECONDS (Tutorial 1)


Inserting a single data in database is easy, but when we have 1000's of data to be inserted it takes lot of time , because we are calling 1000's of sql queries. So in this tutorial I will show you how you can insert large data in seconds.