androidhive 2016-05-24T12:07:18Z http://www.androidhive.info/feed/atom/ Ravi Tamada <![CDATA[Android working with Card View and Recycler View]]> http://www.androidhive.info/?p=39477 2016-05-24T12:07:18Z 2016-05-23T11:06:29Z CardView is another major element introduced in Material Design. Using CardView you can represent the information in a card manner with a drop shadow (elevation) and corner radius which looks consistent across the platform. CardView extends the FrameLayout and it is supported way back to Android 2.x. You can achieve good looking UI when CardView is combined with RecyclerView. In this article we are going to learn how to integrate CardView with RecyclerView by creating a beautiful music app that displays music albums with a cover image and title. DOWNLOAD CODEDOWNLOAD .APK VIDEO DEMO How to Add CardView? To use

The post Android working with Card View and Recycler View appeared first on androidhive.

]]>
Ravi Tamada <![CDATA[Android Working with Realm Database – Replacing SQLite & Core Data]]> http://www.androidhive.info/?p=39443 2016-05-15T06:25:35Z 2016-05-15T06:25:35Z We all know the good old SQLite when times are asking for an internal storage. But times are changing and here it comes Realm which is on a great way to replace SQLite. Note: The Realm version for this demo is 0.82.1, as a more stable version. The latest version at the moment is 0.90.0. For further info check https://realm.io/docs/java/latest/ DOWNLOAD CODEDOWNLOAD .APK VIDEO DEMO What is Realm? Realm is a mobile database and a replacement for SQLite. Although is an OO database it has some differences with other databases. Realm is not using SQLite as it’s engine. Instead it

The post Android Working with Realm Database – Replacing SQLite & Core Data appeared first on androidhive.

]]>
Ravi Tamada <![CDATA[Android How to Build Intro Slider for your App]]> http://www.androidhive.info/?p=39378 2016-05-10T14:49:33Z 2016-05-10T14:49:33Z Adding Welcome / Intro screens in your app is a great way of showcasing the major features of the app. Previously I explained about adding a static Splash Screen to your app. In this article we are going to learn how to add an intro slider to your app where user can swipe through few slides before getting into app. To demonstrate, I am creating a simple app that contains few intro slides with next and skip navigation. The user can navigate through each slide using swipe gesture or using the next button. I’ll also explain how to show the

The post Android How to Build Intro Slider for your App appeared first on androidhive.

]]>
Ravi Tamada <![CDATA[Android Working with Retrofit HTTP Library]]> http://www.androidhive.info/?p=39334 2016-05-08T07:41:22Z 2016-05-08T07:41:22Z We have used Volley as networking library in lot of my articles. Today we are going to look at another awesome library Retrofit to make the http calls. Retrofit is denitely the better alternative to volley in terms of ease of use, performance, extensibility and other things. It is a type-­safe REST client for Android built by Square. Using this tool android developer can make all network stuff much more easier. As an example, we are going to download some json and show it in RecyclerView as a list. DOWNLOAD CODEDOWNLOAD .APK VIDEO DEMO Here is the final app we

The post Android Working with Retrofit HTTP Library appeared first on androidhive.

]]>
Ravi Tamada <![CDATA[Android Glide Image Library – Building Image Gallery App]]> http://www.androidhive.info/?p=39206 2016-04-21T07:49:44Z 2016-04-20T18:54:15Z Loading an image from internet is pretty easier using Volley library. But here is a much better solution than volley i.e Glide image library. When compared to volley, Glide wins in lot of scenarios in terms of performance and usability. Below are the advantages of Glide over volley > Supports fetching, decoding, and displaying video stills, images, and animated GIFs > Placeholder can be added before the loading the media > Loads thumbnail (blurred) first and then loads the high resolution image like in WhatsApp or Facebook. > Crossfading effects between the media > Supports image arbitrary transformations like loading

