Category Archives: Android

firebase-messaging

Firebase Push Notification Implementation in Android and App Server

Introduction I am going to introduce FCM (Firebase Cloud Messaging) implementation in Android app as well as in server side. FCM is a new, improved version of the Google Cloud Messaging (GCM). It has all the features of GCM as well as some additional features. Android side Implementation (Part 1 – Registration of app) 1 . Add Continue Reading »

InnovationM - ScalingAnimationInAction

Scale Animation in Android – How it Works?

Scale Animation – Introduction Scale Animation is basically to increase or decrease the size of the View. There is a class ScaleAnimation. We need to create instance of ScaleAnimation (Can be done in XML also) to do the work. One of the main constructor of this class is: public ScaleAnimation( float fromX, float toX, float Continue Reading »

Multiple AsyncTask In Android

What is AsyncTask AsyncTask is an abstract Android class which helps the Android applications to perform tasks without blocking the UI Thread. AsyncTask is designed to be a helper class around Thread and Handler. Thread Pool Pattern AsyncTask uses a thread pool pattern for running the stuff from doInBackground() The Thread pool Pattern is where number of Continue Reading »

InnovationM Lazy Loading Memory Management UITableView Android

Lazy Loading and Memory Management of Images in ListView in Android

Introduction to Lazy Loading What is lazy loading? A little introduction of lazy loading is  it is a design pattern to defer the initialization of an object until the point at which it is needed. In simple words create objects when it is needed. Problems to Tackle Before talking about lazy loading of images, I Continue Reading »

InnovationM Android Database Version Code

Android – Database version stored in Database file header

We specify a version of database in SQLiteOpenHelper constructor. Where is this version stored in database? This version is used while upgrading the database to higher versions. It is stored in Database file header as user_version number. See below: Code SQLite Maestro Tool Database header description

Nokia supports Android

New Nokia phones supports Android

Great opportunity for Android developers. Nokia has launched a new Nokia X Software Platform, a customized platform built on the Android Open Source Project (AOSP). The Nokia X family features smartphones powered by Android. The UI resembles Windows Phone — but other parts of the system feel distinctly Android or even Asha-ish. To publish Android Continue Reading »

InnovationM Sharing Concept Facebook

Sharing Concept on Facebook

Facebook provides a great outlet for you to share nearly every aspect of your life with the world if you choose. You can post all sorts of different things, like photos, videos, and more. You can like, comment someone else content and so on.  When you do something then who all can see it and Continue Reading »

InnovationM Secure Webservice Integration Mobile Apps

Secure Web Service integration in Mobile Apps

Web services have gained lot of importance lately. From mobile apps perspective, native apps (Andorid, iOS, Windows Phone, etc.) or HTML5/JS Frameworks like Sencha Touch need to talk to the web services to get the data and push the data. How do we ensure that request sent to web services is from authenticated client? For Continue Reading »

Android UX – Navigation Pattern – Home Screen Navigation

Slider Drawer Pattern In this pattern, small handle or hook is provided on the screen to let the user open. User uses the handle to open a screen. This screen here is the Home Screen that carries navigations points to other places / functionalities in the app. Example – In the screens above, there is a Continue Reading »

Android UX – Data selection pattern – Choose Data from a List

Sliding Effect (Parent partially visible) In this example, operator has to be selected. User taps on the field and the screen moves  / slides to the left to give space to show the list.      Good points: – Parent screen is visible. Very good from UX perspective that user still knows the context where it Continue Reading »

InnovationM Testing Facebook Integration

Testing – Facebook Integration in iOS and Android

Testing – Facebook integration of the app – requires different combinations of situations and cases to be tested. Ex Login to Application using Facebook when Facebook app is installed on the device. In another case, Facebook app is not installed. Let us go through some of them …. iOS – Login Test Scenarios  1. User Continue Reading »

InnovationM Android Out of Memory

Android Out of Memory Error: Causes, Solution and Best practices

Out of Memory (OOM) Error Out of memory error is very common error when you are developing for a application that deals with multiple images sets or large bitmaps or some Animation stuff. In this case we have to be very careful and efficient while handling the images or object allocation and deallocation. OOM error Continue Reading »

Handle Android Fragmentation while developing Apps (Role of UI Designer)

Fragmentation in Android can be broadly attributed to following 4 factors: Android OS Versions Devices with different densities (ppi) Devices with different form factors / screen sizes Customization done by OEM (Original Equipment Manufacturer)   Developing applications is a team work and there are key roles that help in containing fragmentation while developing apps. These Continue Reading »