Category Archives: Android

Design Pattern – Database Transaction Handling (in Android)

This blog is about database transaction handling and its design pattern in android. It also gives a brief knowledge on how to handle Exception. Here we have a main method which is responsible to get  database instance  -> start Database Transaction  ->  Mark Transaction Successful   ->  Commit or Rollback Transaction  ->  Close database. This main Continue Reading »

Version Control of Android Studio Project via SVN

Apache Subversion (SVN) SVN stands for Apache Subversion, a software versioning and revision control system distributed as open source under the Apache License. In order to demonstrate the process of adding an Android Studio project into SVN,  let’s first create a new project in Android Studio and name it HelloWorldProject. The project structure looks like this Continue Reading »

Reducing Size of Bitmap

Reducing Size of Bitmap Introduction- Images come in all shapes and sizes. In many cases they are larger than required size for a typical application user interface. For example, the system Gallery application displays photos taken using your Android devices’s camera which are typically much higher resolution than the screen density of your device. So Continue Reading »

All About SQLite

  What is SQLite? SQLite is an open source, zero-configuration, self-contained, stand-alone, transaction relational database engine designed to be embedded in an application. SQLite is an embedded relational database management system used in the mobile applications. SQLite is different from other SQL databases because unlike most other SQL databases, SQLite does not have a separate server Continue Reading »

SOLID: Interface Segregation Principle

Interface Segregation Principle Previous Principle: Liskov’s Substitution Principle A client should never be forced to implement an interface that it doesn’t use or clients shouldn’t be forced to depend on methods they do not use. In OOD we provide abstraction to module using interfaces, so we create an interface for a module and an implementation class. Continue Reading »

SOLID: Open Close Principle

Open Close Principle If you have not read Single Responsibility Principle Start from here Single Responsibility Principle Classes should be open for extension, but closed for modification This principle states that any new functionality can be added in a system with minimum modification in the current code. Means the system should be open to additions but it should Continue Reading »

SOLID: Single Responsibility Principle

Object Oriented Design Principles A good design is most important step of Software Development life cycle, and to have a good design we must follow some set of guidelines. According to Robert Martin in “Agile Software Development: Principles, Patterns, and Practices” there are 3 main reasons of bad design that should be avoided: Rigidity – System 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 »

65k-Method-limit

Android 65K method limit

It cyber monday ugg boots critical to UGG Black Friday are uggs black friday 2015 aware uggs Black Friday that uggs cyber monday 2015 all legitimate uggs cyber monday deals sources black friday uggs will ugg black friday sale give uggs black friday 2015 you http://www.lillybunn.com/product1.html a uggs cyber monday 2015 cash. Cyber Monday They Continue Reading »

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 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 »

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 »

Multiple Profiles In Android

Multiple User Profiles in Android

What is this offering from Android? One Tablet used by multiple users – How can we shield users from seeing each other stuff. Jelly Bean has an answer to it. Just like Windows OS, several user profiles (accounts) can be created on Android from Jelly Bean 4.2  (Tablets only) and onwards versions. This feature abstracts 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 »