The post Android Glide Image Library – Building Image Gallery App appeared first on androidhive.

]]>
Ravi Tamada <![CDATA[Android How to Integrate Google AdMob in your App]]> http://www.androidhive.info/?p=39138 2016-02-18T04:17:10Z 2016-02-18T04:12:43Z AdMob is a multi platform mobile ad network that allows you to monetize your android app. By integrating AdMob you can start earning right away. It is very useful particularly when you are publishing a free app and want to earn some money from it. Integrating AdMob is such an easy task that it takes not more than 5mins. In this article we’ll build a simple app with two screen to show the different types of ads that AdMob supports. DOWNLOAD CODE VIDEO DEMO 1. Type of Ads – Banner and Interstitial AdMob currently support two kinds of ad units.

The post Android How to Integrate Google AdMob in your App appeared first on androidhive.

]]>
Ravi Tamada <![CDATA[Android Building Realtime Chat App using GCM, PHP & MySQL – Part 3]]> http://www.androidhive.info/?p=39056 2016-02-18T04:16:40Z 2016-02-09T07:45:04Z In the 1st & 2nd parts of this article, we have built the server app including the REST API and admin panel. We also covered the initializing a project with gcm integrated with few primary tests. This part covers a realtime scenario of GCM usage by providing a crucial information like performing dynamic actions like updating UI depending on type of the notification. The actions like incrementing the message counter in the list, automatically appearing the messages in chat thread is explained. DOWNLOAD CODE LIVE DEMO VIDEO DEMO Building Realtime Chat App The chat app mainly contains three screens. First

The post Android Building Realtime Chat App using GCM, PHP & MySQL – Part 3 appeared first on androidhive.

]]>
Ravi Tamada <![CDATA[Android Building Realtime Chat App using GCM, PHP & MySQL – Part 2]]> http://www.androidhive.info/?p=39001 2016-02-12T05:27:20Z 2016-02-09T07:31:06Z The 1st Part covers the server side implementation of the app i.e building the REST API and the server app. In this part we’ll integrate the GCM in your new / existing android app. In the 3rd part the final chat app modules will be integrated. This article also provides you a test interface where you can test any of your gcm apps by sending a sample push notification message. DOWNLOAD CODE LIVE DEMO VIDEO DEMO I am also posting the project structure of the Android Project to get a clear picture file structure needed to build the final app.

The post Android Building Realtime Chat App using GCM, PHP & MySQL – Part 2 appeared first on androidhive.

]]>
Ravi Tamada <![CDATA[Android Building Realtime Chat App using GCM, PHP & MySQL – Part 1]]> http://www.androidhive.info/?p=38919 2016-03-02T17:06:13Z 2016-02-09T07:17:48Z Google Cloud Messaging allows you send lightweight messages from the backend server to all the devices whenever there is new data available. This saves lot of user’s battery by avoiding poll request to server for new data. Using GCM you can build powerful multi platform (iOS, Android & Web) apps like real time chat, news feed, cloud storage and lot more. On top of everything, GCM is completely free and there are no limitations. As parse.com announced their shutdown recently, GCM is the only best option even though it won’t comes with an admin interface. But don’t worry, we’ll build

The post Android Building Realtime Chat App using GCM, PHP & MySQL – Part 1 appeared first on androidhive.

]]>
Ravi Tamada <![CDATA[Live a Better Life with Air Smart Home Automation Kit]]> http://www.androidhive.info/?p=38902 2016-01-25T08:09:29Z 2016-01-25T08:00:16Z How often do you leave your home without switching the fans and lights off and only find it out when you return? Wouldn’t it be awesome if you are able to control your home appliances using your smartphone, regardless of how distant you’re from your home? If you are thinking such a technology exists, it is time to install Air at your home and bring an intelligent automation to your home. Well, Air is a brand-new product from Leaf Technologies — a promising start-up from Mumbai — wants to redefine your concept of home automation, by adding the flavour of

The post Live a Better Life with Air Smart Home Automation Kit appeared first on androidhive.

]]>